/* ============================================
   YEV SITE NAV - shared across all pages
   v4: mobile nav button fix, footer simplified
   ============================================ */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 9000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-bottom: 2px solid var(--yev-gold);
}

.site-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    gap: 20px;
}

.site-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--yev-navy);
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.site-nav-brand img {
    height: 42px;
    width: 42px;
    object-fit: contain;
}

.site-nav-brand span {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--yev-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--yev-navy);
    color: var(--yev-navy);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    align-items: center;
    justify-content: center;
}

.site-nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-menu > li {
    position: relative;
}

.site-nav-menu a, .site-nav-menu .nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.site-nav-menu a:not(.nav-cta):hover,
.site-nav-menu .nav-trigger:hover,
.site-nav-menu li.has-dropdown:hover > .nav-trigger {
    background: rgba(47,128,237,0.1);
    color: var(--yev-royal);
}

.site-nav-menu a.active {
    background: var(--yev-blue-gradient);
    color: white;
}

.nav-trigger::after {
    content: '▾';
    font-size: 10px;
    margin-left: 2px;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 8px;
    min-width: 280px;
    list-style: none;
    margin: 8px 0 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    border: 1px solid rgba(254,212,42,0.32);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.nav-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 14px;
    border-radius: 8px;
    width: 100%;
}

.nav-dropdown li a strong {
    font-size: 14px;
    color: #2d3748;
}

.nav-dropdown li a small {
    font-size: 12px;
    color: var(--yev-silver);
    font-weight: 400;
    margin-top: 2px;
}

.nav-dropdown li a:hover strong { color: var(--yev-royal); }

.site-nav-menu a.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px 16px; /* ~2/3 size */
    font-size: 13px;
    font-weight: 800;

    background: var(--yev-gold);
    color: var(--yev-navy);

    border-radius: 50px;
    border: 2px solid var(--yev-gold-deep);

    text-decoration: none;
    letter-spacing: 0.3px;

    transition: all 0.3s ease;

    /* CRITICAL: override base nav rule */
    background-clip: border-box;
}

.site-nav-menu a.nav-cta:hover {
    background: var(--yev-gold-deep);
    color: var(--yev-navy);
    transform: translateY(-2px);
}

@keyframes nav-cta-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(224,187,37,0.4); }
    50% { box-shadow: 0 4px 22px rgba(254,212,42,0.7); }
}

/* Lang toggle in nav */
.site-nav .lang-toggle-inline {
    display: flex;
    background: rgba(33,37,107,0.06);
    border-radius: 50px;
    padding: 3px;
    margin-left: 4px;
}

.site-nav .lang-toggle-inline button {
    background: transparent;
    border: none;
    padding: 4px 10px;
    border-radius: 50px;
    cursor: pointer;
    color: #4a5568;
    font-weight: 700;
    font-size: 12px;
    font-family: inherit;
}

.site-nav .lang-toggle-inline button.active {
    background: var(--yev-blue-gradient);
    color: white;
}

/* ============================================
   MOBILE NAV - v4 fix: buttons don't stretch
   ============================================ */
@media (max-width: 1024px) {
    .site-nav-toggle { display: flex; }
    .site-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        gap: 2px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-bottom: 2px solid var(--yev-gold);
    }
    .site-nav-menu.open { display: flex; }
    .site-nav-menu > li {
        width: 100%;
    }
    /* Regular nav links stay full-width for tap targets */
    .site-nav-menu > li > a:not(.nav-cta),
    .site-nav-menu > li > .nav-trigger {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 16px;
        border-radius: 8px;
        background: transparent;
        color: #2d3748;
        font-size: 15px;
    }
    /* CTA and Contact: inline width, not full-bleed */
    .site-nav-menu > li > a.nav-cta {
        display: inline-flex;
        width: auto;
        margin: 4px 0;
        animation: none;
        padding: 8px 18px !important;
		font-size: 14px !important;
        border-radius: 50px !important;
    }
    /* Contact link - plain text style inside menu */
    .site-nav-menu > li > a[href*="contact"] {
        width: auto;
        display: inline-flex;
        background: transparent;
        border: none;
        color: #2d3748;
        font-weight: 600;
        padding: 12px 16px;
        border-radius: 8px;
    }
    /* Language toggle - constrain the li and the toggle itself */
    .site-nav-menu > li:has(.lang-toggle-inline) {
        width: auto;
    }
    .site-nav .lang-toggle-inline {
        margin: 6px 0 4px 8px;
        align-self: flex-start;
        width: auto;
        display: inline-flex;
    }
    .nav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 4px 0 4px 20px;
        min-width: auto;
        display: none;
        margin: 0;
    }
    .nav-dropdown.open { display: block; }
    .nav-cta { animation: none; }
}

@media (max-width: 600px) {
    .site-nav-inner { padding: 10px 16px; }
    .site-footer .footer-tag { font-size: 14px; }
    .site-footer .footer-icons { flex-wrap: nowrap; gap: 8px; }
    .site-footer .footer-icons a { font-size: 12px; padding: 7px 10px; gap: 5px; white-space: nowrap; }
    .site-nav-brand span { font-size: 15px; }
    .site-nav-brand img { height: 36px; width: 36px; }
}

/* ============================================
   SHARED PAGE LAYOUT
   ============================================ */

.page-hero {
    background: var(--yev-blue-gradient);
    color: white;
    padding: 70px 30px 60px;
    text-align: center;
}

.page-hero-inner {
    max-width: 850px;
    margin: 0 auto;
}

.page-hero .eyebrow {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--yev-gold);
    display: inline-block;
    margin-bottom: 20px;
}

.page-hero .eyebrow::before, .page-hero .eyebrow::after {
    content: '★';
    margin: 0 8px;
    opacity: 0.9;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 3px 15px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.page-hero .lede {
    font-size: 20px;
    line-height: 1.5;
    opacity: 0.98;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.page-section {
    padding: 70px 30px;
}

.page-section.tinted { background: #d6eaff; }
.page-section.dark {
    background: linear-gradient(135deg, #1e1145 0%, #82259a 100%);
    color: white;
}
.page-section.green {
    background: linear-gradient(135deg, #0f5132 0%, #48bb78 100%);
    color: white;
}

.page-section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.page-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #2d3748;
}

.page-section.dark h2, .page-section.green h2 { color: white; }

.page-section h3 {
    font-size: 22px;
    margin: 30px 0 12px;
    color: #2d3748;
}

.page-section.dark h3, .page-section.green h3 { color: white; }

.page-section p {
    font-size: 17px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 18px;
}

.page-section.dark p, .page-section.green p {
    color: rgba(255,255,255,0.95);
}

.page-section ul {
    margin: 18px 0;
    padding-left: 22px;
}

.page-section li {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 10px;
}

.page-section.dark li, .page-section.green li {
    color: rgba(255,255,255,0.95);
}

.callout {
    background: #f7fafc;
    border-left: 4px solid var(--yev-royal);
    padding: 22px 25px;
    margin: 25px 0;
    border-radius: 5px;
}
.callout.gold {
    background: #fef3c7;
    border-left-color: var(--yev-gold-deep);
}
.callout.success {
    background: #e5fee5;
    border-left-color: #48bb78;
}
.callout p { margin-bottom: 10px; }
.callout p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
    .page-hero { padding: 50px 20px 45px; }
    .page-hero h1 { font-size: 34px; }
    .page-hero .lede { font-size: 17px; }
    .page-section { padding: 50px 20px; }
    .page-section h2 { font-size: 28px; }
}

/* ============================================
   SIMPLIFIED FOOTER - v4
   Removed nav columns. Centered icons + legal.
   ============================================ */
.site-footer {
    background: #1a1d3a;
    color: #a0aec0;
    padding: 36px 24px 28px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}
.site-footer .footer-content {
    max-width: 600px;
    margin: 0 auto;
}
.site-footer .footer-tag {
    color: white;
    text-wrap: balance;
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 24px;
}
.site-footer .footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.site-footer .footer-icons a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #cbd5e0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.2s ease;
}
.site-footer .footer-icons a:hover {
    color: var(--yev-sky);
    border-color: rgba(74,144,226,0.4);
    background: rgba(74,144,226,0.05);
}
.site-footer .footer-legal {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 18px;
    font-size: 13px;
    color: var(--yev-silver);
}
.site-footer .footer-legal a {
    color: var(--yev-silver);
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.2s ease;
}
.site-footer .footer-legal a:hover { color: var(--yev-gold); }
