.rivel-site{
    
    --clr-primary-green: #183A2B;
    --clr-deep-green: #102A20;
    --clr-warm-ivory: #F5F2E9;
    --clr-soft-cream: #EDE8DC;
    --clr-soft-sage: #C8D6C4;
    --clr-terracotta: #B86F45;
    
    --clr-text-primary: #20241F;
    --clr-text-secondary: #62675F;
    --clr-text-muted: #858A82;

    
    --font-primary: "Manrope", "Inter", sans-serif;
    --font-editorial: "Cormorant Garamond", serif;

    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}.rivel-site{
    scroll-behavior: smooth;
}.rivel-site{
    font-family: var(--font-primary);
    background-color: var(--clr-warm-ivory);
    color: var(--clr-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}.rivel-site .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
    will-change: transform;
}.rivel-site .btn:hover{
    transform: translateY(-2px);
}.rivel-site .btn:active{
    transform: translateY(0);
}.rivel-site .header-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}.rivel-site .header-wrapper.scrolled{
    transform: translateY(-36px); 
}.rivel-site .top-bar{
    background-color: var(--clr-primary-green, var(--clr-deep-green));
    color: var(--clr-warm-ivory, var(--clr-warm-ivory));
    height: 36px;
    display: flex;
    align-items: center;
    font-family: var(--font-primary, sans-serif);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}.rivel-site .top-bar-container, .rivel-site .header-container-redesigned{
    width: 100%;
    max-width: 1320px; 
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}.rivel-site .top-bar-left{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}.rivel-site .top-bar-right{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}.rivel-site .top-link{
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast, 0.2s);
}.rivel-site .top-link:hover{
    opacity: 0.7;
}
.rivel-site .whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast, 0.2s);
}

.rivel-site .whatsapp-link:hover {
    opacity: 0.7;
}

.rivel-site .whatsapp-link svg {
    display: block;
    width: 12px;
    height: 12px;
}
.rivel-site .top-separator{
    opacity: 0.5;
    margin: 0 0.5rem;
}.rivel-site .site-header-redesigned{
    width: 100%;
    padding: 1.25rem 0;
    background-color: transparent;
    border-bottom: 1px solid rgba(245, 242, 233, 0.1);
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}.rivel-site .header-wrapper.scrolled .site-header-redesigned{
    background-color: var(--clr-deep-green, #0A1C15); 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); 
    padding: 0.875rem 0; 
}.rivel-site .brand-logo{
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}.rivel-site .brand-logo img{
    display: block;
    width: auto;
    height: 80px; 
    object-fit: contain;
    transition: height 0.3s ease;
}.rivel-site .header-wrapper.scrolled .brand-logo img{
    height: 50px; 
}.rivel-site .main-nav-redesigned{
    display: flex;
    align-items: center;
}.rivel-site .nav-list-pills{
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}.rivel-site .nav-pill{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(16, 42, 32, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 242, 233, 0.2);
    color: var(--clr-warm-ivory, var(--clr-warm-ivory));
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-family: var(--font-primary, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}.rivel-site .nav-pill:hover{
    background-color: rgba(245, 242, 233, 0.15);
    border-color: rgba(245, 242, 233, 0.4);
}.rivel-site .header-actions-redesigned{
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}.rivel-site .btn-header-cta{
    display: inline-flex;
    align-items: center;
    background-color: var(--clr-warm-ivory, var(--clr-warm-ivory));
    color: var(--clr-primary-green, var(--clr-deep-green));
    border-radius: 50px;
    padding: 0.375rem 0.375rem 0.375rem 1rem;
    font-family: var(--font-primary, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}.rivel-site .btn-header-cta:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}.rivel-site .cta-icon-left{
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}.rivel-site .cta-icon-right{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(24, 58, 43, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}.rivel-site .btn-header-cta:hover .cta-icon-right{
    transform: translateX(2px) rotate(45deg);
}.rivel-site .nav-toggle{
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    padding: 0;
    margin: 0;
    color: var(--clr-warm-ivory, var(--clr-warm-ivory));
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 1001; 
}.rivel-site .hamburger, .rivel-site .nav-toggle::before, .rivel-site .nav-toggle::after{
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}.rivel-site .nav-toggle[aria-expanded="true"]::before{ transform: translateY(8px) rotate(45deg); }.rivel-site .nav-toggle[aria-expanded="true"] .hamburger{ opacity: 0; }.rivel-site .nav-toggle[aria-expanded="true"]::after{ transform: translateY(-8px) rotate(-45deg); }@media (max-width: 1024px){.rivel-site .main-nav-redesigned{ display: none; }.rivel-site .nav-toggle{ display: flex; }.rivel-site .top-bar-right{ display: none; }}@media (max-width: 768px){.rivel-site .btn-header-cta{ display: none; }.rivel-site .brand-logo img{ height: 36px; }.rivel-site .header-wrapper.scrolled .brand-logo img{ height: 32px; }.rivel-site .top-bar-left{
        width: 100%;
        justify-content: center;
    }}@keyframes fadeIn{from { opacity: 0; transform: translateY(10px); }to { opacity: 1; transform: translateY(0); }}@keyframes ripplePulse{0% { transform: scale(1); opacity: 0.8; }100% { transform: scale(1.8); opacity: 0; }}@keyframes gentleBounce{0%, 100% { transform: translate(-50%, 0); }50% { transform: translate(-50%, -4px); }}@keyframes flightMove{0% { offset-distance: 0%; opacity: 0; }5% { opacity: 1; }90% { offset-distance: 100%; opacity: 1; }100% { offset-distance: 100%; opacity: 0; }}@keyframes flightTrail{0% { stroke-dashoffset: 800; opacity: 1; }90% { stroke-dashoffset: 0; opacity: 1; }100% { stroke-dashoffset: 0; opacity: 0; }}@keyframes driveMove{0% { offset-distance: 0%; opacity: 0; }5% { opacity: 1; }95% { opacity: 1; }100% { offset-distance: 100%; opacity: 0; }}@keyframes drawPath{to { stroke-dashoffset: 0; }}@keyframes popIn{0% { opacity: 0; transform: scale(0.5); transform-origin: center; transform-box: fill-box; }70% { opacity: 1.2; transform: scale(1.3); }100% { opacity: 1; transform: scale(1); transform-origin: center; transform-box: fill-box;}}@keyframes fadeIn{to { opacity: 1; }}@keyframes fadeUp{from { opacity: 0; transform: translateY(15px); }to { opacity: 1; transform: translateY(0); }}.rivel-site .site-footer-unified{
    position: relative;
    padding: 6rem 1.5rem 2rem;
    color: var(--clr-warm-ivory);
    isolation: isolate;
    overflow: hidden;
}.rivel-site .footer-bg-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}.rivel-site .footer-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        rgba(16, 42, 32, 0.7) 0%, 
        rgba(16, 42, 32, 0.95) 40%, 
        rgba(10, 26, 20, 1) 100%
    );
    z-index: -1;
}.rivel-site .footer-unified-container{
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}.rivel-site .footer-cta-section{
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}.rivel-site .footer-cta-heading{
    margin: 0 0 1.25rem 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}.rivel-site .footer-cta-text{
    margin: 0 0 2.5rem 0;
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    color: rgba(245, 242, 233, 0.85);
    max-width: 520px;
}.rivel-site .footer-submit-btn{
    background-color: var(--clr-warm-ivory);
    color: var(--clr-primary-green);
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}.rivel-site .footer-submit-btn:hover{ background-color: #ffffff; }.rivel-site .footer-submit-btn:active{ transform: scale(0.98); }.rivel-site .footer-nav-section{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 0;
    border-top: 1px solid rgba(245, 242, 233, 0.1);
    border-bottom: 1px solid rgba(245, 242, 233, 0.1);
}.rivel-site .footer-brand{
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 320px;
}.rivel-site .footer-brand-name{
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}.rivel-site .footer-brand-desc{
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(245, 242, 233, 0.75);
}.rivel-site .footer-socials{
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}.rivel-site .social-icon{
    color: var(--clr-warm-ivory);
    opacity: 0.7;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}.rivel-site .social-icon:hover{ opacity: 1; transform: translateY(-2px); }.rivel-site .footer-links-wrapper{
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}.rivel-site .footer-col-title{
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--clr-warm-ivory);
    margin-bottom: 1.5rem;
}.rivel-site .footer-menu{
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    list-style: none;
    padding: 0;
    margin: 0;
}.rivel-site .footer-menu a{
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    color: rgba(245, 242, 233, 0.7);
    transition: color var(--transition-fast);
}.rivel-site .footer-menu a:hover{ color: var(--clr-warm-ivory); }.rivel-site .footer-legal-section{
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    color: rgba(245, 242, 233, 0.5);
    text-align: center;
    position: relative;
}.rivel-site .footer-legal-links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
 
}.rivel-site .footer-legal-links a{
    text-decoration: none;
    color: rgba(245, 242, 233, 0.5);
    transition: color var(--transition-fast);
}.rivel-site .footer-legal-links a:hover{ color: var(--clr-warm-ivory); }.rivel-site .back-to-top{
    width: 44px;
    height: 44px;
    background-color: var(--clr-warm-ivory);
    color: var(--clr-deep-green);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
    margin-top: 1rem;
}.rivel-site .back-to-top:hover{
    transform: translateY(-4px);
    background-color: #ffffff;
}@media (min-width: 768px){.rivel-site .site-footer-unified{ padding: 8rem 2rem 2.5rem; }.rivel-site .footer-links-wrapper{ grid-template-columns: repeat(3, 1fr); }.rivel-site .footer-legal-section{
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }.rivel-site .back-to-top{
        margin-top: 0;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }.rivel-site .back-to-top:hover{ transform: translateY(calc(-50% - 4px)); }}@media (min-width: 1024px){.rivel-site .site-footer-unified{ padding: 10rem 2rem 3rem; }.rivel-site .footer-cta-section{ margin-bottom: 7rem; }.rivel-site .footer-nav-section{
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
        padding: 5rem 0;
    }.rivel-site .footer-brand{ flex-shrink: 0; width: 320px; }.rivel-site .footer-links-wrapper{ flex-grow: 1; gap: 3rem; justify-content: flex-end; }.rivel-site .footer-legal-links{ margin-right: auto; padding-left: 2rem; }}.rivel-site .rivel-modal-overlay{
    position: fixed;
    inset: 0;
    background-color: rgba(16, 42, 32, 0.85); 
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}.rivel-site .rivel-modal-overlay.active{
    opacity: 1;
    visibility: visible;
}.rivel-site .rivel-modal-container{
    width: 100%;
    max-width: 900px;
    background-color: var(--clr-warm-ivory, var(--clr-warm-ivory));
    border-radius: 0; 
    display: flex;
    flex-direction: row;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    transform: translateY(20px);
    transition: transform 0.4s ease;
    max-height: 90vh;
    overflow-y: auto; 
}.rivel-site .rivel-modal-overlay.active .rivel-modal-container{ transform: translateY(0); }.rivel-site .rivel-modal-close{
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--clr-primary-green, var(--clr-deep-green));
    cursor: pointer;
    z-index: 20;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast, 0.3s);
}.rivel-site .rivel-modal-close:hover{ transform: scale(1.1); }.rivel-site .rivel-modal-left{
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    overflow: hidden;
    min-height: 400px;
}.rivel-site .rivel-modal-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}.rivel-site .rivel-modal-img-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 42, 32, 0.95) 0%, rgba(16, 42, 32, 0.3) 50%, transparent 100%);
    z-index: 2;
}.rivel-site .rivel-modal-content{
    position: relative;
    z-index: 3;
    color: #ffffff;
}.rivel-site .rivel-modal-content h3{
    margin: 0 0 1rem 0;
    font-family: var(--font-primary, "system-ui", sans-serif);
    color: var(--clr-warm-ivory);
    font-size: 1.75rem;
    font-weight: 500;
}.rivel-site .rivel-modal-content p{
    margin: 0;
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}.rivel-site .rivel-modal-right{
    flex: 1.2;
    padding: 3.5rem 3rem 3rem;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}.rivel-site .modal-disclaimer{
    margin: 1rem 0 0 0;
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 0.625rem;
    color: #888;
    text-align: center;
    line-height: 1.5;
}@media (max-width: 768px){.rivel-site .rivel-modal-container{
        flex-direction: column;
        max-height: 95vh;
        border-radius: 8px; 
    }.rivel-site .rivel-modal-left{ min-height: 200px; padding: 2rem; flex: none; }.rivel-site .rivel-modal-content h3{ font-size: 1.5rem; }.rivel-site .rivel-modal-content p{ display: none; }.rivel-site .rivel-modal-right{ padding: 2rem 1.5rem; }}
/* ============================================================
   HARD OVERRIDES (global -- header/footer/nav/modal elements)
   Several hover states here only ever changed background/border, never
   redeclared `color` -- leaving the door open for the theme's own
   link/button hover color to win. Explicitly locking color here keeps
   text exactly as readable on hover as it is at rest.
   ============================================================ */
.rivel-site .nav-pill:hover,
.rivel-site .nav-pill:focus,
.rivel-site .nav-pill:active {
    color: var(--clr-warm-ivory) !important;
}

.rivel-site .top-link:hover,
.rivel-site .top-link:focus {
    color: var(--clr-warm-ivory) !important;
}

.rivel-site .footer-submit-btn:hover,
.rivel-site .footer-submit-btn:focus {
    color: var(--clr-primary-green) !important;
}

.rivel-site .back-to-top:hover,
.rivel-site .back-to-top:focus {
    color: var(--clr-deep-green) !important;
}

.rivel-site .footer-cta-heading {
    color: var(--clr-warm-ivory) !important;
}

/* ============================================================
   MOBILE MENU DROPDOWN (was entirely missing)
   The JS already toggles ".is-open" on .main-nav-redesigned when the
   hamburger is tapped, but no CSS existed to actually show it -- it
   just stayed display:none. Uses :has() so the header row wraps only
   when the menu is open, letting nav + the Request Proposal button
   stack naturally below the logo row in normal document flow (no
   fragile absolute-position math needed).
   ============================================================ */
@media (max-width: 1024px) {
    .rivel-site .header-container-redesigned:has(.main-nav-redesigned.is-open) {
        flex-wrap: wrap;
    }

    .rivel-site .main-nav-redesigned.is-open {
        display: block !important;
        order: 10;
        flex-basis: 100%;
        background-color: var(--clr-deep-green);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 12px;
        max-height: 70vh;
        overflow-y: auto;
    }

    .rivel-site .main-nav-redesigned.is-open .nav-list-pills {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .rivel-site .main-nav-redesigned.is-open .nav-pill {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.85rem 1rem;
        box-sizing: border-box;
    }

    /* Reveal the Request Proposal button too, stacked right after the
       nav panel, even though it lives outside <nav> in the markup. */
    .rivel-site .header-container-redesigned:has(.main-nav-redesigned.is-open) .btn-header-cta {
        display: flex !important;
        order: 11;
        flex-basis: 100%;
        justify-content: center;
        margin-top: 0.75rem;
    }
}
