:root{
    --bg:#f4f7fb;
    --surface:#ffffff;
    --surface-soft:#f8fafc;
    --ink:#182230;
    --muted:#667085;
    --line:#d9e2ec;
    --brand:#0f766e;
    --brand-dark:#115e59;
    --accent:#d97706;
    --nav:#071827;
    --shadow:0 12px 28px rgba(15,23,42,.08);
    --shadow-strong:0 18px 44px rgba(15,23,42,.16);
    --radius:16px;
}

*{
    box-sizing:border-box;
    -webkit-tap-highlight-color:transparent;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:76px;
}

body{
    margin:0;
    font-family:Inter, "Segoe UI", Arial, sans-serif;
    background:var(--bg);
    color:var(--ink);
    overflow-x:hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
strong,
b{
    max-width:100%;
    overflow-wrap:anywhere;
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
    outline:3px solid rgba(15,118,110,.24);
    outline-offset:3px;
}

.container-modern{
    width:min(1180px, calc(100% - 40px));
    margin-inline:auto;
    max-width:100%;
}

.topbar-modern{
    position:sticky;
    top:0;
    z-index:1000;
    background:var(--nav);
    border-bottom:1px solid rgba(255,255,255,.08);
    box-shadow:0 8px 24px rgba(7,24,39,.18);
}

.navbar-modern{
    min-height:58px;
}

.brand-modern{
    color:#fff !important;
    font-size:1.6rem;
    font-weight:850;
    letter-spacing:0;
}

.nav-link-modern{
    color:rgba(255,255,255,.78) !important;
    font-size:.92rem;
    font-weight:750;
}

.nav-link-modern:hover,
.nav-link-modern:focus,
.nav-link-modern.active{
    color:#fff !important;
}

.btn-modern{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:42px;
    padding:10px 18px;
    border:0;
    border-radius:12px;
    font-weight:800;
    line-height:1.2;
    transition:background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn-modern:hover{
    transform:translateY(-1px);
}

.btn-primary-modern{
    color:#fff;
    background:var(--brand);
}

.btn-primary-modern:hover{
    color:#fff;
    background:var(--brand-dark);
}

.btn-outline-modern{
    color:#fff;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.24);
}

.btn-outline-modern:hover{
    color:#fff;
    background:rgba(255,255,255,.16);
}

.btn-light-modern{
    color:var(--ink);
    background:#fff;
}

.btn-success-modern{
    color:#fff;
    background:#16a34a;
}

.hero-modern{
    position:relative;
    overflow:hidden;
    color:#fff;
    min-height:auto;
    padding:84px 0 88px;
    background:
        linear-gradient(90deg, rgba(7,24,39,.90), rgba(8,47,73,.70) 52%, rgba(15,118,110,.42)),
        url("../images/hero-riztrip.jpg") center/cover no-repeat;
}

.hero-modern,
.section-padding{
    overflow:hidden;
}

.home-hero{
    background:
        linear-gradient(90deg, rgba(7,24,39,.90), rgba(8,47,73,.70) 52%, rgba(15,118,110,.42)),
        url("../images/hero-riztrip.jpg") center/cover no-repeat;
}

.hero-orb,
.hero-sky,
.corner-scene,
.blur-orb{
    display:none;
}

.hero-grid{
    display:grid;
    grid-template-columns:minmax(0, 1.05fr) minmax(320px, .95fr);
    gap:48px;
    align-items:center;
}

.hero-grid > *,
.feature-grid > *,
.trip-grid > *,
.section-head,
.feature-card,
.trip-card-modern{
    min-width:0;
}

.hero-badge,
.section-kicker,
.panel-chip,
.fc-chip,
.result-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    width:max-content;
    max-width:100%;
    border-radius:999px;
    line-height:1.25;
}

.hero-badge{
    margin-bottom:18px;
    padding:10px 15px;
    color:#fff;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.20);
    font-size:.9rem;
    font-weight:800;
}

.hero-title{
    max-width:690px;
    width:100%;
    margin:0 0 20px;
    font-size:clamp(2.4rem, 4.2vw, 4rem);
    line-height:1.08;
    letter-spacing:0;
    font-weight:850;
    overflow-wrap:anywhere;
}

.hero-mobile-break{
    display:none;
}

.hero-gradient,
.hero-gradient-text{
    color:#b8f3eb;
}

.hero-text{
    max-width:660px;
    width:100%;
    margin:0 0 26px;
    color:rgba(247,251,255,.88);
    font-size:1rem;
    line-height:1.75;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:24px;
}

.holiday-chip-row,
.hero-mini{
    display:grid;
    grid-template-columns:repeat(2, minmax(180px, 1fr));
    gap:12px;
    width:min(100%, 540px);
}

.holiday-chip,
.hero-mini-item{
    display:grid;
    grid-template-columns:42px minmax(0, 1fr);
    align-items:center;
    gap:12px;
    min-height:64px;
    padding:12px 14px;
    border-radius:14px;
    color:#fff;
    background:rgba(255,255,255,.11);
    border:1px solid rgba(255,255,255,.16);
}

.holiday-chip-icon,
.hero-mini-icon{
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    color:var(--brand);
    background:#e7f3f1;
}

.holiday-chip-text strong,
.hero-mini-item b{
    display:block;
    color:#fff;
    font-size:.95rem;
    line-height:1.2;
    overflow-wrap:anywhere;
}

.holiday-chip-text small,
.hero-mini-item small{
    display:block;
    margin-top:3px;
    color:rgba(247,251,255,.76);
    font-size:.78rem;
    line-height:1.3;
}

.hero-highlights{
    display:none;
}

.hero-visual{
    min-height:430px;
}

.hero-panel,
.home-hero-panel{
    min-height:430px;
    overflow:hidden;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.22);
    box-shadow:var(--shadow-strong);
    background:
        linear-gradient(180deg, rgba(7,24,39,.04), rgba(7,24,39,.44)),
        url("../images/trips/bandung-gedung-sate.png") center/cover no-repeat;
}

.hero-panel-inner{
    display:none;
}

.home-hero-panel{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto 1fr auto;
    gap:14px;
    padding:20px;
    background:
        linear-gradient(180deg, rgba(7,24,39,.10), rgba(7,24,39,.72)),
        url("../images/hero-riztrip.jpg") center/cover no-repeat;
}

.home-hero-panel .floating-card{
    border-radius:14px;
    border:1px solid rgba(255,255,255,.16);
    background:rgba(7,24,39,.72);
}

.fc-main{
    grid-column:1 / -1;
    grid-row:3;
    align-self:end;
    padding:18px;
}

.fc-main-top{
    display:flex;
    justify-content:space-between;
    gap:16px;
    margin-bottom:14px;
}

.fc-chip{
    padding:8px 11px;
    color:#eaf7ff;
    background:rgba(255,255,255,.10);
}

.fc-price{
    color:#fff;
    font-size:1.8rem;
    font-weight:850;
    line-height:1;
    text-align:right;
}

.fc-price small{
    display:block;
    margin-top:5px;
    color:rgba(247,251,255,.72);
    font-size:.72rem;
}

.fc-main-bottom{
    display:grid;
    gap:8px;
}

.fc-row{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:10px 12px;
    border-radius:12px;
    color:rgba(247,251,255,.80);
    background:rgba(255,255,255,.09);
    font-size:.88rem;
}

.fc-row strong{
    color:#b8f3eb;
    white-space:nowrap;
}

.fc-badge{
    display:none;
}

.section-padding{
    padding:72px 0;
    background:var(--bg);
}

.recommend-wrap{
    background:#edf4f3;
}

.section-head{
    margin-bottom:28px;
}

.section-kicker{
    margin-bottom:14px;
    padding:9px 13px;
    color:var(--brand);
    background:#e7f3f1;
    border:1px solid #cde7e3;
    font-size:.85rem;
    font-weight:800;
}

.section-title{
    max-width:820px;
    width:100%;
    margin:0 0 10px;
    color:var(--ink);
    font-size:clamp(1.6rem, 3vw, 2.35rem);
    line-height:1.22;
    font-weight:850;
    letter-spacing:0;
    overflow-wrap:anywhere;
}

.section-subtitle{
    max-width:760px;
    width:100%;
    margin:0;
    color:var(--muted);
    line-height:1.7;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:20px;
}

.feature-card,
.trip-card-modern,
.help-box,
.recommend-box-modern,
.help-cta,
.empty-box-modern{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.feature-card{
    padding:24px;
    height:100%;
}

.feature-icon{
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    border-radius:15px;
    color:var(--brand);
    background:#e7f3f1;
}

.feature-card h4{
    margin:0 0 10px;
    color:var(--ink);
    font-size:1.14rem;
    font-weight:850;
}

.feature-card p{
    margin:0;
    color:var(--muted);
    line-height:1.7;
}

.trip-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:22px;
}

.trip-card-modern{
    overflow:hidden;
    cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease;
}

.trip-card-modern:hover,
.trip-card-modern:focus-visible{
    transform:translateY(-2px);
    box-shadow:0 16px 34px rgba(15,23,42,.12);
}

.trip-card-modern:focus-visible{
    outline:3px solid rgba(15,118,110,.26);
    outline-offset:4px;
}

.trip-thumb-wrap{
    position:relative;
    overflow:hidden;
    background:#d9e2ec;
}

.trip-thumb{
    width:100%;
    height:225px;
    object-fit:cover;
    background:#d9e2ec url("../images/trip-fallback.jpg") center/cover no-repeat;
}

.trip-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, transparent 44%, rgba(7,24,39,.42));
    pointer-events:none;
}

.trip-badges{
    position:absolute;
    top:12px;
    left:12px;
    right:12px;
    z-index:2;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.trip-view-badge,
.trip-duration-badge,
.trip-date-pill,
.trip-status-pill,
.trip-badge-modern{
    display:inline-flex;
    align-items:center;
    gap:7px;
    border-radius:999px;
    line-height:1;
    font-size:.78rem;
    font-weight:800;
}

.trip-view-badge,
.trip-duration-badge{
    color:#172033;
    background:rgba(255,255,255,.94);
    border:1px solid rgba(15,23,42,.08);
    box-shadow:0 8px 18px rgba(15,23,42,.12);
}

.trip-view-badge,
.trip-badge-modern{
    padding:8px 11px;
}

.trip-badge-modern{
    display:none;
}

.trip-duration-badge{
    position:absolute;
    right:12px;
    bottom:12px;
    z-index:2;
    max-width:calc(100% - 24px);
    padding:9px 12px;
    white-space:normal;
}

.trip-body{
    display:flex;
    flex-direction:column;
    gap:11px;
    min-height:252px;
    padding:18px;
}

.trip-card-info{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.trip-date-pill{
    padding:8px 10px;
    color:#475467;
    background:var(--surface-soft);
    border:1px solid #e4e7ec;
}

.trip-status-pill{
    padding:8px 10px;
    color:#11623f;
    background:#dcfce7;
}

.trip-status-unavailable{
    color:#b42318 !important;
    background:#fee4e2 !important;
}

.trip-title-modern{
    margin:0;
    color:var(--ink);
    font-size:1.12rem;
    line-height:1.35;
    font-weight:850;
}

.trip-desc-modern{
    margin:0;
    color:var(--muted);
    font-size:.95rem;
    line-height:1.62;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.trip-rating-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:10px;
    padding-top:12px;
    border-top:1px solid #eef2f6;
    color:#667085;
    font-size:.88rem;
}

.trip-rating-row span:first-child{
    color:#344054;
    font-weight:850;
}

.trip-rating-row i{
    color:var(--accent);
}

.trip-actions{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:auto;
}

.trip-actions .btn-modern{
    flex:1;
    min-width:0;
    min-height:42px;
    padding-inline:12px;
    font-size:.9rem;
}

.trip-price{
    min-width:106px;
    color:var(--brand);
    font-weight:850;
    line-height:1.2;
}

.recommend-box-modern,
.help-cta,
.help-box,
.empty-box-modern{
    padding:24px;
}

.form-label-modern{
    display:block;
    margin-bottom:8px;
    color:#344054;
    font-size:.9rem;
    font-weight:800;
}

.form-select-modern,
.form-control-modern{
    width:100%;
    min-height:46px;
    border:1px solid #d0d5dd;
    border-radius:12px;
    padding:10px 12px;
    color:#172033;
    background:#fff;
}

.form-select-modern:focus,
.form-control-modern:focus{
    border-color:var(--brand);
    box-shadow:0 0 0 .18rem rgba(15,118,110,.12);
    outline:0;
}

.form-control-modern::placeholder{
    color:#98a2b3;
}

.text-muted-custom{
    color:var(--muted);
    font-size:.9rem;
}

.result-head,
.help-box-grid,
.help-cta-grid{
    display:grid;
    grid-template-columns:1fr auto;
    gap:20px;
    align-items:center;
}

.result-chip{
    padding:10px 13px;
    color:var(--brand);
    background:#e7f3f1;
    border:1px solid #cde7e3;
    font-weight:800;
}

.help-box h3,
.help-cta h3{
    margin:0 0 8px;
    color:var(--ink);
    font-size:1.45rem;
    font-weight:850;
}

.help-box p,
.help-cta p{
    margin:0;
    color:var(--muted);
    line-height:1.7;
}

.footer-modern{
    padding:28px 0;
    color:#d7e3ee;
    background:var(--nav);
}

.footer-line{
    height:1px;
    margin-bottom:18px;
    background:rgba(255,255,255,.12);
}

.footer-inner{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:14px;
}

.floating-contact{
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:999;
    display:grid;
    gap:8px;
}

.floating-contact a{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#fff;
    font-size:1.2rem;
    box-shadow:0 10px 24px rgba(15,23,42,.18);
}

.floating-contact a:hover{
    color:#fff;
}

.wa-btn{
    background:#22c55e;
}

.mail-btn{
    background:#2563eb;
}

.ig-btn{
    background:#c13584;
}

.fade-up{
    opacity:0;
    transform:translateY(14px);
    transition:opacity .5s ease, transform .5s ease;
}

.fade-up.in-view,
.fade-up:not(.in-view){
    opacity:1;
    transform:none;
}

.d1,
.delay-1{ transition-delay:.04s; }
.d2,
.delay-2{ transition-delay:.08s; }
.d3,
.delay-3{ transition-delay:.12s; }
.delay-4{ transition-delay:.16s; }

@media (max-width: 1199.98px){
    .trip-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px){
    .container-modern{
        width:min(760px, calc(100% - 32px));
    }

    .hero-modern{
        padding:68px 0 72px;
    }

    .hero-grid{
        grid-template-columns:1fr;
        gap:28px;
    }

    .hero-visual,
    .home-hero-panel{
        display:none;
    }

    .feature-grid{
        grid-template-columns:1fr;
    }

    .section-padding{
        padding:58px 0;
    }

    .result-head,
    .help-box-grid,
    .help-cta-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width: 767.98px){
    .container-modern{
        width:calc(100% - 28px);
    }

    .hero-title{
        max-width:100%;
        font-size:1.5rem;
        line-height:1.18;
    }

    .hero-mobile-break{
        display:block;
    }

    .hero-text{
        font-size:.98rem;
    }

    .hero-actions .btn-modern{
        width:100%;
    }

    .holiday-chip-row,
    .hero-mini{
        grid-template-columns:1fr 1fr;
        width:100%;
    }

    .trip-grid{
        grid-template-columns:1fr;
    }

    .trip-thumb{
        height:210px;
    }

    .footer-inner{
        flex-direction:column;
    }
}

@media (max-width: 575.98px){
    .container-modern{
        width:calc(100% - 28px);
    }

    .hero-modern{
        padding:52px 0 58px;
    }

    .hero-badge{
        width:100%;
        align-items:flex-start;
    }

    .hero-title{
        font-size:1.42rem;
    }

    .section-title{
        font-size:1.18rem;
    }

    .hero-title,
    .hero-text,
    .hero-actions,
    .section-title,
    .section-subtitle,
    .feature-card h4,
    .feature-card p{
        max-width:min(100%, 330px);
    }

    .holiday-chip-row{
        display:none;
    }

    .hero-mini{
        grid-template-columns:1fr;
    }

    .section-title{
        font-size:1.36rem;
        line-height:1.26;
    }

    .feature-card,
    .recommend-box-modern,
    .help-cta,
    .help-box{
        padding:18px;
    }

    .trip-card-info,
    .trip-actions{
        align-items:stretch;
        flex-direction:column;
    }

    .trip-date-pill,
    .trip-status-pill{
        width:max-content;
        max-width:100%;
        white-space:normal;
    }

    .trip-price{
        min-width:0;
    }

    .floating-contact{
        right:10px;
        bottom:10px;
        gap:7px;
    }

    .floating-contact a{
        display:flex !important;
        width:40px;
        height:40px;
        font-size:1rem;
    }
}

@media (prefers-reduced-motion: reduce){
    *,
    *::before,
    *::after{
        animation:none !important;
        transition:none !important;
        scroll-behavior:auto !important;
    }
}
