.rivel-homepage-template *, .rivel-homepage-template *::before, .rivel-homepage-template *::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}.rivel-homepage-template a{
    text-decoration: none;
    color: inherit;
}.rivel-homepage-template ul{
    list-style: none;
}.rivel-homepage-template button{
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}.rivel-homepage-template .editorial-italic{
    font-family: var(--font-editorial);
    font-style: italic;
    font-weight: 500;
}.rivel-homepage-template .eyebrow-light-bg{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    color: var(--clr-terracotta); 
}.rivel-homepage-template .eyebrow-dark-bg{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    color: var(--clr-warm-ivory); 
}.rivel-homepage-template .btn-primary{
    background-color: var(--clr-warm-ivory);
    color: var(--clr-primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}.rivel-homepage-template .btn-primary:hover{
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}.rivel-homepage-template .btn-secondary{
    background-color: transparent;
    color: var(--clr-warm-ivory);
    border: 1px solid rgba(245, 242, 233, 0.3);
}.rivel-homepage-template .btn-secondary:hover{
    background-color: rgba(245, 242, 233, 0.1);
    border-color: var(--clr-warm-ivory);
}.rivel-homepage-template .btn-nav{
    background-color: var(--clr-warm-ivory);
    color: var(--clr-primary-green);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 50px;
}.rivel-homepage-template .hero-section{
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    margin-top: 0 !important;
    display: flex;
    align-items: flex-end;
    
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    color: var(--clr-warm-ivory);
    isolation: isolate;
}.rivel-homepage-template .hero-bg-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}.rivel-homepage-template .hero-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        210deg,
        rgba(16, 42, 32, 0.10) 0%,
        rgba(16, 42, 32, 0.75) 60%,
        rgba(10, 26, 20, 0.95) 100%
    );
    z-index: -1;
}.rivel-homepage-template .hero-container{
    width: 100%;
    
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4rem;
}.rivel-homepage-template .hero-content-left{
    display: flex;
    flex-direction: column;
    max-width: 750px;
    padding-top: 0;
}.rivel-homepage-template .hero-eyebrow{
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--clr-warm-ivory);
}.rivel-homepage-template .hero-title{
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin-bottom: 1.25rem;
}.rivel-homepage-template .text-ivory{
    color: var(--clr-warm-ivory);
}.rivel-homepage-template .text-terracotta{
    color: var(--clr-terracotta);
}.rivel-homepage-template .hero-description{
    font-family: var(--font-primary);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.6;
    color: rgba(245, 242, 233, 0.85);
    max-width: 480px;
    margin-top: 0;
    margin-bottom: 2.25rem;
}.rivel-homepage-template .hero-actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}.rivel-homepage-template .hero-btn-primary, .rivel-homepage-template .hero-btn-secondary{
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}.rivel-homepage-template .hero-btn-primary{
    background-color: var(--clr-warm-ivory);
    color: var(--clr-primary-green);
    padding: 0.375rem 0.375rem 0.375rem 1.5rem;
}.rivel-homepage-template .hero-btn-primary:hover{
    background-color: #ffffff;
}.rivel-homepage-template .btn-icon-wrapper{
    background-color: rgba(24, 58, 43, 0.1);
    border: 1px solid rgba(24, 58, 43, 0.15);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}.rivel-homepage-template .hero-btn-primary:hover .btn-icon-wrapper{
    transform: translateX(4px);
}.rivel-homepage-template .hero-btn-secondary{
    background-color: transparent;
    color: var(--clr-warm-ivory);
    border: 1px solid rgba(245, 242, 233, 0.4);
    padding: 0.375rem 1.5rem 0.375rem 0.375rem;
}.rivel-homepage-template .hero-btn-secondary:hover{
    background-color: rgba(245, 242, 233, 0.1);
    border-color: var(--clr-warm-ivory);
}.rivel-homepage-template .btn-icon-wrapper-outline{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(245, 242, 233, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}.rivel-homepage-template .hero-features-right{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}.rivel-homepage-template .hero-feature-item{
    display: flex;
    align-items: center;
    gap: 1rem;
}.rivel-homepage-template .feature-icon{
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(245, 242, 233, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-warm-ivory);
    flex-shrink: 0;
}.rivel-homepage-template .feature-icon svg{
    width: 16px;
    height: 16px;
}.rivel-homepage-template .feature-text{
    font-family: var(--font-primary);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.4;
    color: var(--clr-warm-ivory);
}@media (min-width: 768px){.rivel-homepage-template .hero-features-right{
        flex-direction: row;
        gap: 2.5rem;
    }}@media (min-width: 1024px){.rivel-homepage-template .hero-section{
        padding: 8rem 2rem 4rem;
    }.rivel-homepage-template .hero-container{
        max-width: 1280px; 
        flex-direction: row;
        align-items: flex-end;
    }.rivel-homepage-template .hero-content-left{
        max-width: 700px;
    }.rivel-homepage-template .hero-features-right{
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-bottom: 1rem;
    }}@media (min-width: 1440px){.rivel-homepage-template .hero-section{
        padding: 10rem 4rem 5rem;
    }.rivel-homepage-template .hero-container{
        max-width: 1280px; 
    }}@media (max-width: 767px){.rivel-homepage-template .hero-section{
        min-height: 100svh;
        padding: 7rem 1.5rem 3rem;
        align-items: flex-end;
    }.rivel-homepage-template .hero-container{
        gap: 2.5rem;
    }.rivel-homepage-template .hero-content-left{
        max-width: 100%;
    }.rivel-homepage-template .hero-title{
        font-size: clamp(1.7rem, 8vw, 2.5rem);
        margin-top: 2rem;
        margin-bottom: 1rem;
    }.rivel-homepage-template .hero-description{
        font-size: 0.9rem;
        max-width: 100%;
        margin-bottom: 1.75rem;
    }.rivel-homepage-template .hero-actions{
        gap: 0.75rem;
    }.rivel-homepage-template .hero-features-right{
        width: 100%;
        gap: 1rem;
        flex-wrap: wrap;
    }}@media (max-width: 480px){.rivel-homepage-template .hero-section{
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }.rivel-homepage-template .hero-title{
        font-size: 1.65rem;
        margin-top: 1.75rem;
    }.rivel-homepage-template .hero-description{
        font-size: 0.875rem;
    }.rivel-homepage-template .hero-btn-primary, .rivel-homepage-template .hero-btn-secondary{
        font-size: 0.7rem;
    }}.rivel-homepage-template .stats-strip-section{
    background-color: var(--clr-deep-green); 
    color: var(--clr-warm-ivory);
    padding: 3rem 1.5rem; 
}.rivel-homepage-template .stats-strip-container{
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 2rem;
    text-align: center;
}.rivel-homepage-template .stat-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}.rivel-homepage-template .stat-value{
    font-family: var(--font-primary);
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
    font-weight: 400; 
    color: var(--clr-warm-ivory);
    line-height: 1;
    letter-spacing: -0.02em;
}.rivel-homepage-template .stat-label{
    font-family: var(--font-primary);
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    color: var(--clr-soft-cream); 
    font-weight: 400;
    max-width: 220px;
    line-height: 1.4;
}@media (min-width: 768px){.rivel-homepage-template .stats-strip-container{
        grid-template-columns: repeat(3, 1fr);
        gap: 5rem 2rem;
    }}@media (min-width: 1024px){.rivel-homepage-template .stats-strip-section{
        padding: 4rem 2rem; 
    }.rivel-homepage-template .stats-strip-container{
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem;
    }.rivel-homepage-template .stat-item{
        gap: 1.25rem;
    }}
    .rivel-homepage-template .pathways-section{
    background-color: var(--clr-deep-green); 
    padding: 6rem 1.5rem;
    color: var(--clr-warm-ivory); 
}.rivel-homepage-template .pathways-container{
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}.rivel-homepage-template .pathways-header-split{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}.rivel-homepage-template .pathways-heading{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--clr-warm-ivory); 
    letter-spacing: -0.02em;
}.rivel-homepage-template .pathways-intro{
    margin: 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: 600px;
}.rivel-homepage-template .pathways-layout{
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}.rivel-homepage-template .pathways-tabs{
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scrollbar-width: none; 
}.rivel-homepage-template .pathways-tabs::-webkit-scrollbar{ display: none; }.rivel-homepage-template .tab-btn{
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.75rem 1.5rem 0.75rem 0.75rem;
    background-color: rgba(245, 242, 233, 0.05); 
    border: 1px solid rgba(245, 242, 233, 0.15); 
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    min-width: 260px;
}.rivel-homepage-template .tab-btn:hover:not(.active){
    background-color: rgba(245, 242, 233, 0.1);
    border-color: rgba(245, 242, 233, 0.3);
}.rivel-homepage-template .tab-icon-box{
    width: 48px;
    height: 48px;
    background-color: rgba(245, 242, 233, 0.1); 
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-warm-ivory); 
    transition: all var(--transition-fast);
    flex-shrink: 0;
}.rivel-homepage-template .tab-text{
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--clr-warm-ivory); 
    transition: color var(--transition-fast);
}.rivel-homepage-template .tab-btn.active{
    background-color: var(--clr-warm-ivory); 
    border-color: var(--clr-warm-ivory);
}.rivel-homepage-template .tab-btn.active .tab-icon-box{
    background-color: var(--clr-primary-green); 
    color: var(--clr-warm-ivory); 
}.rivel-homepage-template .tab-btn.active .tab-text{
    color: var(--clr-primary-green); 
}.rivel-homepage-template .pathways-content-area{
    position: relative;
    min-height: 500px;
}.rivel-homepage-template .tab-panel{
    display: none;
    flex-direction: column;
    align-items: flex-start;
    animation: fadeIn 0.4s ease-in-out forwards;
}.rivel-homepage-template .tab-panel.active{ display: flex; }@keyframes fadeIn{from { opacity: 0; transform: translateY(10px); }to { opacity: 1; transform: translateY(0); }}.rivel-homepage-template .panel-img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    background-color: var(--clr-soft-sage); 
}.rivel-homepage-template .panel-title{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--clr-warm-ivory); 
    margin-bottom: 1rem;
    line-height: 1.2;
}.rivel-homepage-template .panel-desc{
    margin: 0;
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(245, 242, 233, 0.85); 
    margin-bottom: 2rem;
    max-width: 800px;
}.rivel-homepage-template .panel-btn{
    background-color: var(--clr-warm-ivory);
    color: var(--clr-primary-green);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: background-color var(--transition-fast);
    text-decoration: none;
}.rivel-homepage-template .panel-btn:hover{ background-color: #ffffff; }.rivel-homepage-template .btn-circle-icon{
    width: 36px;
    height: 36px;
    background-color: var(--clr-primary-green);
    color: var(--clr-warm-ivory);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}.rivel-homepage-template .panel-btn:hover .btn-circle-icon{ transform: rotate(45deg); }@media (min-width: 768px){.rivel-homepage-template .pathways-section{ padding: 8rem 2rem; }.rivel-homepage-template .pathways-header-split{
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }.rivel-homepage-template .pathways-header-right{
        flex-shrink: 0;
        padding-bottom: 0.5rem;
    }}@media (min-width: 1024px){.rivel-homepage-template .pathways-layout{
        grid-template-columns: 320px 1fr;
        gap: 4rem;
        align-items: start;
    }.rivel-homepage-template .pathways-tabs{
        flex-direction: column;
        overflow-x: visible;
        padding-bottom: 0;
    }.rivel-homepage-template .tab-btn{
        min-width: auto; 
        width: 100%;
    }}.rivel-homepage-template .interactive-estate-section{
    background-color: var(--clr-warm-ivory);
    padding: 6rem 0 10rem 0; 
    color: var(--clr-text-primary);
    overflow: hidden;
    position: relative;
}.rivel-homepage-template .estate-header-wrapper{
    position: relative;
    z-index: 5; 
    max-width: 800px;
    margin: 0 auto 2rem; 
    padding: 0 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}.rivel-homepage-template .estate-map-heading{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--clr-primary-green);
    letter-spacing: -0.01em;
}.rivel-homepage-template .estate-map-desc{
    margin: 0;
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    color: var(--clr-text-secondary);
    max-width: 650px;
}.rivel-homepage-template .estate-map-container{
    position: relative;
    width: 100%;
    max-width: none; 
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    min-height: 600px;
    background-color: var(--clr-warm-ivory);
}.rivel-homepage-template .map-scroll-wrapper{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}.rivel-homepage-template .map-scroll-inner{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}.rivel-homepage-template .estate-map-container::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%; 
    background: linear-gradient(to bottom, var(--clr-warm-ivory) 0%, rgba(245, 242, 233, 0) 100%);
    z-index: 2;
    pointer-events: none; 
}.rivel-homepage-template .estate-map-container::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%; 
    background: linear-gradient(to top, var(--clr-warm-ivory) 0%, rgba(245, 242, 233, 0) 100%);
    z-index: 2;
    pointer-events: none;
}.rivel-homepage-template .estate-map-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}.rivel-homepage-template .estate-pin{
    position: absolute;
    z-index: 10;
    width: 32px;
    height: 32px;
    background-color: var(--clr-warm-ivory);
    border: 2px solid var(--clr-primary-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}.rivel-homepage-template .pin-number{
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-primary-green);
}.rivel-homepage-template .pin-ripple{
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid var(--clr-warm-ivory);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}.rivel-homepage-template .estate-pin:hover{ transform: translate(-50%, -50%) scale(1.1); }.rivel-homepage-template .estate-pin.active{
    background-color: var(--clr-terracotta);
    border-color: var(--clr-terracotta);
    transform: translate(-50%, -50%) scale(1.15);
}.rivel-homepage-template .estate-pin.active .pin-number{ color: var(--clr-warm-ivory); }.rivel-homepage-template .estate-pin.active .pin-ripple{ animation: ripplePulse 2s infinite; }@keyframes ripplePulse{0% { transform: scale(1); opacity: 0.8; }100% { transform: scale(1.8); opacity: 0; }}.rivel-homepage-template .estate-floating-card{
    position: absolute;
    bottom: -7.5rem; 
    left: 50%; 
    transform: translateX(-50%);
    z-index: 20;
    background-color: rgba(245, 242, 233, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 16px 40px rgba(16, 42, 32, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}.rivel-homepage-template .card-content-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s ease;
}.rivel-homepage-template .card-content-inner.fade-out{ opacity: 0; }.rivel-homepage-template .card-badge-row{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}.rivel-homepage-template .card-zone-badge{
    font-family: var(--font-primary);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--clr-terracotta);
    text-transform: uppercase;
    background-color: rgba(212, 110, 89, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}.rivel-homepage-template .card-status-badge{
    font-family: var(--font-primary);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}.rivel-homepage-template .status-available{
    color: var(--clr-primary-green);
    background-color: rgba(16, 42, 32, 0.1);
}.rivel-homepage-template .status-planned{
    color: var(--clr-terracotta);
    border: 1px dashed var(--clr-terracotta);
    background-color: transparent;
}.rivel-homepage-template .estate-floating-card .card-title{
    margin: 0 0 0.25rem 0;
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-primary-green);
    letter-spacing: 0.02em;
}.rivel-homepage-template .card-subtitle{
    margin: 0 0 1rem 0;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-terracotta);
}.rivel-homepage-template .card-desc{
    margin: 0 0 1.5rem 0;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--clr-text-secondary);
}.rivel-homepage-template .card-btn{
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--clr-warm-ivory);
    background-color: var(--clr-primary-green);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}.rivel-homepage-template .card-btn:hover{
    background-color: var(--clr-deep-green);
    transform: translateY(-2px);
}@media (min-width: 768px){.rivel-homepage-template .estate-map-container{ min-height: auto; }}@media (min-width: 1024px){.rivel-homepage-template .interactive-estate-section{ padding: 8rem 0 12rem 0; }.rivel-homepage-template .estate-floating-card{ bottom: -9rem; left: 50%; transform: translateX(-50%); }}
@media (max-width: 767px){
    .rivel-homepage-template .interactive-estate-section{
        padding: 4rem 0 4rem 0; 
    }
    .rivel-homepage-template .estate-map-container{
        aspect-ratio: auto;
        height: auto;          /* was: height: 60vh — let content decide height now */
        min-height: 0;
    }
    .rivel-homepage-template .map-scroll-wrapper{
        position: relative;    /* was: absolute (inset:0) — now takes up real space */
        height: 60vh;          /* map keeps its same visual height */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
    }
    .rivel-homepage-template .map-scroll-wrapper::-webkit-scrollbar{
        display: none; 
    }
    .rivel-homepage-template .map-scroll-inner{
        width: 1000px; 
        height: 100%;
        position: relative; 
    }
    .rivel-homepage-template .estate-floating-card{
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: calc(100% - 3rem);
        margin: 1.5rem auto 0;
        z-index: 20;
    }
}
    
    /* ==========================================================================
   Group Lodging Section
   ========================================================================== */
/* ==========================================================================
   Group Lodging Section
   ========================================================================== */
.rivel-homepage-template .group-lodging {
    background-color: var(--clr-deep-green);
    color: var(--clr-warm-ivory);
    padding-block: clamp(5rem, 8vw, 8rem);
    overflow: hidden;
    position: relative;
}

/* Header */
.rivel-homepage-template .gl-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(3rem, 6vw, 5rem);
    padding: 0 1.5rem;
}

.rivel-homepage-template .gl-heading {
    font-family: var(--font-editorial);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-block: 0.5rem 1.25rem;
    color:var(--clr-warm-ivory);
}

.rivel-homepage-template .group-lodging .eyebrow-light-bg{
    justify-content: center;
}

.rivel-homepage-template .gl-desc {
    font-size: clamp(0.9375rem, 1.1vw, 1.125rem);
    color: rgba(245, 242, 233, 0.75);
    line-height: 1.6;
}

/* Carousel Layout */
.rivel-homepage-template .gl-carousel-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 5.5rem;
    max-width: 100vw; 
    overflow: hidden; 
}

.rivel-homepage-template .gl-track {
    display: flex;
    align-items: center;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    user-select: none; 
    width: max-content; 
}

/* Individual Slide */
.rivel-homepage-template .gl-slide {
    width: clamp(300px, 80vw, 850px); 
    flex-shrink: 0;
    padding: 0 1.5vw;
    position: relative;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.4;
    transform: scale(0.85);
    cursor: pointer;
}

.rivel-homepage-template .gl-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    cursor: default;
}

.rivel-homepage-template .gl-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--clr-primary-green);
}

.rivel-homepage-template .gl-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* ==========================================================================
   Info Card — premium overlay
   ========================================================================== */
.rivel-homepage-template .gl-slide-box {
    position: absolute;
    bottom: -3.25rem;
    left: 50%;
    transform: translateX(-50%);

    background: #FBF9F3;
    color: var(--clr-text-primary);
    padding: clamp(2rem, 3.4vw, 2.75rem) clamp(2rem, 3.2vw, 2.75rem) clamp(1.75rem, 3vw, 2.25rem);
    width: 88%;
    max-width: 440px;
    text-align: center;

    /* layered, soft-edged depth instead of a flat card shadow */
    box-shadow:
        0 1px 0 rgba(255,255,255,0.6) inset,
        0 30px 60px -20px rgba(10, 22, 16, 0.35),
        0 8px 20px -8px rgba(10, 22, 16, 0.2);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease 0.15s, transform 0.6s ease;
}

.rivel-homepage-template .gl-slide.active .gl-slide-box {
    opacity: 1;
    pointer-events: auto;
}

/* Thin gold accent bar centered at the top edge of the card */
.rivel-homepage-template .gl-slide-box-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-soft-sage, #9AAE9C), #C9B379);
    border-radius: 2px;
}

.rivel-homepage-template .gl-room-name {
    font-family: var(--font-editorial);
    font-size: clamp(1.75rem, 2.3vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

/* Facts row — icon chips, not a flat text line */
.rivel-homepage-template .gl-room-meta {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: clamp(0.5rem, 1.5vw, 1rem);
    margin-top: 1.5rem;
}

.rivel-homepage-template .gl-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    padding: 0.85rem 0.5rem;
    background: rgba(61, 61, 61, 0.03);
    border: 1px solid rgba(61, 61, 61, 0.08);
    border-radius: 2px;
}

.rivel-homepage-template .gl-meta-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(154, 174, 156, 0.14);
    color: var(--clr-primary-green, #3D5C43);
}

.rivel-homepage-template .gl-meta-icon svg {
    width: 14px;
    height: 14px;
}

.rivel-homepage-template .gl-meta-text {
    font-size: clamp(0.6875rem, 0.85vw, 0.75rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(61, 61, 61, 0.7);
    white-space: nowrap;
}

/* CTA link */
.rivel-homepage-template .gl-room-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--clr-text-primary);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    transition: opacity var(--transition-fast), gap var(--transition-fast);
}

.rivel-homepage-template .gl-room-cta svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.rivel-homepage-template .gl-room-cta:hover {
    opacity: 0.65;
    gap: 0.6rem;
}

.rivel-homepage-template .gl-room-cta:hover svg {
    transform: translateX(2px);
}

/* Controls */
.rivel-homepage-template .gl-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 5vw, 4rem);
    margin-top: 2rem;
}

.rivel-homepage-template .gl-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(245, 242, 233, 0.3);
    color: var(--clr-warm-ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.rivel-homepage-template .gl-nav-btn:hover {
    background-color: rgba(245, 242, 233, 0.1);
    border-color: var(--clr-warm-ivory);
}

/* Custom Ring Dots */
.rivel-homepage-template .gl-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.rivel-homepage-template .gl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(245, 242, 233, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.rivel-homepage-template .gl-dot.active {
    background-color: transparent;
    border: 1px solid var(--clr-warm-ivory);
    width: 14px;
    height: 14px;
}

.rivel-homepage-template .gl-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--clr-warm-ivory);
}

@media (max-width: 768px){
    .rivel-homepage-template .gl-header {
        padding: 1.5rem;
    }

    .rivel-homepage-template .gl-img-wrap {
        aspect-ratio: 4 / 5;
    }

    .rivel-homepage-template .gl-room-meta {
        gap: 0.5rem;
    }

    .rivel-homepage-template .gl-meta-item {
        padding: 0.65rem 0.35rem;
    }
}
    
    /* ============================================================
   PAVILION: Future/Planned badge
   Overlaid centered above the before/after comparison, sitting
   between the existing BEFORE/AFTER pill labels.
   ============================================================ */
  .rivel-homepage-template .pav-config-section{
    background-color: var(--clr-warm-ivory);
    color: var(--clr-text-primary);
    padding: 6rem 1.5rem 6rem;
    font-family: var(--font-primary);
}.rivel-homepage-template .pav-config-container{
    max-width: 1280px;
    margin: 0 auto;
}.rivel-homepage-template .pav-config-intro{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}.rivel-homepage-template .pav-config-left{
    max-width: 800px;
}.rivel-homepage-template .pav-config-title{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--clr-primary-green);
    letter-spacing: -0.02em;
}.rivel-homepage-template .pav-config-right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}.rivel-homepage-template .pav-config-desc{
    margin: 0;
    color: var(--clr-text-secondary);
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    max-width: 480px;
}.rivel-homepage-template .pav-config-tabs{
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: wrap;
}.rivel-homepage-template .pav-config-tabs::-webkit-scrollbar{ display: none; }.rivel-homepage-template .pav-tab{
    flex: 0 0 auto;
    background-color: transparent;
    border: 1px solid rgba(24, 58, 43, 0.15);
    color: var(--clr-text-secondary);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}.rivel-homepage-template .pav-tab:hover{
    border-color: var(--clr-primary-green);
    color: var(--clr-primary-green);
}.rivel-homepage-template .pav-tab.active{
    background-color: var(--clr-primary-green);
    border-color: var(--clr-primary-green);
    color: var(--clr-warm-ivory);
}.rivel-homepage-template .pav-config-stage{
    border: 1px solid rgba(24, 58, 43, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--clr-soft-cream);
    box-shadow: 0 24px 64px rgba(16, 42, 32, 0.04);
}.rivel-homepage-template .pav-visual{
    height: 60vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    background: #e8e5dc;
    user-select: none;
    touch-action: none;
}.rivel-homepage-template .pav-compare-image{
    position: absolute;
    inset: 0;
    overflow: hidden;
}.rivel-homepage-template .pav-compare-image img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    background-color: var(--clr-soft-cream); 
}.rivel-homepage-template .pav-compare-before{ z-index: 1; }.rivel-homepage-template .pav-compare-after{ z-index: 2; clip-path: inset(0 50% 0 0); }.rivel-homepage-template .pav-visual:after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 20%);
}.rivel-homepage-template .pav-compare-label{
    position: absolute;
    top: 1.5rem;
    z-index: 8;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}.rivel-homepage-template .pav-compare-label-after{
    left: 1.5rem;
    color: var(--clr-warm-ivory);
    background: rgba(16, 42, 32, 0.6);
}.rivel-homepage-template .pav-compare-label-before{
    right: 1.5rem;
    color: var(--clr-primary-green);
    background: rgba(245, 242, 233, 0.8);
}.rivel-homepage-template .pav-compare-divider{
    position: absolute;
    z-index: 9;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: var(--clr-warm-ivory);
    cursor: ew-resize;
    box-shadow: 0 0 12px rgba(16, 42, 32, 0.3);
}.rivel-homepage-template .pav-compare-handle{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    border: 3px solid var(--clr-warm-ivory);
    border-radius: 50%;
    background: var(--clr-primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--clr-warm-ivory);
    box-shadow: 0 4px 16px rgba(16, 42, 32, 0.25);
}.rivel-homepage-template .pav-compare-handle .pav-arrow{
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1;
    margin-top: -2px;
}.rivel-homepage-template .pav-compare-handle .pav-line{
    width: 2px;
    height: 16px;
    background: rgba(245, 242, 233, 0.4);
}.rivel-homepage-template .pav-slider-tip{
    position: absolute;
    top: 50%;
    margin-top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(16, 42, 32, 0.85);
    color: var(--clr-warm-ivory);
    padding: 0.4rem 0.75rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 1;
    z-index: 20;
    transition: opacity 0.4s ease;
    animation: gentleBounce 2s infinite ease-in-out;
}.rivel-homepage-template .pav-slider-tip.hidden{ opacity: 0; animation: none; }@keyframes gentleBounce{0%, 100% { transform: translate(-50%, 0); }50% { transform: translate(-50%, -4px); }}.rivel-homepage-template .pav-controls{
    position: absolute;
    z-index: 10;
    left: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
}.rivel-homepage-template .pav-ctrl{
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(245, 242, 233, 0.4);
    background: rgba(16, 42, 32, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    color: var(--clr-warm-ivory);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}.rivel-homepage-template .pav-ctrl:hover{
    background: var(--clr-primary-green);
    border-color: var(--clr-warm-ivory);
}.rivel-homepage-template .pav-meta{
    position: relative;
    padding: 2.5rem 3rem;
    background: var(--clr-warm-ivory);
    border-top: 1px solid rgba(24, 58, 43, 0.1);
    display: flex;
    flex-direction: column;
    gap: 3rem;
}.rivel-homepage-template .pav-meta-copy{
    flex: 1;
}.rivel-homepage-template .pav-meta-copy h3{
    margin: 0 0 0.75rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-terracotta);
}.rivel-homepage-template .pav-meta-copy p{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.3;
    color: var(--clr-primary-green);
    max-width: 800px;
}.rivel-homepage-template .pav-meta-stats{
    flex: 1.2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}.rivel-homepage-template .pav-stat-item{
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}.rivel-homepage-template .pav-stat-label{
    font-family: var(--font-primary, sans-serif);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-text-secondary);
}.rivel-homepage-template .pav-stat-val{
    font-family: var(--font-primary, sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--clr-primary-green);
    line-height: 1.4;
}.rivel-homepage-template .pav-features-bar{
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(24, 58, 43, 0.15);
}.rivel-homepage-template .pav-features-content{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}.rivel-homepage-template .pav-features-heading{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: 1.75rem;
    font-weight: 500;
    font-style: italic;
    color: var(--clr-primary-green);
}.rivel-homepage-template .pav-features-list{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}.rivel-homepage-template .pav-feature-item{
    display: flex;
    align-items: center;
    gap: 1.25rem;
}.rivel-homepage-template .pav-feature-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(24, 58, 43, 0.05);
    color: var(--clr-terracotta);
}.rivel-homepage-template .pav-feature-text{
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 1rem; 
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-primary-green);
}.rivel-homepage-template .pav-cta-btn{
    background-color: var(--clr-primary-green);
    color: var(--clr-warm-ivory);
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: background-color var(--transition-fast);
    width: fit-content;
}.rivel-homepage-template .pav-cta-btn:hover{
    background-color: var(--clr-deep-green);
}.rivel-homepage-template .pav-cta-btn .btn-icon-circle{
    background-color: var(--clr-warm-ivory);
    color: var(--clr-primary-green);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}.rivel-homepage-template .pav-cta-btn:hover .btn-icon-circle{ transform: rotate(45deg); }@media (min-width: 768px){.rivel-homepage-template .pav-features-list{
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 2.5rem;
    }}@media (min-width: 1024px){.rivel-homepage-template .pav-config-intro{
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }.rivel-homepage-template .pav-config-right{
        padding-bottom: 0.5rem;
        flex-shrink: 0;
    }.rivel-homepage-template .pav-meta{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 4rem;
    }.rivel-homepage-template .pav-meta-copy p{
        max-width: 450px;
    }.rivel-homepage-template .pav-features-bar{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }.rivel-homepage-template .pav-features-content{
        flex-direction: row;
        align-items: center;
        gap: 3.5rem; 
    }.rivel-homepage-template .pav-feature-cta{
        flex-shrink: 0;
    }}@media (max-width: 768px){.rivel-homepage-template .pav-meta{ padding: 2rem 1.5rem; }}.rivel-homepage-template .rivel-banner-cta-section{
    background-color: var(--clr-warm-ivory, var(--clr-warm-ivory));
    padding: 0 1.5rem; 
    display: flex;
    justify-content: center;
} 
   
.rivel-homepage-template .pav-future-badge{
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 8;
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-warm-ivory);
    background: rgba(16, 42, 32, 0.75);
    border: 1px dashed rgba(245, 242, 233, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
    pointer-events: none;
}
@media (max-width: 640px){
    .rivel-homepage-template .pav-future-badge{
        top: 4rem;
        max-width: 85%;
        white-space: normal;
        text-align: center;
        font-size: 0.5625rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ============================================================
   PAVILION: Static gallery (always-available fallback)
   ============================================================ */
.rivel-homepage-template .pav-static-gallery{
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(24, 58, 43, 0.12);
}
.rivel-homepage-template .pav-static-gallery-heading{
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-primary-green);
    margin-bottom: 1.5rem;
}
.rivel-homepage-template .pav-static-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.rivel-homepage-template .pav-static-item{
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--clr-soft-cream);
}
.rivel-homepage-template .pav-static-item img{
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.rivel-homepage-template .pav-static-item figcaption{
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--clr-primary-green);
    padding: 0.75rem 1rem;
}
.rivel-homepage-template .pav-static-gallery-note{
    margin-top: 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--clr-text-secondary);
}
@media (min-width: 768px){
    .rivel-homepage-template .pav-static-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1024px){
    .rivel-homepage-template .pav-static-grid{
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .rivel-homepage-template .pav-config-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Space Details: 3 items inline instead of stacked vertically */
    .rivel-homepage-template .pav-features-list {
        flex-direction: row;          /* was: column (stacked) on mobile by default */
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 1rem;
    }

    /* Within each item: icon above, label below (was: icon left of label) */
    .rivel-homepage-template .pav-feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        flex: 1;
        min-width: 0;                 /* lets long labels wrap instead of overflowing */
    }

    /* Smaller icon + text so all 3 fit comfortably across a phone width */
    .rivel-homepage-template .pav-feature-icon {
        width: 40px;
        height: 40px;
    }
    .rivel-homepage-template .pav-feature-text {
        font-size: 0.7rem;
        letter-spacing: 0.05em;       /* slightly tighter than desktop's 0.1em, so labels don't feel too spread out at this size */
    }
}

/* ============================================================
   PAVILION: Bigger touch hit-area on the drag divider
   (visible line stays 2px; the actual draggable/tappable area
   is much wider -- this is what iOS/Android touch needs)
   ============================================================ */
.rivel-homepage-template .pav-compare-hitarea{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 60px;
    transform: translateX(-50%);
    touch-action: none;
    cursor: ew-resize;
}
.rivel-homepage-template .pav-compare-divider{
    touch-action: none;
}

/* ============================================================
   PAVILION: Keyboard focus states
   ============================================================ */
.rivel-homepage-template .pav-compare-divider:focus-visible .pav-compare-handle{
    outline: 3px solid var(--clr-terracotta);
    outline-offset: 3px;
}
.rivel-homepage-template .pav-tab:focus-visible,
.rivel-homepage-template .pav-ctrl:focus-visible{
    outline: 3px solid var(--clr-terracotta);
    outline-offset: 2px;
}

/* ============================================================
   PAVILION: Reduced-motion fallback
   Hide the interactive drag comparison entirely and rely on the
   static gallery only, per requirement.
   ============================================================ */
@media (prefers-reduced-motion: reduce){
    .rivel-homepage-template .pav-interactive-only{
        display: none;
    }
    .rivel-homepage-template .pav-static-gallery{
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}
    
    .rivel-homepage-template .rivel-banner-cta-section{
    background-color: var(--clr-warm-ivory, var(--clr-warm-ivory));
    padding: 4rem 1.5rem; 
    display: flex;
    justify-content: center;
}.rivel-homepage-template .rivel-banner-container{
    width: 100%;
    max-width: 1280px;
}.rivel-homepage-template .rivel-banner-card{
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 4rem;
    min-height: 180px;
    box-shadow: 0 20px 40px rgba(16, 42, 32, 0.08);
}.rivel-homepage-template .banner-bg-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background-color: var(--clr-deep-green, var(--clr-deep-green));
}.rivel-homepage-template .banner-overlay{
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(16, 42, 32, 0.95) 0%, rgba(16, 42, 32, 0.8) 45%, rgba(16, 42, 32, 0.2) 100%);
}.rivel-homepage-template .banner-content-left{
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 750px;
}.rivel-homepage-template .banner-title{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.01em;
}.rivel-homepage-template .banner-title .editorial-italic{
    color: var(--clr-warm-ivory, var(--clr-warm-ivory));
}.rivel-homepage-template .banner-subtext{
    margin: 0;
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}.rivel-homepage-template .banner-content-right{
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}.rivel-homepage-template .banner-action-group{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}.rivel-homepage-template .banner-btn{
    background-color: var(--clr-terracotta, #C5A059);
    color: #ffffff;
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    white-space: nowrap;
}.rivel-homepage-template .banner-btn:hover{
    background-color: #ffffff;
    color: var(--clr-primary-green, var(--clr-deep-green));
    transform: translateY(-2px);
}.rivel-homepage-template .banner-disclaimer{
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 0.75rem; 
    font-weight: 500;
    color: #ffffff; 
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
}.rivel-homepage-template .banner-brand-mark{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 2.5rem;
}.rivel-homepage-template .mark-hotel{
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
}.rivel-homepage-template .mark-rivel{
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.05em;
    line-height: 1;
}@media (max-width: 1024px){.rivel-homepage-template .rivel-banner-card{ padding: 3rem 2.5rem; }.rivel-homepage-template .banner-brand-mark{ display: none; }.rivel-homepage-template .banner-overlay{
        background: linear-gradient(to right, rgba(16, 42, 32, 0.95) 0%, rgba(16, 42, 32, 0.85) 60%, rgba(16, 42, 32, 0.4) 100%);
    }}@media (max-width: 768px){.rivel-homepage-template .rivel-banner-cta-section{ padding: 3rem 1rem; }.rivel-homepage-template .rivel-banner-card{
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 2.5rem 1.5rem;
        gap: 2.5rem;
    }.rivel-homepage-template .banner-overlay{
        background: linear-gradient(to bottom, rgba(16, 42, 32, 0.95) 0%, rgba(16, 42, 32, 0.8) 60%, rgba(16, 42, 32, 0.4) 100%);
    }.rivel-homepage-template .banner-content-right{ width: 100%; justify-content: flex-start; }.rivel-homepage-template .banner-action-group{ align-items: flex-start; width: 100%; }.rivel-homepage-template .banner-btn{ width: 100%; text-align: center; }}.rivel-homepage-template .spa-roadmap-section{
    --bg-page: var(--clr-warm-ivory);
    --clr-forest: var(--clr-deep-green);
    --clr-terra: var(--clr-terracotta);
    
    background-color: var(--bg-page);
    color: var(--clr-forest);
    padding: 8rem 1.5rem;
    overflow: hidden;
}.rivel-homepage-template .spa-roadmap-container{
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}.rivel-homepage-template .spa-roadmap-header{
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: flex-end;
}.rivel-homepage-template .spa-header-left{ max-width: 850px; }.rivel-homepage-template .spa-eyebrow{
    font-family: var(--font-primary, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-terra);
    margin-bottom: 1.5rem;
    display: block;
}.rivel-homepage-template .spa-title{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--clr-forest);
    letter-spacing: -0.01em;
}.rivel-homepage-template .spa-italic{ font-style: italic; }.rivel-homepage-template .spa-header-right{
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 0.5rem;
    justify-content: flex-end; 
}.rivel-homepage-template .spa-desc{
    margin: 0;
    font-family: var(--font-primary, sans-serif);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(16, 42, 32, 0.8);
}.rivel-homepage-template .spa-editorial-line{
    font-family: var(--font-editorial, serif);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--clr-terra);
}.rivel-homepage-template .spa-accordion-wrapper{
    display: flex;
    width: 100%;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    gap: 2px; 
    background-color: var(--clr-forest);
}.rivel-homepage-template .spa-acc-panel:nth-child(1){ --acc-shade: var(--clr-deep-green); }.rivel-homepage-template .spa-acc-panel:nth-child(2){ --acc-shade: #1A372A; }.rivel-homepage-template .spa-acc-panel:nth-child(3){ --acc-shade: #244535; }.rivel-homepage-template .spa-acc-panel:nth-child(4){ --acc-shade: #2F5340; }.rivel-homepage-template .spa-acc-panel:nth-child(5){ --acc-shade: #3A614C; }.rivel-homepage-template .spa-acc-panel:nth-child(6){ --acc-shade: #467058; }.rivel-homepage-template .spa-acc-panel:nth-child(7){ --acc-shade: #527E64; }.rivel-homepage-template .spa-acc-panel{
    flex: 1; 
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: var(--acc-shade); 
}.rivel-homepage-template .spa-acc-panel.active{
    flex: 8; 
    cursor: default;
}.rivel-homepage-template .spa-acc-closed{
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}.rivel-homepage-template .spa-acc-panel.active .spa-acc-closed{
    opacity: 0;
    pointer-events: none;
}.rivel-homepage-template .spa-acc-open{
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 100%;
    min-width: 500px; 
    z-index: 4;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease 0.2s; 
}.rivel-homepage-template .spa-acc-panel.active .spa-acc-open{
    opacity: 1;
    pointer-events: auto;
}.rivel-homepage-template .acc-num{
    width: 44px;
    height: 44px;
    border: 1px solid rgba(245, 242, 233, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary, sans-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--bg-page);
    transition: background-color 0.3s, color 0.3s;
}.rivel-homepage-template .spa-acc-panel:hover:not(.active) .acc-num{
    background-color: var(--bg-page);
    color: var(--clr-forest);
}.rivel-homepage-template .acc-open-header{
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}.rivel-homepage-template .acc-open-content h3{
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: 3rem; font-weight: 500;
    color: var(--bg-page); margin: 0 0 0.5rem 0;
}.rivel-homepage-template .acc-subtitle{
    font-family: var(--font-primary, sans-serif);
    font-size: 0.875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--clr-terra); display: block; margin-bottom: 1.5rem;
}.rivel-homepage-template .acc-open-content p{
    font-family: var(--font-primary, sans-serif);
    font-size: 1.125rem; line-height: 1.6;
    color: rgba(245, 242, 233, 0.9);
    max-width: 450px; margin: 0 0 2rem 0;
}.rivel-homepage-template .acc-meta{
    display: flex; flex-direction: column; gap: 0.5rem;
    font-family: var(--font-primary, sans-serif);
    font-size: 0.8125rem; color: rgba(245, 242, 233, 0.7);
    letter-spacing: 0.05em; text-transform: uppercase;
}.rivel-homepage-template .acc-meta strong{ color: var(--bg-page); font-weight: 700; }.rivel-homepage-template .acc-controls{ 
    display: flex; 
    gap: 0.75rem; 
    margin-top: auto; 
    padding-top: 2rem;
}.rivel-homepage-template .acc-ctrl{
    width: 44px; 
    height: 44px; 
    border-radius: 50%;
    border: 1px solid rgba(245, 242, 233, 0.3);
    background: transparent;
    color: var(--bg-page);
    font-size: 1.75rem; 
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s; padding-bottom: 3px;
}.rivel-homepage-template .acc-ctrl:hover{ 
    background: var(--bg-page); 
    color: var(--clr-forest); 
}.rivel-homepage-template .spa-bottom-content{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(16, 42, 32, 0.1);
}.rivel-homepage-template .spa-bottom-logic{ display: flex; flex-direction: column; gap: 0.5rem; }.rivel-homepage-template .logic-eyebrow{
    font-family: var(--font-primary, sans-serif);
    font-size: 0.625rem; font-weight: 700; letter-spacing: 0.15em; color: var(--clr-terra);
}.rivel-homepage-template .logic-flow{
    font-family: var(--font-editorial, serif);
    font-size: 1.25rem; font-style: italic; color: var(--clr-forest);
}.rivel-homepage-template .logic-arrow{
    font-family: var(--font-primary, sans-serif);
    font-style: normal; color: var(--clr-terra);
    font-size: 1rem; opacity: 0.5;
}.rivel-homepage-template .spa-bottom-ops{
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 1.5rem; text-align: right;
}.rivel-homepage-template .ops-line{
    font-family: var(--font-primary, sans-serif);
    font-size: 0.8125rem; font-weight: 500;
    color: rgba(16, 42, 32, 0.7); letter-spacing: 0.02em;
}.rivel-homepage-template .spa-pill-btn{
    display: inline-flex;
    align-items: center;
    background-color: var(--clr-forest);
    color: var(--bg-page);
    font-family: var(--font-primary, sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    padding: 0.375rem 0.375rem 0.375rem 1.5rem;
    gap: 1rem;
    transition: background-color 0.3s ease;
}.rivel-homepage-template .spa-pill-btn:hover{
    background-color: #0A1A14; 
}.rivel-homepage-template .spa-pill-btn .btn-circle{
    width: 36px;
    height: 36px;
    background-color: var(--bg-page);
    color: var(--clr-forest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}.rivel-homepage-template .spa-pill-btn:hover .btn-circle{
    transform: translateX(4px);
}@media (max-width: 1024px){.rivel-homepage-template .spa-roadmap-header{ grid-template-columns: 1fr; gap: 2rem; }.rivel-homepage-template .spa-bottom-content{ flex-direction: column; align-items: flex-start; gap: 3rem; }.rivel-homepage-template .spa-bottom-ops{ align-items: flex-start; text-align: left; }}@media (max-width: 768px){
.rivel-homepage-template .spa-roadmap-section{padding: 0 1.5rem 4rem 1.5rem }.rivel-homepage-template .spa-accordion-wrapper{ flex-direction: column; height: auto; min-height: 0; }
.rivel-homepage-template .spa-acc-panel{ flex: 0 0 auto; border-right: none; border-bottom: 2px solid var(--bg-page); }
.rivel-homepage-template .spa-acc-panel:not(.active){ flex: 0 0 72px; }
.rivel-homepage-template .spa-acc-panel.active{
    flex: 0 0 auto;
    min-height: 0;              /* was: 420px — that fixed floor is what the absolute content got clipped to */
}
.rivel-homepage-template .spa-acc-closed{ position: relative; padding: 1rem 0; justify-content: center; }

/* Hide the collapsed number badge once a panel opens, so it doesn't
   leave an invisible empty gap above the real content (it's still in
   normal flow even at opacity:0, since it's position:relative now) */
.rivel-homepage-template .spa-acc-panel.active .spa-acc-closed{
    display: none;
}

.rivel-homepage-template .spa-acc-open{
    position: relative;         /* was: absolute (top/left/bottom:0) — that's what
                                    locked its height to the panel's, instead of
                                    the panel sizing itself around the content */
    top: auto; left: auto; bottom: auto;
    width: 100%;
    padding: 2rem 1.5rem 2.5rem;   /* extra bottom room so the arrow controls
                                       never sit flush against the panel edge */
}
.rivel-homepage-template .acc-num{ width: 40px; height: 40px; font-size: 1.05rem; }
.rivel-homepage-template .acc-open-content h3{ font-size: 2rem; }
.rivel-homepage-template .acc-controls{ padding-top: 1.5rem; padding-bottom: 0.5rem; }
}.rivel-homepage-template .rivel-banner-cta-section{
    background-color: var(--clr-warm-ivory, var(--clr-warm-ivory));
    padding: 4rem 1.5rem; 
    display: flex;
    justify-content: center;
}.rivel-homepage-template .rivel-banner-container{
    width: 100%;
    max-width: 1400px;
}.rivel-homepage-template .rivel-banner-card{
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 4rem;
    min-height: 180px;
    box-shadow: 0 20px 40px rgba(16, 42, 32, 0.08);
}.rivel-homepage-template .banner-bg-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background-color: var(--clr-deep-green, var(--clr-deep-green));
}.rivel-homepage-template .banner-overlay{
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(16, 42, 32, 0.95) 0%, rgba(16, 42, 32, 0.8) 45%, rgba(16, 42, 32, 0.2) 100%);
}.rivel-homepage-template .banner-content-left{
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 750px;
}.rivel-homepage-template .banner-title{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.01em;
}.rivel-homepage-template .banner-title .editorial-italic{
    color: var(--clr-warm-ivory, var(--clr-warm-ivory));
}.rivel-homepage-template .banner-subtext{
    margin: 0;
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}.rivel-homepage-template .banner-content-right{
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}.rivel-homepage-template .banner-action-group{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}.rivel-homepage-template .banner-btn{
    background-color: var(--clr-terracotta, #C5A059);
    color: #ffffff;
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    white-space: nowrap;
}.rivel-homepage-template .banner-btn:hover{
    background-color: #ffffff;
    color: var(--clr-primary-green, var(--clr-deep-green));
    transform: translateY(-2px);
}.rivel-homepage-template .banner-disclaimer{
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 0.75rem; 
    font-weight: 500;
    color: #ffffff; 
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
}.rivel-homepage-template .banner-brand-mark{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 2.5rem;
}.rivel-homepage-template .mark-hotel{
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
}.rivel-homepage-template .mark-rivel{
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.05em;
    line-height: 1;
}@media (max-width: 1024px){.rivel-homepage-template .rivel-banner-card{ padding: 3rem 2.5rem; }.rivel-homepage-template .banner-brand-mark{ display: none; }.rivel-homepage-template .banner-overlay{
        background: linear-gradient(to right, rgba(16, 42, 32, 0.95) 0%, rgba(16, 42, 32, 0.85) 60%, rgba(16, 42, 32, 0.4) 100%);
    }}@media (max-width: 768px){.rivel-homepage-template .rivel-banner-cta-section{ padding: 3rem 1rem; }.rivel-homepage-template .rivel-banner-card{
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 2.5rem 1.5rem;
        gap: 2.5rem;
    }.rivel-homepage-template .banner-overlay{
        background: linear-gradient(to bottom, rgba(16, 42, 32, 0.95) 0%, rgba(16, 42, 32, 0.8) 60%, rgba(16, 42, 32, 0.4) 100%);
    }.rivel-homepage-template .banner-content-right{ width: 100%; justify-content: flex-start; }.rivel-homepage-template .banner-action-group{ align-items: flex-start; width: 100%; }.rivel-homepage-template .banner-btn{ width: 100%; text-align: center; }}
    
    /* ==========================================================================
   HOTEL RIVEL — HOSPITALITY SECTION (DARK FOREST EDITION), REDESIGNED
   Local tokens fall back to sane values if the parent theme's --clr-* vars
   are ever missing, so the section never renders unstyled.
   ========================================================================== */

.rivel-homepage-template .hosp-section.hosp-dark{
    --hosp-line: rgba(245, 241, 231, 0.16);
    --hosp-muted: rgba(245, 241, 231, 0.68);
    --hosp-muted-soft: rgba(245, 241, 231, 0.48);
    background-color: var(--clr-deep-green, #14271F);
    color: var(--clr-warm-ivory, #F5F1E7);
    padding: 7rem 1.5rem 6rem;
    font-family: var(--font-primary, sans-serif);
    overflow: hidden;
}

.rivel-homepage-template .hosp-container{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5.5rem;
}

/* ---------- Intro ---------- */
.rivel-homepage-template .hosp-eyebrow{
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-primary, sans-serif);
    color: var(--clr-terracotta, #C1784B);
    display: block;
    margin-bottom: 1.25rem;
}
.rivel-homepage-template .hosp-intro{
    max-width: 620px;
}
.rivel-homepage-template .hosp-title{
    margin: 0 0 1.25rem 0;
    font-family: var(--font-editorial, serif);
    font-size: clamp(2.25rem, 3.4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.01em;
}
.rivel-homepage-template .hosp-subtext{
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--hosp-muted);
    margin: 0;
    max-width: 46ch;
}

/* ---------- Experience rows (Stay / Dine) ---------- */
.rivel-homepage-template .hosp-row{
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4.5rem;
    align-items: center;
    padding-top: 4rem;
    border-top: 1px solid var(--hosp-line);
}

.rivel-homepage-template .hosp-row-media{
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--hosp-line);
}
.rivel-homepage-template .hosp-row-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 1025px){
    .rivel-homepage-template .hosp-row:hover .hosp-row-img{
        transform: scale(1.03);
    }
}

.rivel-homepage-template .hosp-row-content{
    display: flex;
    flex-direction: column;
    max-width: 30rem;
}
.rivel-homepage-template .hosp-kicker{
    font-family: var(--font-primary, sans-serif );
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-terracotta, #C1784B);
    margin-bottom: 1rem;
}
.rivel-homepage-template .hosp-row-title{
    font-family: var(--font-editorial, serif);
    font-size: clamp(1.625rem, 2.2vw, 2rem);
    font-weight: 400;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 1.125rem 0;
}
.rivel-homepage-template .hosp-row-copy{
    font-size: 1rem;
    line-height: 1.7;
    color: var(--hosp-muted);
    margin: 0 0 2.25rem 0;
    max-width: 38ch;
}

/* ---------- Stat list ---------- */
.rivel-homepage-template .hosp-stats{
    display: flex;
    flex-direction: column;
    margin: 0 0 1.5rem 0;
}
.rivel-homepage-template .hosp-stat{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    padding: 0.9rem 0;
    border-top: 1px solid var(--hosp-line);
}
.rivel-homepage-template .hosp-stat dt{
    font-size: 0.9375rem;
    color: var(--hosp-muted-soft);
    margin: 0;
}
.rivel-homepage-template .hosp-stat dd{
    font-family: var(--font-editorial, serif);
    font-size: 1.0625rem;
    color: var(--clr-warm-ivory, #F5F1E7);
    margin: 0;
    text-align: right;
}
.rivel-homepage-template .hosp-note{
    font-size: 0.875rem;
    font-style: italic;
    color: var(--hosp-muted-soft);
    margin: -0.5rem 0 1.5rem 0;
}

.rivel-homepage-template .hosp-link{
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--clr-warm-ivory, #F5F1E7);
    text-decoration: none;
    border-bottom: 1px solid var(--clr-terracotta, #C1784B);
    padding-bottom: 0.3rem;
    align-self: flex-start;
    transition: color 0.3s ease;
}
.rivel-homepage-template .hosp-link:hover{
    color: var(--clr-terracotta, #C1784B);
}
.rivel-homepage-template .hosp-link-arrow{
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.rivel-homepage-template .hosp-link:hover .hosp-link-arrow{
    transform: translateX(3px);
}

/* ---------- Group Planning band ---------- */
.rivel-homepage-template .hosp-planning{
    padding-top: 4rem;
    border-top: 1px solid var(--hosp-line);
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.rivel-homepage-template .planning-head{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}
.rivel-homepage-template .planning-title{
    font-family: var(--font-editorial, serif);
    font-size: clamp(1.5rem, 2vw, 1.875rem);
    font-weight: 400;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
    max-width: 26ch;
    flex: 1;
}
.rivel-homepage-template .planning-copy{
    font-size: 1rem;
    line-height: 1.65;
    color: var(--hosp-muted);
    margin: 0;
    max-width: 30ch;
    flex: 1;
}

.rivel-homepage-template .planning-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.rivel-homepage-template .planning-item{
    padding: 0 2rem;
    border-left: 1px solid var(--hosp-line);
}
.rivel-homepage-template .planning-item:first-child{
    padding-left: 0;
    border-left: none;
}
.rivel-homepage-template .planning-item h4{
    font-family: var(--font-editorial, serif);
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--clr-warm-ivory, #F5F1E7);
    margin: 0 0 0.5rem 0;
}
.rivel-homepage-template .planning-item p{
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--hosp-muted-soft);
    margin: 0;
}

.rivel-homepage-template .planning-cta{
    display: flex;
    justify-content: flex-start;
}

/* ---------- CTA pill ---------- */
.rivel-homepage-template .hosp-pill-btn{
    display: inline-flex;
    align-items: center;
    background-color: var(--clr-warm-ivory, #F5F1E7);
    color: var(--clr-primary-green, #1D3529);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    padding: 0.375rem 0.375rem 0.375rem 1.75rem;
    gap: 1.25rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.rivel-homepage-template .hosp-pill-btn:hover{
    background-color: #ffffff;
    transform: translateY(-2px);
}
.rivel-homepage-template .hosp-pill-btn .btn-circle{
    width: 38px;
    height: 38px;
    background-color: var(--clr-primary-green, #1D3529);
    color: var(--clr-warm-ivory, #F5F1E7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.rivel-homepage-template .hosp-pill-btn:hover .btn-circle{
    transform: translateX(4px);
}

/* ---------- Reveal (kept as the section's single entrance treatment) ---------- */
.rivel-homepage-template .reveal-elem{
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rivel-homepage-template .reveal-elem.is-visible{
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
    .rivel-homepage-template .hosp-row{
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .rivel-homepage-template .hosp-row--dine .hosp-row-content{
        order: 1;
    }
    .rivel-homepage-template .hosp-row--dine .hosp-row-media{
        order: 2;
    }
    .rivel-homepage-template .hosp-row-media{
        aspect-ratio: 16 / 10;
    }
    .rivel-homepage-template .hosp-row-content,
    .rivel-homepage-template .planning-copy{
        max-width: none;
    }
    .rivel-homepage-template .planning-head{
        flex-direction: column;
        gap: 1.25rem;
    }
}

@media (max-width: 768px){
    .rivel-homepage-template .hosp-section.hosp-dark{
        padding: 5rem 1.5rem;
    }
    .rivel-homepage-template .hosp-container{
        gap: 4rem;
    }
    .rivel-homepage-template .hosp-row{
        padding-top: 3rem;
    }
    .rivel-homepage-template .planning-list{
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .rivel-homepage-template .planning-item{
        padding: 0;
        border-left: none;
        border-top: 1px solid var(--hosp-line);
        padding-top: 1.5rem;
    }
    .rivel-homepage-template .planning-item:first-child{
        border-top: none;
        padding-top: 0;
    }
}

@media (prefers-reduced-motion: reduce){
    .rivel-homepage-template .hosp-row-img{
        transition: none !important;
    }
    .rivel-homepage-template .reveal-elem{
        transition: none !important;
        opacity: 1;
        transform: none;
    }
}

.rivel-homepage-template .experiences-section{
    background-color: var(--clr-soft-cream);
    padding: 5rem 1.5rem;
    color: var(--clr-text-primary);
}.rivel-homepage-template .exp-container{
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}.rivel-homepage-template .exp-header-split{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1rem;
}.rivel-homepage-template .exp-title{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 500;
    line-height: 1.15;
    color: var(--clr-primary-green);
    letter-spacing: -0.01em;
}.rivel-homepage-template .exp-header-right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}.rivel-homepage-template .exp-desc{
    margin: 0;
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    color: var(--clr-text-secondary);
    max-width: 500px;
}.rivel-homepage-template .exp-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}.rivel-homepage-template .exp-card-featured{
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
    isolation: isolate;
    text-decoration: none;
}.rivel-homepage-template .exp-feat-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}.rivel-homepage-template .exp-feat-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 42, 32, 0) 40%, rgba(16, 42, 32, 0.85) 100%);
    z-index: -1;
    transition: opacity var(--transition-base);
}.rivel-homepage-template .exp-feat-content{
    padding: 2.5rem 2rem;
    z-index: 10;
}.rivel-homepage-template .exp-feat-title{
    font-family: var(--font-primary);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 500;
    color: var(--clr-warm-ivory);
    margin-bottom: 0.5rem;
}.rivel-homepage-template .exp-feat-text{
    font-family: var(--font-primary);
    font-size: 1rem;
    color: rgba(245, 242, 233, 0.8);
}.rivel-homepage-template .exp-card-featured:hover .exp-feat-img{ transform: scale(1.04); }.rivel-homepage-template .exp-subgrid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}.rivel-homepage-template .exp-card-std{
    background-color: var(--clr-warm-ivory);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(16, 42, 32, 0.04);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}.rivel-homepage-template .exp-card-std:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(16, 42, 32, 0.08);
}.rivel-homepage-template .exp-card-img-wrapper{
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--clr-soft-sage);
}.rivel-homepage-template .exp-std-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}.rivel-homepage-template .exp-card-std:hover .exp-std-img{ transform: scale(1.05); }.rivel-homepage-template .exp-card-content{
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}.rivel-homepage-template .exp-card-title{
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--clr-primary-green);
    margin-bottom: 0.5rem;
}.rivel-homepage-template .exp-card-text{
    font-family: var(--font-primary);
    font-size: 0.875rem;
    color: var(--clr-text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}.rivel-homepage-template .exp-card-link{
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-terracotta);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}.rivel-homepage-template .exp-card-std:hover .exp-card-link{ gap: 0.75rem; }@media (min-width: 768px){.rivel-homepage-template .experiences-section{ padding: 7rem 2rem; }.rivel-homepage-template .exp-subgrid{ grid-template-columns: repeat(2, 1fr); gap: 2rem; }.rivel-homepage-template .exp-card-featured{ min-height: 480px; }}@media (min-width: 1024px){.rivel-homepage-template .experiences-section{ padding: 9rem 2rem; }.rivel-homepage-template .exp-container{ gap: 4rem; }.rivel-homepage-template .exp-header-split{
        flex-direction: row;
        justify-content: space-between;
        align-items: center; 
        margin-bottom: 1rem;
    }.rivel-homepage-template .exp-header-right{ padding-bottom: 0; flex-shrink: 0; }.rivel-homepage-template .exp-grid{ grid-template-columns: 0.8fr 1.2fr; gap: 2rem; }.rivel-homepage-template .exp-card-featured{ height: 100%; min-height: auto; }}@media (min-width: 1440px){.rivel-homepage-template .exp-grid{ gap: 3rem; }.rivel-homepage-template .exp-subgrid{ gap: 3rem 2rem; }}.rivel-homepage-template .programmes-editorial-section{
    position: relative;
    background-color: var(--clr-warm-ivory, var(--clr-warm-ivory));
    padding: 8rem 0 4rem 0;
    overflow: hidden;
    color: var(--clr-primary-green, var(--clr-deep-green));
}.rivel-homepage-template .vision-section{
    display: flex;
    flex-direction: column;
    width: 100%;
}.rivel-homepage-template .vision-intro-area{
    background-color: var(--clr-warm-ivory);
    padding: 0rem 1.5rem 4rem; 
}.rivel-homepage-template .vision-header-split{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}.rivel-homepage-template .vision-header-left{
    max-width: 800px;
}.rivel-homepage-template .vision-heading{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--clr-primary-green, var(--clr-deep-green)); 
    letter-spacing: -0.02em;
}.rivel-homepage-template .vision-header-right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}.rivel-homepage-template .vision-desc{
    margin: 0;
    color: var(--clr-text-secondary, #4A5B52);
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    max-width: 480px;
}.rivel-homepage-template .vision-interactive-area{
    position: relative;
    width: 100%;
    min-height: 65vh; 
    display: flex;
    background-color: var(--clr-deep-green, var(--clr-deep-green));
}.rivel-homepage-template .vision-bgs{
    position: absolute;
    inset: 0;
    z-index: 1;
}.rivel-homepage-template .vision-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}.rivel-homepage-template .vision-bg.active{ opacity: 1; }.rivel-homepage-template .vision-overlay{
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(16, 42, 32, 0.9) 0%, rgba(16, 42, 32, 0.4) 40%, transparent 100%);
    pointer-events: none;
}.rivel-homepage-template .vision-grid{
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    flex: 1; 
}.rivel-homepage-template .vision-col{
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    padding: 3rem 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15); 
    cursor: pointer;
    transition: background-color 0.4s ease;
}.rivel-homepage-template .vision-col:last-child{ border-right: none; }.rivel-homepage-template .vision-col:hover{ background-color: rgba(255, 255, 255, 0.08); }.rivel-homepage-template .vision-col-title{
    margin: 0 0 1rem 0;
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff; 
}.rivel-homepage-template .vision-col-desc{
    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.75);
}@media (min-width: 1024px){.rivel-homepage-template .vision-header-split{
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }.rivel-homepage-template .vision-header-right{
        padding-bottom: 0.5rem;
        flex-shrink: 0;
    }}@media (max-width: 1024px){.rivel-homepage-template .vision-col{ padding: 3rem 1.5rem; }}@media (max-width: 768px){.rivel-homepage-template .vision-interactive-area{ min-height: auto; }.rivel-homepage-template .vision-grid{ grid-template-columns: 1fr; }.rivel-homepage-template .vision-col{
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15); 
        padding: 3rem 1.5rem;
    }}
    
   
    
    .rivel-homepage-template .vision-section{
    display: flex;
    flex-direction: column;
    width: 100%;
}.rivel-homepage-template .vision-intro-area{
    background-color: var(--clr-warm-ivory, var(--clr-warm-ivory));
    padding: 6rem 1.5rem 4rem; 
}.rivel-homepage-template .vision-header-split{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}.rivel-homepage-template .vision-header-left{
    max-width: 800px;
}.rivel-homepage-template .vision-heading{
    margin: 0;
    font-family: var(--font-editorial, "Georgia", serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--clr-primary-green, var(--clr-deep-green)); 
    letter-spacing: -0.02em;
}.rivel-homepage-template .vision-header-right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}.rivel-homepage-template .vision-desc{
    margin: 0;
    color: var(--clr-text-secondary, #4A5B52);
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    max-width: 480px;
}.rivel-homepage-template .vision-interactive-area{
    position: relative;
    width: 100%;
    min-height: 65vh; 
    display: flex;
    background-color: var(--clr-deep-green, var(--clr-deep-green));
}.rivel-homepage-template .vision-bgs{
    position: absolute;
    inset: 0;
    z-index: 1;
}.rivel-homepage-template .vision-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}.rivel-homepage-template .vision-bg.active{ opacity: 1; }.rivel-homepage-template .vision-overlay{
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(16, 42, 32, 0.9) 0%, rgba(16, 42, 32, 0.4) 40%, transparent 100%);
    pointer-events: none;
}.rivel-homepage-template .vision-grid{
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    flex: 1; 
}.rivel-homepage-template .vision-col{
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    padding: 3rem 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15); 
    cursor: pointer;
    transition: background-color 0.4s ease;
}.rivel-homepage-template .vision-col:last-child{ border-right: none; }.rivel-homepage-template .vision-col:hover{ background-color: rgba(255, 255, 255, 0.08); }.rivel-homepage-template .vision-col-title{
    margin: 0 0 1rem 0;
    font-family: var(--font-primary, "system-ui", sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff; 
}.rivel-homepage-template .vision-col-desc{
    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.75);
}@media (min-width: 1024px){.rivel-homepage-template .vision-header-split{
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }.rivel-homepage-template .vision-header-right{
        padding-bottom: 0.5rem;
        flex-shrink: 0;
    }}@media (max-width: 1024px){.rivel-homepage-template .vision-col{ padding: 3rem 1.5rem; }}@media (max-width: 768px){.rivel-homepage-template .vision-interactive-area{ min-height: auto; }.rivel-homepage-template .vision-intro-area{
    background-color: var(--clr-warm-ivory);
    padding: 0rem 1.5rem 4rem; }.rivel-homepage-template .vision-grid{ grid-template-columns: 1fr; }.rivel-homepage-template .vision-col{
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15); 
        padding: 3rem 1.5rem;
        
        background-color: rgba(16, 42, 32, 0.6);
    }}
    
    /* ============================================================
   ARRIVAL SECTION
   Map + arrival animation
   ============================================================ */

/*
 * Desktop layout:
 * - Left content stays aligned with the site's 1280px container.
 * - Right map breaks out toward the right edge of the viewport.
 */

.rivel-homepage-template .arrival-section {
    display: grid;
    grid-template-columns:
        minmax(0, 640px)
        minmax(0, 1fr);

    width: 100%;
    max-width: none;

    align-items: center;

    /*
     * This creates the same left starting position as a
     * centered 1280px content container.
     */
    padding-left: max(0px, calc((100vw - 1280px) / 2));

    box-sizing: border-box;
}


/* ------------------------------------------------------------
   LEFT CONTENT
   ------------------------------------------------------------ */

.rivel-homepage-template .arrival-left {
    width: 100%;
    max-width: 640px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-right: 4rem;

    box-sizing: border-box;
}


/* ------------------------------------------------------------
   RIGHT MAP
   ------------------------------------------------------------ */

.rivel-homepage-template .arrival-right {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    /*
     * Allow the map to extend beyond the normal 1280px
     * content boundary and reach the browser edge.
     */
    overflow: hidden;
}


/* ------------------------------------------------------------
   ARRIVAL TYPOGRAPHY
   ------------------------------------------------------------ */

.rivel-homepage-template .arrival-headline {
    font-family: var(--font-editorial, Georgia, serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
    color: var(--clr-primary-green);
}

.rivel-homepage-template .headline-italic {
    font-style: italic;
}

.rivel-homepage-template .arrival-desc {
    font-family: var(--font-primary, sans-serif);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 90%;
    margin: 0 0 3rem;
}

.rivel-homepage-template .arrival-divider {
    border: 0;
    border-top: 1px solid rgba(32, 36, 31, 0.12);
    width: 100%;
    margin: 0 0 2rem;
}

.rivel-homepage-template .arrival-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    color:var(--clr-primary-green);
}

.rivel-homepage-template .stat-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rivel-homepage-template .stat-time {
    font-family: var(--font-primary);
    font-size: clamp(.8rem, 1vw, 1rem);
    line-height: 1;
    color:var(--clr-primary-green);
}

.rivel-homepage-template .stat-label {
    font-family: var(--font-primary, sans-serif);
    font-size: 0.75rem;
    color: #7c8d81;
}
.rivel-homepage-template .arrival-fine-print {
    font-family: var(--font-primary, sans-serif);
    font-size: 0.75rem;
    line-height: 1.5;
    margin-top: 1rem;
}


/* ------------------------------------------------------------
   MAP
   ------------------------------------------------------------ */

.rivel-homepage-template .map-container {
    width: 100%;
    max-width: none;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.rivel-homepage-template .map-image-wrap {
    position: relative;

    width: 100%;
    max-width: none;

    line-height: 0;

    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.10));
}

.rivel-homepage-template .map-image {
    display: block;
    width: 100%;
    height: auto;
}

.rivel-homepage-template .map-overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}


/* ------------------------------------------------------------
   ROUTES
   ------------------------------------------------------------ */

.rivel-homepage-template .flight-path-line {
    fill: none;
    stroke: #7c8d81;
    stroke-width: 2;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
}

.rivel-homepage-template .driving-route-line {
    fill: none;
    stroke: var(--clr-terracotta);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
}

.rivel-homepage-template .hotel-connect-line {
    fill: none;
    stroke: #7c8d81;
    stroke-width: 1.5;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}


/* ------------------------------------------------------------
   MAP MARKERS
   ------------------------------------------------------------ */

.rivel-homepage-template .map-ring {
    fill: none;
    stroke: var(--clr-terracotta);
    stroke-width: 3;
    opacity: 0;
}

.rivel-homepage-template .map-node {
    fill: var(--clr-terracotta);
    opacity: 0;
}

.rivel-homepage-template .hotel-title {
    font-family: var(--font-primary, sans-serif);
    font-size: 26px;
    font-weight: 700;
    fill: var(--clr-terracotta);
    letter-spacing: 0.08em;
    opacity: 0;
}

.rivel-homepage-template .hotel-subtitle {
    font-family: var(--font-primary, sans-serif);
    font-size: 13px;
    font-weight: 600;
    fill: #7c8d81;
    letter-spacing: 0.15em;
    opacity: 0;
}


/* ------------------------------------------------------------
   VEHICLES
   ------------------------------------------------------------ */

.rivel-homepage-template .vehicle {
    opacity: 0;
    offset-rotate: auto;
    offset-anchor: center;
    transform-origin: center;
    transform-box: fill-box;
}

.rivel-homepage-template .airplane {
    offset-path: path("M 1400 20 Q 1080 140 593 406");
    transform: scale(1.6);
}

.rivel-homepage-template .car {
    offset-path: path("M 593 406 Q 660 445 727 479 Q 795 492 872 473");
    transform: scale(1.3);
}


/* ------------------------------------------------------------
   ANIMATION
   ------------------------------------------------------------ */

.rivel-homepage-template .is-animating .airplane {
    animation: rivelFlightMove 2.2s ease-in-out forwards;
}

.rivel-homepage-template .is-animating .flight-path-line {
    animation: rivelFlightTrail 2.2s ease-in-out forwards;
}

.rivel-homepage-template .is-animating .ring-sjo {
    animation: rivelRingPulse 0.9s 2s forwards;
}

.rivel-homepage-template .is-animating .car {
    animation: rivelDriveMove 2s 2.3s linear forwards;
}

.rivel-homepage-template .is-animating .driving-route-line {
    animation: rivelDrawPath 2s 2.3s linear forwards;
}

.rivel-homepage-template .is-animating .ring-cartago {
    animation: rivelRingPulse 0.9s 3.3s forwards;
}

.rivel-homepage-template .is-animating .ring-turrialba {
    animation: rivelRingPulse 0.9s 4.3s forwards;
}

.rivel-homepage-template .is-animating .node-hotel {
    animation: rivelPopIn 0.4s 4.4s forwards;
}

.rivel-homepage-template .is-animating .hotel-connect-line {
    animation: rivelDrawPath 1s 4.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.rivel-homepage-template .is-animating .hotel-title {
    animation: rivelFadeUp 0.8s 5s forwards;
}

.rivel-homepage-template .is-animating .hotel-subtitle {
    animation: rivelFadeUp 0.8s 5.2s forwards;
}


/* ------------------------------------------------------------
   FLIGHT ANIMATION
   ------------------------------------------------------------ */

@keyframes rivelFlightMove {

    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    90% {
        offset-distance: 100%;
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}


/* ------------------------------------------------------------
   FLIGHT TRAIL ANIMATION
   ------------------------------------------------------------ */

@keyframes rivelFlightTrail {

    0% {
        stroke-dashoffset: 1500;
        opacity: 1;
    }

    90% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}


/* ------------------------------------------------------------
   DRIVING ANIMATION
   ------------------------------------------------------------ */

@keyframes rivelDriveMove {

    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}


/* ------------------------------------------------------------
   ROUTE DRAW
   ------------------------------------------------------------ */

@keyframes rivelDrawPath {

    to {
        stroke-dashoffset: 0;
    }
}


/* ------------------------------------------------------------
   RING PULSE
   ------------------------------------------------------------ */

@keyframes rivelRingPulse {

    0% {
        opacity: 0;
        transform: scale(0.3);
        transform-origin: center;
        transform-box: fill-box;
    }

    40% {
        opacity: 1;
        transform: scale(1.6);
    }

    100% {
        opacity: 0;
        transform: scale(2.4);
    }
}


/* ------------------------------------------------------------
   HOTEL MARKER POP
   ------------------------------------------------------------ */

@keyframes rivelPopIn {

    0% {
        opacity: 0;
        transform: scale(0.5);
        transform-origin: center;
        transform-box: fill-box;
    }

    70% {
        opacity: 1;
        transform: scale(1.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        transform-origin: center;
        transform-box: fill-box;
    }
}


/* ------------------------------------------------------------
   HOTEL TEXT FADE
   ------------------------------------------------------------ */

@keyframes rivelFadeUp {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

    .rivel-homepage-template .vehicle,
    .rivel-homepage-template .map-ring,
    .rivel-homepage-template .map-node,
    .rivel-homepage-template .hotel-title,
    .rivel-homepage-template .hotel-subtitle {
        animation: none !important;
        transition: none !important;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {

    .rivel-homepage-template .arrival-section {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        padding: 4rem 1.5rem 0 1.5rem;   /* was: padding-left: 0 with no right value — now insets both sides */
        box-sizing: border-box;
    }

    .rivel-homepage-template .arrival-left,
    .rivel-homepage-template .arrival-right {
        width: 100%;
        max-width: none;
        flex: 1 1 100%;
    }

    .rivel-homepage-template .arrival-left {
        padding: 0 0 2rem 0 !important;   /* unchanged — side padding now comes from the section */
    }

    .rivel-homepage-template .arrival-right {
        justify-content: center;
        overflow: hidden;
    }

    .rivel-homepage-template .arrival-headline {
        font-size: clamp(2.3rem, 10vw, 3.5rem);
    }

    .rivel-homepage-template .arrival-desc {
        max-width: 100%;
        font-size: 1rem;
    }

    .rivel-homepage-template .map-container {
        width: 100%;
        max-width: none;
        padding: 0;

        box-sizing: border-box;

        justify-content: center;
    }

    .rivel-homepage-template .map-image-wrap {
        width: 100%;
        max-width: none;
    }

    .rivel-homepage-template .arrival-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
    }

    .rivel-homepage-template .arrival-stats .stat-time {
        font-size: 1rem !important;
    }

    .rivel-homepage-template .arrival-stats .stat-label {
        font-size: 0.55rem !important;
    }

    .rivel-homepage-template .hotel-title {
        font-size: 20px;
    }

    .rivel-homepage-template .hotel-subtitle {
        font-size: 10px;
    }
}
  .rivel-homepage-template .rivel-proposal-section{
    background-color: var(--clr-warm-ivory);
    padding: 8rem 1.5rem;
    color: var(--clr-deep-green);
    font-family: var(--font-primary);
}
.rivel-homepage-template .rivel-proposal-container{
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; 
    gap: 6rem;
    align-items: start;
}
.rivel-homepage-template .rivel-proposal-left{
    position: sticky;
    top: 100px; 
}
.rivel-homepage-template .proposal-title{
    margin: 0 0 2rem 0;
    font-family: var(--font-editorial);
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--clr-primary-green);
}
.rivel-homepage-template .proposal-italic{
    font-style: italic;
    color: var(--clr-deep-green);
}
.rivel-homepage-template .proposal-subtext{
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(16, 42, 32, 0.75);
    max-width: 400px;
    margin: 0 0 2rem 0;
}

/* Checklist */
.rivel-homepage-template .proposal-checklist{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.rivel-homepage-template .proposal-checklist li{
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(16, 42, 32, 0.85);
}
.rivel-homepage-template .proposal-checklist li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background-color: var(--clr-primary-green);
}
.rivel-homepage-template .proposal-checklist li::after{
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 0.42em;
    width: 0.5rem;
    height: 0.3rem;
    border-left: 2px solid var(--clr-soft-cream);
    border-bottom: 2px solid var(--clr-soft-cream);
    transform: rotate(-45deg);
}

/* Form box */
.rivel-homepage-template .proposal-form-box{
    background-color: var(--clr-soft-cream);
    padding: 4rem 5rem;
    border-radius: 4px; 
}
.rivel-homepage-template .form-box-header{
    display: flex;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(16, 42, 32, 0.15); 
}
.rivel-homepage-template .form-header-main{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.rivel-homepage-template .form-eyebrow{
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-terracotta);
}
.rivel-homepage-template .form-title{
    margin: 0;
    font-family: var(--font-editorial);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 400;
    color: var(--clr-deep-green);
    letter-spacing: -0.01em;
}
.rivel-homepage-template .form-subtext{
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: rgba(16, 42, 32, 0.6);
}

/* Responsive */
@media (max-width: 1024px){
    .rivel-homepage-template .rivel-proposal-container{
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .rivel-homepage-template .rivel-proposal-left{
        position: relative;
        top: auto;
    }
    .rivel-homepage-template .proposal-form-box{
        padding: 3rem 2rem;
    }
}
@media (max-width: 768px){
    .rivel-homepage-template .rivel-proposal-section{ padding: 5rem 1.5rem; }
    .rivel-homepage-template .form-box-header{
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .rivel-homepage-template .proposal-form-box{ padding: 2rem 1.5rem; }
}
/* ============================================================
   HARD OVERRIDES (homepage-body-only elements)
   A) SHAPE LOCKS: several circular/pill buttons are <button> elements
      where the theme's own default button styling can win on
      hover/active/focus, distorting circles into squares and pills
      into rounded rectangles.
   B) COLOR LOCKS: hover states that never redeclared `color`.
   C) Z-INDEX: estate pins raised above the info card so no pin can be
      hidden behind it, at any screen size.
   ============================================================ */

.rivel-homepage-template .estate-pin,
.rivel-homepage-template .estate-pin.active {
    box-sizing: border-box !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    z-index: 25 !important;
}

.rivel-homepage-template .pav-ctrl,
.rivel-homepage-template .pav-ctrl:hover,
.rivel-homepage-template .pav-ctrl:focus,
.rivel-homepage-template .pav-ctrl:active {
    box-sizing: border-box !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
}

.rivel-homepage-template .pav-tab,
.rivel-homepage-template .pav-tab:hover,
.rivel-homepage-template .pav-tab:focus,
.rivel-homepage-template .pav-tab.active {
    border-radius: 50px !important;
    padding: 0.75rem 1.5rem !important;
    box-sizing: border-box !important;
}

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

.rivel-homepage-template .btn-secondary:hover,
.rivel-homepage-template .btn-secondary:focus,
.rivel-homepage-template .hero-btn-secondary:hover,
.rivel-homepage-template .hero-btn-secondary:focus {
    color: var(--clr-warm-ivory) !important;
}

.rivel-homepage-template .panel-btn:hover,
.rivel-homepage-template .panel-btn:focus {
    color: var(--clr-primary-green) !important;
}


/* ============================================================
   PATHWAYS SECTION -> ACCORDION ON MOBILE
   Was: vertical tab list + separate content panel, which on mobile
   became a horizontal scroller (had to swipe to see all 6 categories).
   Now: each tab's own panel appears directly below it when active,
   using display:contents + order to interleave tabs/panels without
   touching the JS (the existing click-to-show-one-panel logic already
   behaves exactly like an accordion).
   ============================================================ */
@media (max-width: 768px) {
    .rivel-homepage-template .pathways-layout {
        display: flex;
        flex-direction: column;
    }
    .rivel-homepage-template .pathways-tabs,
    .rivel-homepage-template .pathways-content-area {
        display: contents;
    }
    .rivel-homepage-template .tab-btn {
        width: 100%;
        box-sizing: border-box;
        justify-content: flex-start;   /* was: space-between — keeps icon + title together on the left */
    }
    .rivel-homepage-template .tab-panel {
        width: 100%;
        box-sizing: border-box;
    }

    .rivel-homepage-template #tab-1 { order: 1; }
    .rivel-homepage-template #panel-1 { order: 2; }
    .rivel-homepage-template #tab-2 { order: 3; }
    .rivel-homepage-template #panel-2 { order: 4; }
    .rivel-homepage-template #tab-3 { order: 5; }
    .rivel-homepage-template #panel-3 { order: 6; }
    .rivel-homepage-template #tab-4 { order: 7; }
    .rivel-homepage-template #panel-4 { order: 8; }
    .rivel-homepage-template #tab-5 { order: 9; }
    .rivel-homepage-template #panel-5 { order: 10; }
    .rivel-homepage-template #tab-6 { order: 11; }
    .rivel-homepage-template #panel-6 { order: 12; }
}

/* ============================================================
   BEFORE/AFTER BADGES -> now clickable
   The base rule had pointer-events:none, so clicks never reached them
   regardless of any JS. Re-enabled here, plus tap-friendly sizing and
   a pressed-state affordance so it's clear they're interactive.
   ============================================================ */
.rivel-homepage-template .pav-compare-label-before,
.rivel-homepage-template .pav-compare-label-after {
    pointer-events: auto !important;
    cursor: pointer;
    min-height: 32px;
    display: flex;
    align-items: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rivel-homepage-template .pav-compare-label-before:hover,
.rivel-homepage-template .pav-compare-label-after:hover {
    transform: scale(1.05);
}
.rivel-homepage-template .pav-compare-label-before:active,
.rivel-homepage-template .pav-compare-label-after:active {
    transform: scale(0.97);
}

@media (max-width: 768px) {
    .rivel-homepage-template .pav-compare-label-before,
    .rivel-homepage-template .pav-compare-label-after {
        padding: 0.65rem 1.1rem;
        font-size: 0.8rem;
    }
}

/* ============================================================
   ESTATE MAP -> REDESIGNED FOR MOBILE
   Two real bugs found from the screenshot:
   1) The container had BOTH aspect-ratio:16/9 AND min-height:600px --
      on a narrow phone screen the fixed 600px height won, creating a
      tall narrow box. Combined with object-fit:cover on the background
      image, that meant the photo got cropped/zoomed into an almost
      featureless sliver -- which is why the map looked blank.
   2) The info card was position:absolute, floating directly on top of
      the map and pins -- fine with desktop's extra space, broken on
      narrow screens. Moved into normal document flow below the map.
   ============================================================ */
@media (max-width: 768px) {
    .rivel-homepage-template .estate-map-container {
        min-height: 0 !important;
    }

    .rivel-homepage-template .map-scroll-wrapper {
        position: relative;
        aspect-ratio: 4 / 5;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-radius: 16px;
    }
    .rivel-homepage-template .map-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* The fog gradients used to live on .estate-map-container, but that
       box now also contains the card below the map, so its height grew
       and the bottom-40% fade landed on the card instead of the map.
       Moving both fades onto .map-scroll-wrapper keeps them scoped to
       just the map, same as before. */
    .rivel-homepage-template .estate-map-container::before,
    .rivel-homepage-template .estate-map-container::after {
        content: none;
    }
    .rivel-homepage-template .map-scroll-wrapper::before {
    content: "";
    position: sticky;      /* was: absolute — absolute pseudo-elements on a
                               horizontally-scrolling container get carried
                               along by the scroll instead of staying put */
    top: 0;
    left: 0;
    float: left;            /* keeps it pinned to the scroll viewport's
                               left edge instead of drifting with content */
    margin-right: -100%;    /* stops it from pushing scrollable width out */
    display: block;
    width: 100%; height: 30%;
    background: linear-gradient(to bottom, var(--clr-warm-ivory) 0%, rgba(245, 242, 233, 0) 100%);
    z-index: 2;
    pointer-events: none;
}
.rivel-homepage-template .map-scroll-wrapper::after {
    content: "";
    position: sticky;
    bottom: 0;
    left: 0;
    float: left;
    margin-right: -100%;
    display: block;
    width: 100%; height: 40%;
    background: linear-gradient(to top, var(--clr-warm-ivory) 0%, rgba(245, 242, 233, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

    .rivel-homepage-template .map-scroll-inner {
        width: 1000px;
        height: 100%;
        position: relative;
    }

    .rivel-homepage-template .estate-floating-card {
    position: relative;
    transform: none !important;
    bottom: auto !important;
    left: auto !important;
    width: calc(100% - 3rem) !important;   /* was: 100% — leaves 1.5rem breathing room on each side */
    max-width: none !important;
    margin: -2rem auto 0;                  /* was: margin-top: -2rem — "auto" on left/right centers it */
    box-sizing: border-box;
    z-index: 20;
}

    .rivel-homepage-template .estate-pin {
        width: 40px;
        height: 40px;
    }

    /* Force the button green — something elsewhere in your stylesheet
       (likely a generic button/link color rule loading after this)
       was overriding .card-btn's background on mobile only. */
    .rivel-homepage-template .estate-floating-card .card-btn {
        background-color: var(--clr-primary-green) !important;
        color: var(--clr-warm-ivory) !important;
    }
}


/* ============================================================
   RIVEL × FORMINATOR
   GROUP PROPOSAL FORM
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* ============================================================
   FORM RESET
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper
.forminator-ui.forminator-custom-form {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.rivel-homepage-template .forminator-custom-wrapper
.forminator-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.rivel-homepage-template .forminator-custom-wrapper
.forminator-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* ============================================================
   FIELD SPACING
   ============================================================ */

/* Normal fields */
.rivel-homepage-template .forminator-custom-wrapper
.forminator-field {
    margin-bottom: 0 !important;
}

/* Last field before checkbox */
.rivel-homepage-template .forminator-custom-wrapper
.forminator-row-last {
    margin-bottom: 0 !important;
}


/* ============================================================
   ALL INPUT FIELDS
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper
input[type="text"],
.rivel-homepage-template .forminator-custom-wrapper
input[type="email"],
.rivel-homepage-template .forminator-custom-wrapper
input[type="tel"],
.rivel-homepage-template .forminator-custom-wrapper
input[type="number"],
.rivel-homepage-template .forminator-custom-wrapper
input[type="date"],
.rivel-homepage-template .forminator-custom-wrapper
input[type="url"],
.rivel-homepage-template .forminator-custom-wrapper
textarea {

    width: 100% !important;
    box-sizing: border-box !important;

    height: 49px !important;
    min-height: 49px !important;

    margin: 0 !important;
    padding: 0 14px !important;

    border: 1px solid #c8c8c3 !important;
    border-radius: 0 !important;

    background: transparent !important;

    font-family: var(--font-primary) !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    line-height: 49px !important;

    color: var(--clr-text-primary) !important;

    outline: none !important;
    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease !important;
}


/* ============================================================
   PLACEHOLDER
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper
input::placeholder,
.rivel-homepage-template .forminator-custom-wrapper
textarea::placeholder {

    color: #78858b !important;
    opacity: 1 !important;
}


/* ============================================================
   NATURE OF YOUR GATHERING
   FORMINATOR SELECT2
   ============================================================ */

/* Select2 outer container */

.rivel-homepage-template .forminator-custom-wrapper
.forminator-select {

    width: 100% !important;
    margin: 0 !important;
}


/* Select2 generated container */

.rivel-homepage-template .forminator-custom-wrapper
.select2-container {

    width: 100% !important;
}


/* Visible select box */

.rivel-homepage-template .forminator-custom-wrapper
.select2-container--default
.select2-selection--single {

    width: 100% !important;
    height: 49px !important;
    min-height: 49px !important;

    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #c8c8c3 !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    display: flex !important;
    align-items: center !important;
}


/* Actual text inside Select2 */

.rivel-homepage-template .forminator-custom-wrapper
.select2-selection__rendered {

    display: flex !important;
    align-items: center !important;

    height: 47px !important;

    box-sizing: border-box !important;

    padding: 0 42px 0 14px !important;

    margin: 0 !important;

    font-family: var(--font-primary) !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    line-height: normal !important;

    color: var(--clr-text-primary) !important;

    text-align: left !important;
}


/* Placeholder */

.rivel-homepage-template .forminator-custom-wrapper
.select2-selection__placeholder {

    color: #78858b !important;
    opacity: 1 !important;
}


/* Select2 arrow area */

.rivel-homepage-template .forminator-custom-wrapper
.select2-selection__arrow {

    position: absolute !important;

    top: 0 !important;
    right: 0 !important;

    width: 42px !important;
    height: 47px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Arrow itself */

.rivel-homepage-template .forminator-custom-wrapper
.select2-selection__arrow b {

    margin: 0 !important;

    border-color: #777 transparent transparent transparent !important;

    border-style: solid !important;
    border-width: 6px 5px 0 5px !important;

    left: auto !important;
    top: 50% !important;

    transform: translateY(-25%) !important;
}


/* ============================================================
   SELECT2 FOCUS / OPEN STATE
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper
.select2-container--default.select2-container--open
.select2-selection--single,

.rivel-homepage-template .forminator-custom-wrapper
.select2-container--default
.select2-selection--single:focus {

    border-color: var(--clr-primary-green) !important;

    outline: none !important;
    box-shadow: none !important;
}


/* ============================================================
   SELECT2 DROPDOWN
   ============================================================ */

.rivel-homepage-template
.select2-container--open
.select2-dropdown {

    border: 1px solid #c8c8c3 !important;
    border-radius: 0 !important;

    background: var(--clr-warm-ivory) !important;

    box-shadow: none !important;
}


/* Dropdown options */

.rivel-homepage-template
.select2-results__option {

    padding: 10px 14px !important;

    font-family: var(--font-primary) !important;
    font-size: 0.85rem !important;

    color: var(--clr-text-primary) !important;
}


/* Selected / hover option */

.rivel-homepage-template
.select2-results__option--highlighted {

    background: var(--clr-primary-green) !important;
    color: var(--clr-warm-ivory) !important;
}


/* ============================================================
   TWO COLUMN FIELDS
   EST. GUESTS + PREFERRED DATES
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper
.forminator-row .forminator-col-6 {

    box-sizing: border-box !important;
}


/* Keep the two fields touching each other */

.rivel-homepage-template .forminator-custom-wrapper
.forminator-row .forminator-col-6:first-child {
    padding-right: 0 !important;
}

.rivel-homepage-template .forminator-custom-wrapper
.forminator-row .forminator-col-6:last-child {
    padding-left: 0 !important;
}


/* ============================================================
   TEXTAREA
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper
textarea {

    height: auto !important;
    min-height: 100px !important;

    padding-top: 14px !important;
    padding-bottom: 14px !important;

    line-height: 1.5 !important;

    resize: vertical !important;
}


/* ============================================================
   CHECKBOX
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper
.forminator-checkbox {

    display: flex !important;
    align-items: flex-start !important;

    margin-top: 7px !important;
    margin-bottom: 17px !important;
}


.rivel-homepage-template .forminator-custom-wrapper
.forminator-checkbox-box {

    width: 20px !important;
    height: 20px !important;

    min-width: 20px !important;

    margin: 0 10px 0 0 !important;

    border: 1px solid #999 !important;
    border-radius: 0 !important;

    background: transparent !important;
}


.rivel-homepage-template .forminator-custom-wrapper
.forminator-checkbox-label {

    margin: 0 !important;
    padding: 0 !important;

    font-family: var(--font-primary) !important;
    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;

    color: var(--clr-text-primary) !important;
}


/* ============================================================
   REQUIRED
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper
.forminator-required {

    color: var(--clr-terracotta) !important;
}


/* ============================================================
   ERROR MESSAGE
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper
.forminator-error-message {

    margin: 5px 0 8px 0 !important;
    padding: 0 !important;

    font-family: var(--font-primary) !important;
    font-size: 0.72rem !important;
    line-height: 1.4 !important;

    color: #9b3d2e !important;
}


/* Error field */

.rivel-homepage-template .forminator-custom-wrapper
.forminator-has_error input,

.rivel-homepage-template .forminator-custom-wrapper
.forminator-has_error textarea,

.rivel-homepage-template .forminator-custom-wrapper
.forminator-has_error
.select2-selection--single {

    border-color: #9b3d2e !important;
}


/* ============================================================
   SUBMIT BUTTON
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper
.forminator-button-submit {

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 150px !important;
    height: 48px !important;

    margin: 0 !important;
    padding: 0 30px !important;

    border: 1px solid var(--clr-primary-green) !important;
    border-radius: 999px !important;

    background: var(--clr-primary-green) !important;
    color: var(--clr-warm-ivory) !important;

    font-family: var(--font-primary) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;

    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;

    box-shadow: none !important;

    cursor: pointer !important;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease !important;
}


.rivel-homepage-template .forminator-custom-wrapper
.forminator-button-submit:hover {

    background: var(--clr-deep-green) !important;
    border-color: var(--clr-deep-green) !important;

    transform: translateY(-1px);
}


/* ============================================================
   SUCCESS MESSAGE
   ============================================================ */

.rivel-homepage-template .forminator-custom-wrapper
.forminator-response-message {

    margin-top: 15px !important;
    padding: 15px !important;

    border: 1px solid rgba(24, 58, 43, 0.2) !important;

    background: rgba(200, 214, 196, 0.25) !important;

    font-family: var(--font-primary) !important;

    color: var(--clr-primary-green) !important;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .rivel-homepage-template .forminator-custom-wrapper
    input[type="text"],
    .rivel-homepage-template .forminator-custom-wrapper
    input[type="email"],
    .rivel-homepage-template .forminator-custom-wrapper
    input[type="tel"],
    .rivel-homepage-template .forminator-custom-wrapper
    input[type="number"],
    .rivel-homepage-template .forminator-custom-wrapper
    input[type="date"],
    .rivel-homepage-template .forminator-custom-wrapper
    select,
    .rivel-homepage-template .forminator-custom-wrapper
    textarea {

        font-size: 0.85rem !important;
    }


    /* Stack the two fields on mobile */

    .rivel-homepage-template .forminator-custom-wrapper
    .forminator-col-6 {

        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }


    .rivel-homepage-template .forminator-custom-wrapper
    .forminator-button-submit {

        width: 100% !important;
    }
}