/*
Theme Name: 247forwarding
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: Tema ligero y compatible con Elementor para 247forwarding.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 247forwarding
Tags: custom
*/

html,
body {
    margin: 0 !important;
    background-color: transparent;
    padding: 0;
    max-width: 100vw;
    overflow-x: hidden;
}

p {
    margin: 0;
}

p:not(:only-child) {
    margin-bottom: 15px;
}

p:not(:only-child):last-child {
    margin-bottom: 0;
}

:root {
    --color-primary: #5E17EB;
    --color-text: #171717;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.elementor-field-option a {
    text-decoration: underline !important;
}

:target {
    scroll-margin-top: 60px;
}

:target::before {
    content: "";
    display: block;
    height: 60px;
    margin-top: -60px;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

.legal-policy {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 64px 80px;
}

.legal-policy .page-title {
    margin-bottom: 32px;
}

@media (min-width: 1025px) {
    .legal-policy {
        padding-top: 200px;
    }
}

@media (max-width: 1024px) {
    .legal-policy {
        padding: 200px 40px 64px;
    }

    .legal-policy .page-title {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .legal-policy {
        padding: 100px 20px 48px;
    }

    .legal-policy .page-content {
        margin-inline: auto;
        max-width: 720px;
    }
}

.container {
    width: min(90%, 1200px);
    margin-inline: auto;
}

.ttt_container {
    width: 100%;
    max-width: 1500px;
    margin-inline: auto;
    padding-inline: 60px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .ttt_container {
        padding-inline: 40px;
    }
}

@media (max-width: 767px) {
    .ttt_container {
        padding-inline: 24px;
    }
}

.site-header {
    position: relative;
    padding-block: 32px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 10;
    display: flex;
    justify-content: center;
    padding: 40px 0;
    box-sizing: border-box;
}

.header-floating {
    display: flex;
    justify-content: center;
    width: calc(100% - 120px);
    max-width: 1400px;
    position: relative;
    box-sizing: border-box;
    min-height: 90px;
}


.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 10px 20px;
    box-shadow: 0 18px 45px rgba(45, 11, 112, 0.18);
    border: 1px solid rgba(94, 23, 235, 0.12);
    box-sizing: border-box;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-branding .custom-logo,
.site-branding img {
    height: 80px;
    width: auto;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.site-navigation a {
    text-decoration: none;
}

.site-navigation-main a {
    position: relative;
    color: #171717;
    padding-inline: 8px;
}

    


.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-login-link,
.site-navigation-login a {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12ch;
    text-align: center;
    white-space: nowrap;

}

a.header-login-link {
    color: var(--color-primary);
}

.header-login-link:hover,
.header-login-link:focus,
.site-navigation-login a:hover,
.site-navigation-login a:focus {
    text-decoration: none;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, #E44E8C 0%, #5E17EB 51%, #6FF0CA 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 12px 22px rgba(94, 23, 235, 0.26);
}

.header-cta:hover,
.header-cta:focus {
    opacity: 0.9;
    text-decoration: none;
    background: linear-gradient(135deg, #6FF0CA 0%, #5E17EB 51%, #E44E8C 100%);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none !important;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: relative;
}

.menu-icon::before {
    top: -7px;
}

.menu-icon::after {
    top: 5px;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-icon {
    background-color: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-icon::after {
    transform: rotate(-45deg);
    top: -2px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 24px;
    margin-top: 16px;
    box-shadow: 0 18px 45px rgba(45, 11, 112, 0.18);
    border: 1px solid rgba(94, 23, 235, 0.12);
    width: 120px;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
    overflow-x: hidden;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .mobile-menu {
        position: absolute;
        top: calc(100% + 16px);
        right: 0;
        width: min(360px, calc(100vw - 160px));
        margin: 0;
        z-index: 20;
    }

    .mobile-menu::before {
        content: "";
        position: absolute;
        top: -16px;
        right: 24px;
        border-width: 8px;
        border-style: solid;
        border-color: transparent transparent rgba(94, 23, 235, 0.12) transparent;
    }
}

@media (max-width: 767px) {
    .mobile-menu {
        width: calc(100vw - 48px);
    }
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-list a {
    display: block;
    padding: 12px 16px;
    color: var(--color-text);
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.mobile-menu-list a:hover {
    background-color: rgba(94, 23, 235, 0.05);
    text-decoration: none;
}

.mobile-menu-main {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(23, 23, 23, 0.1);
}

.mobile-menu-login .mobile-menu-list a,
.mobile-login-link {
    color: var(--color-primary);
}

.mobile-login-link {
    display: block;
    padding: 12px 16px;
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.mobile-login-link:hover {
    background-color: rgba(94, 23, 235, 0.05);
    text-decoration: none;
}

.mobile-menu-cta {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(23, 23, 23, 0.1);
}

.mobile-cta-button {
    display: block;
    padding: 20px 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, #E44E8C 0%, #5E17EB 51%, #6FF0CA 100%);
    color: #ffffff;
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 22px rgba(94, 23, 235, 0.26);
    transition: opacity 0.2s ease;
}

.mobile-cta-button:hover,
.mobile-cta-button:focus {
    opacity: 0.9;
    text-decoration: none;
}

/* Footer */
.site-footer {
    position: relative;
    background: linear-gradient(135deg, #5C2D91 0%, #5C2D91 70%, #884BFB 100%);
    color: #ffffff;
    padding: 48px 0 40px;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #5C2D91 0%, #5C2D91 70%, #884BFB 100%);
    z-index: 0;
}

.footer-decoration {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
    width: 100%;
}

.footer-decoration-left svg {
    position: absolute;
    left: -5%;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    opacity: 1;
}

.footer-decoration-right svg {
    position: absolute;
    right: -1%;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    opacity: 1;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: 60px;
    box-sizing: border-box;
}

.footer-contact .contact-links {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.footer-logo img {
    height: 100px;
    width: auto;
}

.footer-site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-powered {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
}

.footer-powered strong {
    font-weight: 700;
}

.footer-tagline {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-tagline p {
    font-size: 20px;
    font-weight: 700;
    color: #f3f4ed;
    margin: 0 auto;
    max-width: 390px;
    text-align: center;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    align-items: flex-end;
    min-width: 0;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    max-width: 100%;
    white-space: nowrap;
    justify-content: flex-end;
}

.footer-contact-item .footer-icon {
    order: 1;
}

.footer-contact-item span:not(.footer-icon) {
    order: 2;
}

.footer-contact-item:hover {
    text-decoration: none;
    opacity: 0.9;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.footer-icon svg {
    display: block;
    width: 30px;
    height: 30px;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    padding-top: 24px;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: 60px;
    box-sizing: border-box;
}

.footer-bottom-content a {
    color: #ffffff;
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
}

.footer-bottom-content a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.footer-copyright {
    color: #f3f4ed;
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-tagline p {
        margin-inline: auto;
    }

    .footer-contact {
        align-items: center;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 48px 0 40px;
    }

    .footer-content {
        gap: 24px;
        margin-bottom: 24px;
        padding-inline: 20px;
    }
    
    .footer-logo img {
        height: 80px;
    }

    .footer-tagline p {
        font-size: 16px;
        max-width: 100%;
    }
    
    .footer-contact-item {
        font-size: 14px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        padding-inline: 20px;
    }
    
    .footer-decoration-left svg,
    .footer-decoration-right svg {
        display: none;
    }
}

@media (max-width: 1024px) {
    .site-header .ttt_container {
        padding-inline: 40px;
    }

    .header-inner {
        gap: 20px;
    }
}

@media (max-width: 1200px) {
    .site-navigation,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }
}

@media (max-width: 767px) {
    .site-header {
        position: fixed;
        padding: 0;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .header-floating {
        flex-direction: column;
        padding: 0;
        width: 100vw;
        max-width: 100vw;
        margin: 0;
    }

    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        border-radius: 0;
        padding: 8px 16px;
        margin: 0;
        width: 100%;
    }

    .mobile-menu {
        margin: 0;
        padding: 16px;
        border-radius: 0;
        width: 100%;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(94, 23, 235, 0.12);
    }
}

/* FIX POPUP */

body.admin-bar .dialog-type-lightbox {
    position: fixed !important;
    z-index: 9999 !important;
}


/* Colores boton Tracking Maritimo */

.site-navigation-main a:last-child,
.mobile-menu-main .page-item-1671 a {
    border: 3px solid #5e17ebb0;
    border-radius: 15px;
    padding: 15px 20px;
}

.site-navigation-main a:last-child:hover,
.mobile-menu-main .page-item-1671 a:hover {
    background-color: #5e17ebb0;
    color: #ffffff;
}

.site-navigation-main a:hover {
    color: var(--color-primary);
}