/* Reset spacing on NOM Labeling page */
body.nom-labeling-page #container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.nom-labeling-page .nom-labeling-page-wrapper {
    font-family: 'Manrope', sans-serif;
    color: #383838;
    background-color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.nom-labeling-page-wrapper main {
    display: block;
    padding: 0;
    margin: 0;
}

.nom-labeling-page-wrapper {
    --color-darkblue: #0F0D1B;
    --color-blue: #282E69;
    --color-intense-blue: #0A206C;
    --color-orange: #EE885B;
    --color-grey: #3d3c3c;
    --color-yellow: #FAD69F;
}

.nom-labeling-page-wrapper *,
.nom-labeling-page-wrapper *::before,
.nom-labeling-page-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.nom-labeling-page-wrapper .contenedor-cabecera {
    background-color: var(--color-intense-blue);
    background-image: url('../images/nom-labeling/productos-labelling.png');
    max-width: 100%;
}

.nom-labeling-page-wrapper .contenedor-cabecera img {
    max-width: 100%;
}

.nom-labeling-page-wrapper .seccion-hero {
    width: 100%;
    min-height: 520px;
    background-color: #3E59A5;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
}

.nom-labeling-page-wrapper .contenedor-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nom-labeling-page-wrapper .bloque-texto-hero {
    width: 50%;
    max-width: 540px;
    color: #ffffff;
}

.nom-labeling-page-wrapper .titulo-hero {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.nom-labeling-page-wrapper .descripcion-hero {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #ffffff;
    opacity: 0.95;
}

.nom-labeling-page-wrapper .banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 6em;
    margin-right: 0;
    padding-top: 5em;
    padding-right: 0;
    padding-bottom: 0;
    min-height: 300px;
    overflow: hidden;
}

.nom-labeling-page-wrapper .bloque-izquierda {
    flex: 1;
    max-width: 50%;
    padding-right: 20px;
    z-index: 2;
}

.nom-labeling-page-wrapper .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nom-labeling-page-wrapper .section-padding {
    padding: 60px 0;
}

.nom-labeling-page-wrapper .text-center {
    text-align: center;
}

.nom-labeling-page-wrapper .max-width-700 {
    max-width: 700px;
    margin: 0 auto;
}

.nom-labeling-page-wrapper .margin-top-small {
    margin-top: 10px;
}

.nom-labeling-page-wrapper .margin-top-large {
    margin-top: 40px;
}

.nom-labeling-page-wrapper .btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.nom-labeling-page-wrapper .btn-orange {
    background-color: #F08A60;
    color: #ffffff;
}

.nom-labeling-page-wrapper .btn-orange:hover {
    background-color: #e0794f;
}

.nom-labeling-page-wrapper .btn-outline-blue {
    background-color: transparent;
    border: 2px solid #3E59A5;
    color: #3E59A5;
    padding: 10px 26px;
}

.nom-labeling-page-wrapper .btn-outline-blue:hover {
    background-color: #3E59A5;
    color: #ffffff;
}

.nom-labeling-page-wrapper .hero {
    color: #ffffff;
    padding: 80px 0;
    overflow: hidden;
}

.nom-labeling-page-wrapper .hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nom-labeling-page-wrapper .hero-text {
    flex: 1;
    max-width: 550px;
}

.nom-labeling-page-wrapper .hero-text h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.nom-labeling-page-wrapper .nom-hero-title {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nom-labeling-page-wrapper .hero-text p {
    font-size: 16px;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.7;
}

.nom-labeling-page-wrapper .bloque-vacio-hero {
    width: 50%;
}

.nom-labeling-page-wrapper .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nom-labeling-page-wrapper .basket-placeholder {
    width: 100%;
    max-width: 450px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 15px;
    align-content: center;
    justify-content: center;
}

.nom-labeling-page-wrapper .basket-placeholder::after {
    content: "[ Blue Basket & Products Image Visual Area ]";
    position: absolute;
    bottom: 15px;
    font-size: 12px;
    opacity: 0.6;
}

.nom-labeling-page-wrapper .item {
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #383838;
}

.nom-labeling-page-wrapper .process-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    justify-content: space-between;
}

.nom-labeling-page-wrapper .process-img {
    flex: 1;
}

.nom-labeling-page-wrapper .img-wrapper {
    background-color: #f0f0f0;
    border-radius: 8px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
}

.nom-labeling-page-wrapper .img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nom-labeling-page-wrapper .placeholder-tag {
    color: #888;
    font-size: 14px;
    font-weight: 500;
}

.nom-labeling-page-wrapper .process-text {
    flex: 1.2;
}

.nom-labeling-page-wrapper .process-text h2 {
    font-size: 32px;
    color: #3E59A5;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
}

.nom-labeling-page-wrapper .process-text p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #555;
}

.nom-labeling-page-wrapper .services-card {
    flex: 1;
    background-color: #EDF1F5;
    padding: 25px;
    border-radius: 6px;
}

.nom-labeling-page-wrapper .services-card h3 {
    color: #3E59A5;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.nom-labeling-page-wrapper .services-card ul {
    list-style: none;
}

.nom-labeling-page-wrapper .services-card ul li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.4;
    position: relative;
    padding-left: 12px;
}

.nom-labeling-page-wrapper .services-card ul li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #F08A60;
    font-weight: 700;
}

.nom-labeling-page-wrapper .services-card ul li a {
    text-decoration: none;
    color: #3E59A5;
}

.nom-labeling-page-wrapper .services-card ul li a:hover {
    color: #282E69;
}

.nom-labeling-page-wrapper .compliance-section {
    background-color: #EDF1F5;
    text-align: center;
    border-top: 1px solid #edf1f5;
    border-bottom: 1px solid #edf1f5;
}

.nom-labeling-page-wrapper .section-title {
    color: #3E59A5;
    font-size: 32px;
    margin-bottom: 10px;
}

.nom-labeling-page-wrapper .section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.nom-labeling-page-wrapper .lineundertext-left {
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #F08A60;
}

.nom-labeling-page-wrapper .lineundertext-center {
    margin: 1em auto 1em auto;
    width: 50px;
    height: 3px;
    background-color: #F08A60;
}

.nom-labeling-page-wrapper .compliance-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.nom-labeling-page-wrapper .compliance-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #EE885B;
    padding: 35px 25px;
    border-radius: 6px;
    flex: 1;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.nom-labeling-page-wrapper .compliance-card h3 {
    color: #3E59A5;
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.nom-labeling-page-wrapper .compliance-card h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #F08A60;
}

.nom-labeling-page-wrapper .compliance-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.nom-labeling-page-wrapper .timeline-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.nom-labeling-page-wrapper .timeline-img {
    flex: 1;
}

.nom-labeling-page-wrapper .timeline-text {
    flex: 1.2;
}

.nom-labeling-page-wrapper .timeline-text h2 {
    color: #3E59A5;
    font-size: 32px;
    margin-bottom: 20px;
}

.nom-labeling-page-wrapper .timeline-text p {
    font-size: 16px;
    margin-bottom: 1em;
}

.nom-labeling-page-wrapper .timeline-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.nom-labeling-page-wrapper .timeline-item p {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
    color: #383838;
}

.nom-labeling-page-wrapper .timeline-badge {
    padding: 6px 15px;
    margin-left: 2em;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    border-radius: 20px;
    white-space: nowrap;
    max-width: fit-content;
    background-color: #F08A60;
}

.nom-labeling-page-wrapper .days {
    font-weight: bold;
    font-size: 14px;
    font-weight: 500;
    color: #2B2862;
    margin: 0 0 4em 3em;
}

.nom-labeling-page-wrapper .timebox {
    margin-top: 20px;
}

.nom-labeling-page-wrapper .dayscontainer {
    display: flex;
    align-items: flex-start;
    margin-top: 3em;
}

.nom-labeling-page-wrapper .lines {
    margin-left: 40px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nom-labeling-page-wrapper .dot {
    width: 16px;
    height: 16px;
    background: #EE885B;
    border-radius: 50%;
}

.nom-labeling-page-wrapper .line {
    height: 104px;
    width: 3px;
    background: #EE885B;
}

.nom-labeling-page-wrapper .cards {
    margin-left: 12px;
}

.nom-labeling-page-wrapper .card {
    min-width: none;
    margin-bottom: 3em;
}

.nom-labeling-page-wrapper .support-section {
    background-color: #EDF1F5;
    border-top: 1px solid #edf1f5;
}

.nom-labeling-page-wrapper .support-section h2 {
    color: #3E59A5;
    font-size: 32px;
    margin-bottom: 20px;
}

.nom-labeling-page-wrapper .support-section p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

.nom-labeling-page-wrapper .footer-section {
    background-color: #ffffff;
    border-top: 2px solid var(--color-intense-blue);
    padding: 0;
}

.nom-labeling-page-wrapper .footer-container {
    display: flex;
    align-items: stretch;
}

.nom-labeling-page-wrapper .footer-info {
    flex: 1;
    text-align: center;
    align-items: center;
    align-content: center;
    margin: auto;
    padding-top: 4em;
    padding-right: 40px;
    padding-bottom: 60px;
}

.nom-labeling-page-wrapper .footer-info h2 {
    color: var(--color-intense-blue);
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.nom-labeling-page-wrapper .contact-details {
    font-size: 16px;
    color: var(--color-intense-blue);
    line-height: 1.6;
}

.nom-labeling-page-wrapper .contact-details h2 {
    color: var(--color-intense-blue);
}

.nom-labeling-page-wrapper .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
}

.nom-labeling-page-wrapper .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.nom-labeling-page-wrapper .social-icon img {
    width: 32px;
    height: 32px;
    justify-content: center;
}

.nom-labeling-page-wrapper .footer-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.nom-labeling-page-wrapper .footer-form-container {
    flex: 1;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--color-intense-blue);
    color: #ffffff;
    padding: 50px 40px;
}

.nom-labeling-page-wrapper .footer-form-container h3 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}

.nom-labeling-page-wrapper .footer-form-container h3.form-title-white,
.nom-labeling-page-wrapper .form-title-white {
    color: #ffffff;
}

.nom-labeling-page-wrapper .formulario-pie-pagina {
    max-width: 625px;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin-left: auto;
    margin-right: auto;
}

.nom-labeling-page-wrapper .form-group {
    margin-bottom: 20px;
}

.nom-labeling-page-wrapper .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.nom-labeling-page-wrapper .form-group label span.required {
    color: #F08A60;
}

.nom-labeling-page-wrapper .form-group input[type="text"],
.nom-labeling-page-wrapper .form-group input[type="email"],
.nom-labeling-page-wrapper .form-group input[type="tel"],
.nom-labeling-page-wrapper .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #ffffff;
    background-color: var(--color-intense-blue);
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.nom-labeling-page-wrapper .form-group input:focus,
.nom-labeling-page-wrapper .form-group textarea:focus {
    border-color: #F08A60;
}

.nom-labeling-page-wrapper .form-group textarea {
    max-width: 625px;
    min-width: auto;
}

.nom-labeling-page-wrapper .file-drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.4);
    background-color: var(--color-intense-blue);
    color: #ffffff;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
}

.nom-labeling-page-wrapper .file-drop-zone p {
    font-size: 12px;
    margin: 0;
}

.nom-labeling-page-wrapper .select-files-btn {
    background-color: #F08A60;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    margin-left: 5px;
    cursor: pointer;
    display: inline-block;
}

.nom-labeling-page-wrapper .file-limits {
    font-size: 10px !important;
    color: #ccc;
    margin-top: 5px !important;
}

.nom-labeling-page-wrapper .file-drop-zone.drag-active {
    border-color: #F08A60;
    background-color: rgba(240, 138, 96, 0.15);
}

.nom-labeling-page-wrapper .file-preview-container {
    display: none;
    margin-top: 15px;
}

.nom-labeling-page-wrapper .file-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
}

.nom-labeling-page-wrapper .file-preview-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.nom-labeling-page-wrapper .file-preview-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.nom-labeling-page-wrapper .file-preview-info {
    flex: 1;
    min-width: 0;
}

.nom-labeling-page-wrapper .file-preview-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nom-labeling-page-wrapper .file-preview-size {
    font-size: 11px;
    color: #ccc;
    margin: 4px 0 0 0;
}

.nom-labeling-page-wrapper .file-preview-remove {
    width: 28px;
    height: 28px;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.nom-labeling-page-wrapper .file-preview-remove:hover {
    background-color: #F08A60;
}

.nom-labeling-page-wrapper .file-error {
    color: #F08A60;
    font-size: 12px;
    margin-top: 8px;
    margin-bottom: 0;
}

.nom-labeling-page-wrapper .form-message {
    font-size: 13px;
    margin-top: 12px;
    margin-bottom: 0;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.nom-labeling-page-wrapper .form-message.success {
    background-color: rgba(46, 125, 50, 0.15);
    color: #81C784;
}

.nom-labeling-page-wrapper .form-message.error {
    background-color: rgba(198, 40, 40, 0.15);
    color: #EF5350;
}

.nom-labeling-page-wrapper .btn-submit {
    width: 100%;
    background-color: #F08A60;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.nom-labeling-page-wrapper .btn-submit:hover {
    background-color: #e0794f;
}

.nom-labeling-page-wrapper .sub-footer {
    background-color: #ffffff;
    border-top: 1px solid #edf1f5;
    padding: 20px 0;
    font-size: 11px;
    color: #777;
}

.nom-labeling-page-wrapper .sub-footer-container {
    display: flex;
    max-width: 500px;
    font-size: 12px;
    color: var(--color-intense-blue);
    justify-content: space-between;
    padding-top: 2em;
}

.nom-labeling-page-wrapper .sub-footer a {
    color: #777;
    text-decoration: none;
}

@media (max-width: 992px) {
    .nom-labeling-page-wrapper .hero-container,
    .nom-labeling-page-wrapper .process-container,
    .nom-labeling-page-wrapper .compliance-grid,
    .nom-labeling-page-wrapper .timeline-container,
    .nom-labeling-page-wrapper .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .nom-labeling-page-wrapper .bloque-texto-hero {
        width: 55%;
    }
    .nom-labeling-page-wrapper .bloque-vacio-hero {
        width: 45%;
    }

    .nom-labeling-page-wrapper .footer-info {
        padding-right: 0;
    }

    .nom-labeling-page-wrapper .services-card,
    .nom-labeling-page-wrapper .compliance-card {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    body.nom-labeling-page .header-mobile {
        display: block !important;
    }

    .nom-labeling-page-wrapper .navbar {
        display: none;
    }

    .nom-labeling-page-wrapper .nav-menu {
        display: none;
    }

    .nom-labeling-page-wrapper .seccion-hero {
        background-image: linear-gradient(rgba(40, 46, 105, 0.8), rgba(40, 46, 105, 0.8)), url('../images/nom-labeling/productos-labelling.png') !important;
        background-position: center;
        text-align: center;
        padding: 80px 20px;
    }

    .nom-labeling-page-wrapper .contenedor-hero {
        flex-direction: column;
    }

    .nom-labeling-page-wrapper .bloque-texto-hero {
        width: 100%;
        max-width: 100%;
    }

    .nom-labeling-page-wrapper .bloque-vacio-hero {
        display: none;
    }

    .nom-labeling-page-wrapper .titulo-hero {
        font-size: 30px;
    }

    .nom-labeling-page-wrapper .footer-container {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .nom-labeling-page-wrapper .navbar {
        padding: 10px 0;
    }

    .nom-labeling-page-wrapper .header-logo img {
        max-height: 36px;
    }

    .nom-labeling-page-wrapper .hero-text h1,
    .nom-labeling-page-wrapper .nom-hero-title {
        font-size: 28px;
    }

    .nom-labeling-page-wrapper .process-text h2,
    .nom-labeling-page-wrapper .timeline-text h2,
    .nom-labeling-page-wrapper .section-title,
    .nom-labeling-page-wrapper .support-section h2,
    .nom-labeling-page-wrapper .services-card h3,
    .nom-labeling-page-wrapper .footer-info h2 {
        font-size: 32px;
    }

    .nom-labeling-page-wrapper .footer-form-container {
        padding: 40px 20px;
    }

    .nom-labeling-page-wrapper .footer-actions {
        flex-direction: column;
        align-items: center;
    }

    .nom-labeling-page-wrapper .footer-actions .btn {
        width: 100%;
        text-align: center;
    }

    .nom-labeling-page-wrapper .sub-footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
