.hero{
    position:relative;
    overflow:hidden;
    padding:84px 0 84px;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg, rgba(13,9,8,.92) 0%, rgba(13,9,8,.72) 45%, rgba(13,9,8,.88) 100%),
        url('/assets/img/home-bg-1.webp') center/cover no-repeat;
    opacity:.25;
    pointer-events:none;

    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,1) 0,
        rgba(0,0,0,1) calc(100% - 90px),
        rgba(0,0,0,0) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,1) 0,
        rgba(0,0,0,1) calc(100% - 90px),
        rgba(0,0,0,0) 100%
    );
}

.hero-grid{
    position:relative;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:28px;
    align-items:center;
}

.hero-card,
.glass-card{
    background:linear-gradient(180deg, rgba(32,23,20,.84), rgba(23,17,15,.94));
    border:1px solid rgba(198,154,87,.12);
    border-radius:24px;
    box-shadow:var(--shadow);
}

.hero-copy{
    padding:36px;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(198,154,87,.08);
    border:1px solid rgba(198,154,87,.18);
    color:var(--gold-soft);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.16em;
    margin-bottom:18px;
}

.hero h1{
    font-size:clamp(38px, 6vw, 72px);
    line-height:1;
    margin:0 0 16px;
}

.hero p{
    color:var(--muted);
    line-height:1.8;
    font-size:17px;
    max-width:680px;
    margin:0 0 26px;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:28px;
}

.hero-stats{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:14px;
}

.stat{
    padding:18px;
    border-radius:18px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(198,154,87,.1);
}

.stat strong{
    display:block;
    font-size:24px;
    margin-bottom:6px;
    color:var(--gold-soft);
}

.stat span{
    color:var(--muted);
    font-size:14px;
}

.hero-side{
    padding:24px;
    height:560px;
    min-height:560px;
    max-height:560px;
    display:flex;
    flex-direction:column;
    box-sizing:border-box;
}

.hero-side .showcase{
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(198,154,87,.14);
    background:#120d0c;
}

.showcase-header{
    padding:16px 18px;
    border-bottom:1px solid rgba(198,154,87,.1);
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.showcase-header strong{
    font-size:15px;
}

.showcase-body{
    padding:18px;
    display:grid;
    gap:16px;
}

.mini-feature{
    padding:16px;
    border-radius:16px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(198,154,87,.08);
}

.mini-feature h4{
    margin:0 0 8px;
    font-size:16px;
}

.mini-feature p{
    margin:0;
    color:var(--muted);
    line-height:1.7;
    font-size:14px;
}

.feature-icon{
    width:54px;
    height:54px;
    border-radius:16px;
    display:grid;
    place-items:center;
    background:linear-gradient(145deg, rgba(198,154,87,.18), rgba(126,31,26,.22));
    border:1px solid rgba(198,154,87,.18);
    color:var(--gold-soft);
    margin-bottom:18px;
    font-weight:800;
}

.card h3{
    margin:0 0 10px;
    font-size:22px;
}

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

.news-card{
    display:flex;
    flex-direction:column;
    height:100%;
}

.news-comparison{
    padding:20px 20px 0;
}

.comparison-nav{
    width:44px;
    height:44px;
    border-radius:999px;
    border:1px solid rgba(198,154,87,.18);
    background:rgba(255,255,255,.04);
    color:var(--gold-soft);
    display:grid;
    place-items:center;
    cursor:pointer;
    transition:transform .2s ease, background .2s ease, border-color .2s ease;
}

.comparison-nav:hover{
    transform:translateY(-1px);
    background:rgba(255,255,255,.08);
    border-color:rgba(198,154,87,.28);
}

.comparison-nav span{
    font-size:18px;
    line-height:1;
}

.comparison-nav--overlay{
    position:absolute;
    top:16px;
    z-index:4;
    background:rgba(13,9,8,.58);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.comparison-nav--overlay-left{
    left:16px;
}

.comparison-nav--overlay-right{
    right:16px;
}

.comparison-slides{
    position:relative;
}

.comparison-slide{
    display:none;
}

.comparison-slide.is-active{
    display:block;
    animation:comparisonFade .28s ease;
}

.comparison-stage{
    --split:50%;
    position:relative;
    aspect-ratio:16 / 9;
    overflow:hidden;
    border-radius:22px;
    border:1px solid rgba(198,154,87,.1);
    background:#0a0706;
    touch-action:none;
    user-select:none;
}

.comparison-stage::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(126,31,26,.08), rgba(13,9,8,.12));
    pointer-events:none;
}

.comparison-image{
    position:absolute;
    inset:0;
}

.comparison-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.comparison-image--overlay{
    clip-path:inset(0 0 0 var(--split));
}

.comparison-divider{
    position:absolute;
    top:0;
    bottom:0;
    left:var(--split);
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    pointer-events:none;
    z-index:2;
}

.comparison-divider::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    width:2px;
    background:rgba(255,255,255,.35);
    box-shadow:0 0 24px rgba(255,255,255,.18);
}

.comparison-handle{
    position:relative;
    z-index:1;
    width:56px;
    height:56px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:linear-gradient(180deg, rgba(35,25,22,.92), rgba(18,13,12,.96));
    border:1px solid rgba(198,154,87,.24);
    box-shadow:0 10px 30px rgba(0,0,0,.35);
    color:var(--gold-soft);
    font-size:18px;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    opacity:.6;
}

.comparison-range{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    margin:0;
    opacity:0;
    cursor:ew-resize;
    z-index:3;
}

.comparison-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 0 2px;
}

.comparison-dot{
    width:10px;
    height:10px;
    border-radius:999px;
    border:none;
    padding:0;
    background:rgba(255,255,255,.18);
    cursor:pointer;
    transition:transform .2s ease, background .2s ease;
}

.comparison-dot:hover,
.comparison-dot.is-active{
    transform:scale(1.15);
    background:var(--gold);
}

@keyframes comparisonFade{
    from{
        opacity:0;
        transform:translateY(6px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.news-meta{
    color:var(--gold);
    font-size:13px;
    margin-bottom:10px;
    text-transform:uppercase;
    letter-spacing:.12em;
}

.news-card h3{
    font-size:22px;
    margin:0 0 12px;
}

.news-card p{
    color:var(--muted);
    line-height:1.8;
    margin:0 0 18px;
}

.link-arrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--gold-soft);
    font-weight:700;
}

.event-widget{
    position:relative;
    height:100%;
    min-height:100%;
    max-height:100%;
    display:flex;
    flex-direction:column;
    border-radius:20px;
    border:1px solid rgba(198,154,87,.14);
    background:#120d0c;
    padding:18px;
    overflow:visible;
    box-sizing:border-box;
}

.event-toolbar{
    display:grid;
    grid-template-columns:44px 1fr 44px;
    gap:12px;
    align-items:center;
    margin-bottom:14px;
    flex:0 0 auto;
}

.event-day-nav,
.event-date-button{
    min-height:44px;
    border:none;
    outline:none;
    border-radius:16px;
    border:1px solid rgba(198,154,87,.14);
    background:rgba(255,255,255,.04);
    color:#f8f1ea;
    transition:transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}

.event-day-nav{
    display:grid;
    place-items:center;
    cursor:pointer;
}

.event-date-button{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    cursor:pointer;
    padding:0 16px;
    font-weight:700;
}

.event-day-nav:hover,
.event-date-button:hover{
    transform:translateY(-1px);
    background:rgba(255,255,255,.07);
    border-color:rgba(198,154,87,.24);
}

.event-day-nav:disabled{
    opacity:.35;
    cursor:not-allowed;
    transform:none;
}

.event-date-label{
    color:#f8f1ea;
    font-size:15px;
    line-height:1.2;
}

.event-date-caret{
    color:var(--gold-soft);
    transition:transform .2s ease;
}

.event-widget.is-calendar-open .event-date-caret{
    transform:rotate(180deg);
}

.event-calendar-dropdown{
    top:76px;
    left:18px;
    right:18px;
    z-index:12;
    padding:16px;
    border-radius:20px;
    border:1px solid rgba(198,154,87,.18);
    background:linear-gradient(180deg, rgba(34,24,21,.98), rgba(20,14,12,.98));
    box-shadow:0 18px 48px rgba(0,0,0,.38);
}

.event-calendar-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:14px;
}

.event-calendar-head strong{
    font-size:15px;
    color:#f8f1ea;
    text-transform:capitalize;
}

.event-calendar-weekdays,
.event-calendar-grid{
    display:grid;
    grid-template-columns:repeat(7, minmax(0, 1fr));
    gap:8px;
}

.event-calendar-weekdays{
    margin-bottom:8px;
}

.event-calendar-weekday{
    text-align:center;
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:rgba(255,255,255,.5);
}

.event-calendar-spacer{
    aspect-ratio:1 / 1;
}

.event-calendar-day{
    aspect-ratio:1 / 1;
    min-height:40px;
    border:none;
    outline:none;
    border-radius:14px;
    border:1px solid transparent;
    background:rgba(255,255,255,.03);
    color:#f8f1ea;
    cursor:pointer;
    font-weight:700;
    transition:transform .2s ease, background .2s ease, border-color .2s ease;
}

.event-calendar-day:hover{
    transform:translateY(-1px);
    background:rgba(255,255,255,.07);
    border-color:rgba(198,154,87,.18);
}

.event-calendar-day.is-today{
    background:rgba(198,154,87,.08);
    border-color:rgba(198,154,87,.16);
    color:var(--gold-soft);
}

.event-calendar-day.is-selected{
    background:linear-gradient(145deg, rgba(126,31,26,.46), rgba(198,154,87,.18));
    border-color:rgba(198,154,87,.28);
    color:#fff;
    box-shadow:0 10px 24px rgba(0,0,0,.24);
}

.event-calendar-day.is-selected.is-today{
    border-color:rgba(198,154,87,.38);
}

.event-list{
    display:grid;
    gap:12px;
    flex:1 1 auto;
    min-height:0;
    height:100%;
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:4px;
    align-content:start;
    grid-auto-rows:max-content;
}

.event-list::-webkit-scrollbar{
    width:6px;
}

.event-list::-webkit-scrollbar-thumb{
    background:rgba(198,154,87,.22);
    border-radius:999px;
}

.event-item{
    display:grid;
    grid-template-columns:58px 1fr;
    gap:14px;
    align-items:start;
    align-self:start;
    padding:14px;
    border-radius:18px;
    border:1px solid rgba(198,154,87,.12);
    background:rgba(255,255,255,.03);
    box-sizing:border-box;
    overflow:hidden;
}

.event-item-icon{
    width:58px;
    height:58px;
    border-radius:100%;
    overflow:hidden;
    background:#241715;
    border:1px solid rgba(198,154,87,.1);
    display:grid;
    place-items:center;
    box-shadow: 5px 5px 25px rgba(0,0,0,0.6);
    flex-shrink:0;
}

.event-item-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.event-item-content{
    min-width:0;
}

.event-item-title-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}

.event-item h4{
    margin:0;
    color:#f8f1ea;
    font-size:17px;
    line-height:1.35;
}

.event-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:26px;
    padding:4px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
    white-space:nowrap;
}

.event-chip--fixed{
    background:rgba(255,255,255,.06);
    color:#f3d9b0;
    border:1px solid rgba(198,154,87,.14);
}

.event-chip--selectable{
    background:rgba(83,211,138,.12);
    color:#53d38a;
    border:1px solid rgba(83,211,138,.2);
}

.event-item-line{
    margin-top:6px;
    color:var(--muted);
    font-size:14px;
    line-height:1.6;
}

.event-item-line--positive{
    color:#53d38a;
}

.event-item-line--warn{
    color:#ff9a57;
}

.event-empty{
    min-height:100%;
    padding:24px 18px;
    border-radius:18px;
    border:1px dashed rgba(198,154,87,.16);
    background:rgba(255,255,255,.02);
    color:var(--muted);
    text-align:center;
    line-height:1.7;
    display:grid;
    place-items:center;
}

.event-widget.is-loading .event-day-nav,
.event-widget.is-loading .event-date-button{
    opacity:.55;
    cursor:wait;
}

.event-list--loading{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:320px;
}

.event-loading{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;
    text-align:center;
    color:var(--muted);
    padding:24px;
}

.event-loading-spinner{
    width:34px;
    height:34px;
    border-radius:999px;
    border:3px solid rgba(198,154,87,.16);
    border-top-color:var(--gold-soft);
    animation:eventSpin .9s linear infinite;
}

.event-loading-text{
    font-size:14px;
    color:var(--muted);
}

@keyframes eventSpin{
    to{
        transform:rotate(360deg);
    }
}
