.admin-bar .vcp-nav-wrap {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .vcp-nav-wrap {
        top: 46px;
    }
}

/* C01: full width, fondo blanco, se contrae al scrollear */
.vcp-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    display: flex;
    justify-content: center;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    padding: 0 24px;
    margin: 0 auto;
    transition: width 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                top 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.vcp-nav-wrap.is-scrolled {
    width: min(92%, 1200px);
    border-radius: 8px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.13), 0 1px 4px rgba(0,0,0,0.07);
}

.admin-bar .vcp-nav-wrap.is-scrolled {
    top: 42px;
}

@media screen and (max-width: 782px) {
    .admin-bar .vcp-nav-wrap.is-scrolled {
        top: 56px;
    }
}

/* C02: siempre 1200px, contenido nunca se mueve */
.vcp-nav-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 16px 0;
    transition: padding 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.vcp-nav-wrap.is-scrolled .vcp-nav-inner {
    padding: 12px 0;
}

/* Logo */
.vcp-nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.vcp-nav__logo img {
    display: block;
    height: 36px;
    width: auto;
    transition: height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.vcp-nav-wrap.is-scrolled .vcp-nav__logo img {
    height: 28px;
}

.vcp-nav__logo-text {
    font-weight: 800;
    font-size: 18px;
    color: #1a1a1a;
}

/* Menú alineado a la derecha */
.vcp-nav__menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    gap: 32px;
}

.vcp-nav__menu li {
    margin: 0;
    padding: 0;
    float: none;
}
/* ============================================================
   VCP STICKY NAV
   ============================================================ */

/* Admin bar offset */
.admin-bar .vcp-nav-wrap { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .vcp-nav-wrap { top: 46px; }
}
.admin-bar .vcp-nav-wrap.is-scrolled { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .vcp-nav-wrap.is-scrolled { top: 46px; }
}

/* ---- C01: contenedor externo ---- */
.vcp-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    display: flex;
    justify-content: center;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    padding: 0 24px;
    transition: width 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto flotante solo en escritorio */
@media screen and (min-width: 1025px) {
    .vcp-nav-wrap.is-scrolled {
        width: min(92%, 1200px);
        border-radius: 8px;
        box-shadow: 0 4px 28px rgba(0,0,0,0.13), 0 1px 4px rgba(0,0,0,0.07);
    }
}

/* ---- C02: contenedor interno 1200px ---- */
.vcp-nav-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 16px 0;
    transition: padding 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.vcp-nav-wrap.is-scrolled .vcp-nav-inner {
    padding: 12px 0;
}

/* ---- Logo ---- */
.vcp-nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.vcp-nav__logo img {
    display: block;
    height: 36px;
    width: auto;
    transition: height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.vcp-nav-wrap.is-scrolled .vcp-nav__logo img {
    height: 28px;
}

.vcp-nav__logo-text {
    font-weight: 800;
    font-size: 18px;
    color: #1a1a1a;
}

/* ---- Menú desktop ---- */
.vcp-nav__menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    gap: 32px;
}

.vcp-nav__menu li {
    margin: 0;
    padding: 0;
    float: none;
}

.vcp-nav__menu li a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #1a1a1a;
    transition: opacity 0.2s ease, color 0.2s ease;
    padding: 0;
    background: none;
    display: inline;
    line-height: 1;
}
 
.vcp-nav__menu li a:hover {
    background: none;
    color: #F2600C;
}

.vcp-nav__menu .current-menu-item > a,
.vcp-nav__menu .current_page_item > a {
    opacity: 1;
    color: #F2600C;
    font-weight:700;
}

/* ---- CTA desktop ---- */
.vcp-nav__cta {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 10px 22px;
    border-radius: 6px;
    background: #F2600C;
    color: #ffffff !important;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.vcp-nav__cta:hover {
    background: #d44e08;
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* ---- Hamburguesa: oculto en desktop ---- */
.vcp-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.vcp-nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animación a X */
.vcp-nav__hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.vcp-nav__hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.vcp-nav__hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Overlay móvil ---- */
.vcp-nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9998;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vcp-nav__overlay.is-open {
    display: flex;
    opacity: 1;
}

.vcp-nav__overlay ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vcp-nav__overlay ul li a {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    padding: 12px 24px;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.vcp-nav__overlay ul li a:hover {
    color: #F2600C;
}

.vcp-nav__overlay ul .current-menu-item > a,
.vcp-nav__overlay ul .current_page_item > a {
    color: #F2600C;
}

.vcp-nav__overlay .vcp-nav__cta-mobile {
    display: inline-block;
    margin-top: 40px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 14px 36px;
    border-radius: 8px;
    background: #F2600C;
    color: #ffffff !important;
    transition: background 0.2s ease;
}

.vcp-nav__overlay .vcp-nav__cta-mobile:hover {
    background: #d44e08;
}

/* ---- Mobile: <= 1024px ---- */
@media screen and (max-width: 1024px) {
    .vcp-nav__menu,
    .vcp-nav__cta {
        display: none;
    }

    .vcp-nav__hamburger {
        display: flex;
    }

    .vcp-nav-inner {
        gap: 16px;
        padding: 14px 0;
    }
}
.vcp-nav__menu li a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #1a1a1a;
    transition: opacity 0.2s ease, color 0.2s ease;
    padding: 0;
    background: none;
    display: inline;
    line-height: 1;
}

.vcp-nav__menu .current-menu-item > a,
.vcp-nav__menu .current_page_item > a {
    opacity: 1;
    color: #F2600C;
}

/* CTA */
.vcp-nav__cta {
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 10px 22px;
    border-radius: 6px;
    background: #F2600C;
    color: #ffffff !important;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.vcp-nav__cta:hover {
    background: #d44e08;
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* ============================================================
   MOBILE OVERRIDES — forzar sobre Elementor
   ============================================================ */

@media screen and (max-width: 1024px) {

    /* Ocultar menú desktop y CTA desktop */
    .vcp-nav__menu,
    nav.vcp-nav-wrap .vcp-nav__menu,
    .vcp-nav__cta,
    nav.vcp-nav-wrap .vcp-nav__cta {
        display: none !important;
    }

    /* Mostrar hamburguesa */
    .vcp-nav__hamburger,
    nav.vcp-nav-wrap .vcp-nav__hamburger {
        display: flex !important;
    }

    /* Logo más pequeño */
    .vcp-nav__logo img {
        height: 28px !important;
    }

    /* Inner más compacto */
    .vcp-nav-inner {
        padding: 12px 0 !important;
        gap: 12px !important;
    }

    /* Sin efecto flotante en móvil/tablet */
    .vcp-nav-wrap.is-scrolled {
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}

/* ============================================================
   OVERLAY MÓVIL
   ============================================================ */

.vcp-nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 9998;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vcp-nav__overlay.is-open {
    display: flex !important;
    opacity: 1;
}

/* Menú dentro del overlay */
.vcp-nav__overlay .vcp-nav__menu-mobile {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vcp-nav__overlay .vcp-nav__menu-mobile li {
    margin: 0;
    padding: 0;
}

.vcp-nav__overlay .vcp-nav__menu-mobile li a {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    padding: 12px 24px;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
    background: none;
    opacity: 1;
}

.vcp-nav__overlay .vcp-nav__menu-mobile li a:hover {
    color: #F2600C;
}

.vcp-nav__overlay .vcp-nav__menu-mobile .current-menu-item > a,
.vcp-nav__overlay .vcp-nav__menu-mobile .current_page_item > a {
    color: #F2600C;
}

/* CTA dentro del overlay */
.vcp-nav__overlay .vcp-nav__cta-mobile {
    display: inline-block;
    margin-top: 40px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 14px 36px;
    border-radius: 8px;
    background: #F2600C;
    color: #ffffff !important;
    transition: background 0.2s ease;
}

.vcp-nav__overlay .vcp-nav__cta-mobile:hover {
    background: #d44e08;
}

/* Hamburguesa base */
.vcp-nav__hamburger {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.vcp-nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background:#f2600c;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.vcp-nav__hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.vcp-nav__hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.vcp-nav__hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

button#vcpHamburger:focus {
    background: none;
}