/* ========================================
   A3A Elevator Part — Clean & Elegant CSS
   ======================================== */

:root {
    --white: #ffffff;
    --bg: #f7f8fa;
    --bg-alt: #eef0f4;
    --dark: #1a1d23;
    --dark-soft: #2f3338;
    --red: #c8102e;
    --red-hover: #a50d24;
    --text: #333840;
    --text-secondary: #6b7280;
    --border: #e2e5ea;
    --radius: 6px;
    --radius-lg: 10px;
    --shadow: 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08);
    --font: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --transition: .2s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* Helpers */
.accent { color: var(--red); }
.mono { font-family: var(--mono); }
.text-xs { font-size: .7rem; }
.center { text-align: center; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .65rem 1.2rem; font-weight: 600; font-size: .85rem;
    border-radius: var(--radius); border: none; cursor: pointer;
    font-family: var(--font); transition: all var(--transition);
    text-decoration: none;
}
.btn-sm { padding: .5rem 1rem; font-size: .8rem; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(200,16,46,.25); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--white); border-color: #d0d3d8; }
.btn-block { width: 100%; justify-content: center; }

/* ── Announcement Bar ── */
.announce-bar {
    background: var(--dark); color: #9ca3af;
    font-size: .72rem; font-family: var(--mono);
}
.announce-inner {
    display: flex; justify-content: space-between;
    align-items: center; padding: .45rem 1.5rem;
}
.announce-inner i { color: var(--red); margin-right: .3rem; }
.announce-right { display: flex; gap: .6rem; }
.announce-tag {
    background: rgba(255,255,255,.08); padding: .15rem .5rem;
    border-radius: 3px; font-size: .65rem;
}

/* ── Floating Header & Navbar ── */
.header-floating {
    position: fixed;
    top: 2.35rem;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
    pointer-events: none;
    transition: top 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-floating.scrolled {
    top: 0.75rem;
}

.navbar {
    pointer-events: auto;
    width: 100%;
    max-width: 1140px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(226, 229, 234, 0.85);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(200, 16, 46, 0.25);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.12), 0 3px 10px rgba(200, 16, 46, 0.06);
    transform: translateY(-2px);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 1.4rem;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: transform 0.25s ease;
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    position: relative;
    padding: 0.35rem 0.2rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--dark);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

/* ── Hero ── */
.hero { padding: 7.5rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

.hero-badges { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.badge {
    padding: .25rem .6rem; border-radius: 4px;
    font-size: .7rem; font-family: var(--mono); font-weight: 600;
}
.badge-accent { background: rgba(200,16,46,.08); color: var(--red); }
.badge-muted { background: var(--bg-alt); color: var(--text-secondary); }

.hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.12; color: var(--dark); margin-bottom: 1.2rem; }
.hero-sub { font-size: 1rem; color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.7; }
.hero-cta { display: flex; gap: .75rem; margin-bottom: 2.5rem; }

.hero-metrics {
    display: flex; gap: 1.5rem; padding: 1.2rem 1.5rem;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.metric strong { display: block; font-size: 1.3rem; font-weight: 700; }
.metric span { font-size: .72rem; color: var(--text-secondary); }

.hero-visual {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--dark); box-shadow: var(--shadow-md);
    position: relative;
}

/* ── Hero Slider ── */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    min-height: 340px;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .6s cubic-bezier(.4, 0, .2, 1),
                transform .6s cubic-bezier(.4, 0, .2, 1);
    transform: scale(1.03);
    z-index: 0;
    display: flex;
    flex-direction: column;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
    flex: 1;
}

.visual-caption {
    display: flex; align-items: center; padding: .75rem 1rem;
    background: rgba(0,0,0,.85); color: #ccc;
    font-family: var(--mono); font-size: .7rem;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 12px));
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: .85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .3s ease;
}

.hero-slider:hover .slider-arrow,
.activity-slider:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(200,16,46,.7);
    border-color: rgba(200,16,46,.8);
    transform: translateY(calc(-50% - 12px)) scale(1.08);
}

.slider-prev { left: .75rem; }
.slider-next { right: .75rem; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: .5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.5);
    background: transparent;
    cursor: pointer;
    transition: all .3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.25);
    box-shadow: 0 0 8px rgba(200,16,46,.5);
}

.slider-dot:hover:not(.active) {
    background: rgba(255,255,255,.4);
    border-color: rgba(255,255,255,.7);
}

/* Slider Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,.1);
    z-index: 5;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red), #e8354e);
    transition: width .1s linear;
    border-radius: 0 2px 2px 0;
}

.dot-live {
    width: 6px; height: 6px; background: #22c55e;
    border-radius: 50%; margin-right: .5rem; flex-shrink: 0;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── Brands ── */
.brands { padding: 1.5rem 0; border-bottom: 1px solid var(--border); background: var(--white); }
.brands-row { display: flex; align-items: center; gap: 1rem; }
.brands-label { font-size: .75rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.brand-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.brand-chip {
    padding: .35rem .7rem; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); font-size: .78rem; font-weight: 600;
    color: var(--dark); transition: all var(--transition);
}
.brand-chip:hover { border-color: var(--red); color: var(--red); }
.brand-chip small {
    margin-left: .3rem; font-weight: 400;
    color: var(--text-secondary); font-size: .65rem;
}

/* ── Section Common ── */
.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0 auto; }
.label-red {
    display: inline-block; font-family: var(--mono); font-size: .7rem;
    font-weight: 600; color: var(--red); letter-spacing: .5px;
    text-transform: uppercase; margin-bottom: .4rem;
}
.dot-red {
    width: 5px; height: 5px; background: var(--red);
    border-radius: 50%; display: inline-block; margin-bottom: 1px;
}
.section-head h2 {
    font-size: 2rem; font-weight: 700; color: var(--dark);
    line-height: 1.2; margin-bottom: .5rem;
}
.section-desc { color: var(--text-secondary); max-width: 500px; font-size: .9rem; }

/* ── Catalog ── */
.catalog { padding: 4rem 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.product-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.25rem;
    display: flex; flex-direction: column;
    transition: all var(--transition);
}
.product-card:hover { border-color: #d0d3d8; box-shadow: var(--shadow-md); transform: translateY(-2px); }

.pc-header { display: flex; justify-content: space-between; font-size: .7rem; font-family: var(--mono); margin-bottom: .75rem; }
.pc-id { color: var(--text-secondary); }
.pc-stock { color: #10b981; display: flex; align-items: center; gap: .3rem; font-weight: 500; }
.pc-stock.blue { color: #3b82f6; }
.dot-green { width: 5px; height: 5px; background: #10b981; border-radius: 50%; }

.product-card img {
    width: 100%; height: 160px; object-fit: cover;
    border-radius: var(--radius); margin-bottom: .75rem;
}

.product-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.product-card p { font-size: .82rem; color: var(--text-secondary); flex-grow: 1; margin-bottom: 1rem; }

.pc-footer {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid var(--border); padding-top: .75rem;
    font-family: var(--mono); font-size: .7rem;
}
.pc-cert { color: var(--text-secondary); }
.pc-quote { color: var(--red); font-weight: 600; transition: opacity var(--transition); }
.pc-quote:hover { opacity: .7; }

/* ── Comprehensive Catalog ── */
.full-catalog { padding: 4rem 0; background: var(--bg-alt); }
.fc-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.fc-tab { 
    padding: .85rem 2rem; border: 1px solid var(--border); border-radius: 30px; 
    font-weight: 600; cursor: pointer; transition: all var(--transition); 
    background: var(--white); color: var(--text-secondary); font-size: .9rem; font-family: var(--font);
}
.fc-tab.active { 
    background: var(--red); color: #fff; border-color: var(--red); 
    box-shadow: 0 4px 12px rgba(200,16,46,.25); 
}
.fc-tab:hover:not(.active) { border-color: var(--red); color: var(--red); }

.fc-content { display: none; }
.fc-content.active { display: block; animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.fc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.fc-card { 
    background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; 
    border: 1px solid var(--border); transition: all var(--transition); 
}
.fc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #d0d3d8; }
.fc-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.fc-card h4 i { color: var(--red); font-size: 1.1rem; }
.fc-list { list-style: none; }
.fc-list li { 
    font-size: .85rem; color: var(--text-secondary); margin-bottom: .6rem; 
    padding-left: 1.1rem; position: relative; line-height: 1.5; 
}
.fc-list li::before { 
    content: '•'; color: var(--red); position: absolute; left: 0; font-weight: bold; 
}

/* ── Anatomy ── */
.anatomy { padding: 4rem 0; background: var(--bg-alt); }
.anatomy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.anatomy-img {
    background: var(--dark); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
}
.anatomy-img img { flex: 1; object-fit: cover; max-height: 420px; opacity: .9; }

.anatomy-items { display: flex; flex-direction: column; gap: .75rem; }
.a-item {
    display: flex; gap: 1rem; background: var(--white);
    padding: 1.2rem; border-radius: var(--radius-lg);
    transition: box-shadow var(--transition);
}
.a-item:hover { box-shadow: var(--shadow-md); }
.a-num {
    background: var(--red); color: #fff; font-family: var(--mono);
    font-size: .75rem; font-weight: 600; padding: .2rem .4rem;
    border-radius: 4px; height: fit-content; flex-shrink: 0;
}
.a-item-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; }
.a-item h4 { font-size: .92rem; font-weight: 700; }
.a-spec { font-family: var(--mono); font-size: .65rem; color: var(--red); font-weight: 500; }
.a-item p { font-size: .82rem; color: var(--text-secondary); }

/* ── Certification ── */
.certification { padding: 4rem 0; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.cert-card {
    background: var(--white); border: 1px solid var(--border);
    padding: 1.5rem; border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cert-icon {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: rgba(200,16,46,.08);
    border-radius: 8px; color: var(--red); font-size: 1.2rem;
    margin-bottom: .75rem;
}
.cert-level {
    display: block; font-family: var(--mono); font-size: .65rem;
    color: var(--text-secondary); margin-bottom: .4rem;
}
.cert-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.cert-card p { font-size: .82rem; color: var(--text-secondary); margin-bottom: 1.2rem; }
.cert-result {
    font-family: var(--mono); font-size: .72rem;
    border-top: 1px solid var(--border); padding-top: .75rem;
}

.cert-badges {
    display: flex; justify-content: space-between;
    background: var(--white); border: 1px solid var(--border);
    padding: 1.5rem 2rem; border-radius: var(--radius-lg);
}
.cb { display: flex; align-items: center; gap: .75rem; }
.cb i { font-size: 1.4rem; color: var(--red); }
.cb strong { font-size: .85rem; display: block; }
.cb small { font-size: .72rem; color: var(--text-secondary); }

/* ── Contact / RFQ ── */
.contact { padding: 4rem 0; background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }

.contact-info h2 { margin-bottom: .75rem; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 1.5rem; }

.steps { list-style: none; margin-bottom: 2rem; }
.steps li { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; font-size: .88rem; }
.step-n {
    width: 28px; height: 28px; background: var(--red); color: #fff;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: .8rem; flex-shrink: 0;
}

.hotline-box {
    background: var(--white); padding: 1.2rem; border-radius: var(--radius-lg);
    display: flex; align-items: center; gap: 1rem;
}
.hotline-box i { font-size: 1.5rem; color: var(--red); }
.hotline-box div { display: flex; flex-direction: column; }

.contact-form {
    background: var(--white); padding: 2rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .78rem; font-weight: 500; margin-bottom: .3rem; }
.field input, .field select, .field textarea {
    width: 100%; padding: .65rem .8rem; border: 1px solid var(--border);
    border-radius: var(--radius); font-family: var(--font);
    font-size: .85rem; background: var(--bg);
    transition: border-color var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--red);
}
.field-check {
    display: flex; align-items: center; gap: .5rem;
    margin-bottom: 1.2rem; font-size: .82rem;
}

/* ── Testimonials ── */
.testimonials { padding: 4rem 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testi-card {
    background: var(--white); border: 1px solid var(--border);
    padding: 1.5rem; border-radius: var(--radius-lg);
    display: flex; flex-direction: column;
}
.stars { color: #facc15; margin-bottom: .75rem; letter-spacing: 2px; }
.testi-card p { font-size: .88rem; font-style: italic; margin-bottom: 1.5rem; flex-grow: 1; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.avatar {
    width: 36px; height: 36px; background: var(--bg-alt);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: .8rem; flex-shrink: 0;
}
.testi-author div { display: flex; flex-direction: column; }
.testi-author strong { font-size: .82rem; }
.testi-author small { font-size: .7rem; color: var(--text-secondary); }

/* ── Footer ── */
.footer { margin-top: 2rem; }
.footer-stats-bar { background: var(--dark); color: #fff; padding: 3rem 0; }
.stats-row { display: flex; justify-content: center; gap: 5rem; text-align: center; }
.fs strong { display: block; font-size: 2.5rem; font-weight: 800; }
.fs span { font-size: .78rem; color: #9ca3af; }

.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem; padding: 3rem 1.5rem;
}
.footer-logo { height: 42px; margin-bottom: 1rem; }
.footer-brand p { font-size: .82rem; color: var(--text-secondary); margin-bottom: 1rem; }
.footer-tags { display: flex; gap: .4rem; }
.footer-tags span {
    background: var(--bg-alt); font-family: var(--mono);
    font-size: .6rem; padding: .2rem .4rem; border-radius: 3px;
}

.footer-col h4 { font-size: .8rem; font-weight: 700; margin-bottom: 1rem; color: var(--dark); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { font-size: .82rem; color: var(--text-secondary); transition: color var(--transition); }
.footer-col a:hover { color: var(--red); }

.emergency-card {
    background: var(--bg); padding: 1rem; border-radius: var(--radius);
}
.emergency-card strong { display: block; font-size: 1.1rem; margin: .4rem 0; }
.emergency-card small { font-size: .78rem; color: var(--text-secondary); }

.footer-bottom {
    display: flex; justify-content: space-between; padding: 1.5rem;
    border-top: 1px solid var(--border); font-size: .75rem; color: var(--text-secondary);
}
.footer-bottom a { color: var(--text-secondary); }
.footer-bottom a:hover { color: var(--red); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid, .anatomy-grid, .contact-grid { grid-template-columns: 1fr; }
    .catalog-grid, .cert-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-badges { flex-wrap: wrap; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-row { gap: 2rem; }

    /* Hero adjustments for tablet */
    .hero { padding: 3rem 0 2rem; }
    .hero-grid { gap: 2rem; }

    .hero-visual {
        border-radius: var(--radius-lg);
    }

    .slider-track {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 1rem; }

    .nav-menu { display: none; }
    .announce-right { display: none; }
    .catalog-grid, .cert-grid, .testi-grid { grid-template-columns: 1fr; }
    .form-2col { grid-template-columns: 1fr; }
    .cert-badges { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-row { flex-wrap: wrap; gap: 1.5rem; }
    .fs strong { font-size: 2rem; }
    .brands-row { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; gap: .5rem; }

    /* ── Hero Mobile Fluid ── */
    .hero {
        padding: 6.5rem 0 1.5rem;
    }

    .hero-grid {
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 1.85rem;
        line-height: 1.18;
        margin-bottom: 1rem;
    }

    .hero-sub {
        font-size: .9rem;
        margin-bottom: 1.5rem;
        line-height: 1.65;
    }

    .hero-badges {
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .hero-cta {
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }

    .hero-cta .btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    /* Slider stretches edge-to-edge on mobile */
    .hero-visual {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-slider {
        border-radius: 0;
    }

    .slider-track {
        min-height: 220px;
    }

    .slide img {
        min-height: 220px;
    }

    .slider-arrow {
        opacity: 1;
        width: 32px;
        height: 32px;
        font-size: .75rem;
    }

    .slider-prev { left: .5rem; }
    .slider-next { right: .5rem; }

    .slider-dots {
        bottom: 40px;
        gap: .6rem;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .visual-caption {
        padding: .6rem .8rem;
        font-size: .62rem;
    }

    .slider-progress {
        height: 3px;
    }

    /* Metrics: 2×2 grid on mobile */
    .hero-metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .75rem;
        padding: 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .metric {
        text-align: center;
        padding: .5rem 0;
    }

    .metric strong {
        font-size: 1.2rem;
    }

    .metric span {
        font-size: .68rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container { padding: 0 .75rem; }

    .hero {
        padding: 1.5rem 0 1rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-sub {
        font-size: .85rem;
    }

    .hero-visual {
        margin-left: -.75rem;
        margin-right: -.75rem;
    }

    .slider-track {
        min-height: 200px;
    }

    .slide img {
        min-height: 200px;
    }

    .hero-cta .btn {
        padding: .6rem 1rem;
        font-size: .82rem;
    }

    .hero-metrics {
        gap: .5rem;
        padding: .8rem;
    }

    .metric strong {
        font-size: 1.05rem;
    }

    .navbar-inner {
        padding: .6rem .75rem;
    }

    .logo-img {
        height: 38px;
    }

    .btn-sm {
        padding: .4rem .75rem;
        font-size: .75rem;
    }

    .announce-bar {
        font-size: .65rem;
    }

    .announce-inner {
        padding: .35rem .75rem;
    }
}

/* ── Scroll Reveal Animations ── */

/* Default: fade + slide up */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.25,.46,.45,.94),
                transform .7s cubic-bezier(.25,.46,.45,.94);
}

/* Directional variants */
.reveal.reveal-left {
    transform: translateX(-40px);
}
.reveal.reveal-right {
    transform: translateX(40px);
}

/* Revealed state */
.reveal.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered children — hidden by default */
.stagger-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s cubic-bezier(.25,.46,.45,.94),
                transform .5s cubic-bezier(.25,.46,.45,.94);
}

.stagger-child.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Hero: Aktifitas Kami & Slider Galeri
   ======================================== */
.hero-activity {
    padding: 5rem 0;
    background: #fbfcfd;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.hero-activity-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.activity-badges {
    display: flex;
    gap: .6rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.activity-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.18;
    color: var(--dark);
    margin-bottom: 1.2rem;
}

.activity-sub {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.activity-features {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 2rem;
}

.act-feat-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.act-feat-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(200,16,46,.08);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.act-feat-item strong {
    display: block;
    font-size: .92rem;
    color: var(--dark);
    margin-bottom: .2rem;
}

.act-feat-item p {
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.activity-cta {
    display: flex;
    gap: .75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Thumbnails navigation */
.activity-thumbs-wrap {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.thumbs-label {
    display: block;
    font-size: .78rem;
    font-family: var(--mono);
    color: var(--text-secondary);
    margin-bottom: .75rem;
    font-weight: 600;
    letter-spacing: .3px;
}

.thumbs-label i {
    color: var(--red);
    margin-right: .3rem;
}

.activity-thumbs {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.thumb-btn {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    background: var(--dark);
    padding: 0;
    transition: all .25s ease;
    flex-shrink: 0;
}

.thumb-btn:hover {
    border-color: rgba(200,16,46,.5);
    transform: translateY(-2px);
}

.thumb-btn.active {
    border-color: var(--red);
    box-shadow: 0 0 12px rgba(200,16,46,.35);
    transform: scale(1.05);
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .65;
    transition: opacity .2s;
}

.thumb-btn.active img,
.thumb-btn:hover img {
    opacity: 1;
}

.thumb-tag {
    position: absolute;
    bottom: 3px;
    right: 3px;
    font-size: .6rem;
    font-family: var(--mono);
    font-weight: 700;
    background: rgba(0,0,0,.8);
    color: #fff;
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1.1;
}

/* Activity Slider Showcase Card */
.activity-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0f1115;
    box-shadow: 0 12px 36px rgba(0,0,0,.14);
    border: 1px solid rgba(0,0,0,.08);
}

.activity-slider {
    position: relative;
    overflow: hidden;
}

.activity-slider .slider-track {
    position: relative;
    width: 100%;
    height: 480px;
}

.activity-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .6s cubic-bezier(.4, 0, .2, 1),
                transform .6s cubic-bezier(.4, 0, .2, 1);
    z-index: 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.activity-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
    position: relative;
}

.slide-img-box {
    position: relative;
    width: 100%;
    height: calc(100% - 44px);
    overflow: hidden;
    background: #0a0b0d;
}

.slide-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}

.activity-slide:hover .slide-img-box img {
    transform: scale(1.03);
}

.zoom-hint {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-size: .68rem;
    font-family: var(--mono);
    padding: 5px 10px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all .3s ease;
    pointer-events: none;
    z-index: 2;
}

.activity-slide:hover .zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.activity-slide .visual-caption {
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 1.2rem;
    background: #15181e;
    color: #ccc;
    font-family: var(--mono);
    font-size: .72rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.cap-title {
    font-weight: 600;
    letter-spacing: .5px;
}

.activity-slide-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 6;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-family: var(--mono);
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

#actCurrentSlide {
    color: var(--red);
}

.activity-dots {
    position: absolute;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: .5rem;
}

.activity-desc-box {
    background: #171a21;
    padding: 1.1rem 1.3rem;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #fff;
}

.desc-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .4rem;
}

.desc-tag {
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--red);
    font-weight: 700;
    letter-spacing: .5px;
}

.desc-status {
    font-family: var(--mono);
    font-size: .68rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.desc-box-text {
    font-size: .88rem;
    color: #e5e7eb;
    font-weight: 500;
    line-height: 1.45;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    padding: 1.5rem;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #16181e;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.6);
    transform: scale(.95);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,.65);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.lightbox-close:hover {
    background: var(--red);
    border-color: var(--red);
    transform: rotate(90deg);
}

.lightbox-img-wrapper {
    width: 100%;
    max-height: calc(88vh - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #090a0d;
    overflow: hidden;
}

.lightbox-img {
    max-width: 100%;
    max-height: calc(88vh - 75px);
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    width: 100%;
    padding: .9rem 1.4rem;
    background: #16181e;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

#lightboxTag {
    font-size: .8rem;
    font-weight: 700;
    flex-shrink: 0;
}

#lightboxText {
    font-size: .88rem;
    color: #d1d5db;
    font-weight: 500;
    text-align: right;
}

/* Responsive for Activity Section */
@media (max-width: 900px) {
    .hero-activity-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .activity-slider .slider-track {
        height: 420px;
    }

    .activity-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 600px) {
    .hero-activity {
        padding: 3rem 0;
    }

    .activity-title {
        font-size: 1.55rem;
    }

    .activity-slider .slider-track {
        height: 350px;
    }

    .thumb-btn {
        width: 58px;
        height: 58px;
    }

    .lightbox-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: .3rem;
    }

    #lightboxText {
        text-align: left;
        font-size: .8rem;
    }
}

/* ========================================
   FAQ Accordion Section
   ======================================== */
.faq {
    padding: 5rem 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.faq-accordion {
    max-width: 860px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: #d1d5db;
    box-shadow: var(--shadow);
}

.faq-item.active {
    background: var(--white);
    border-color: rgba(200,16,46,.3);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    text-align: left;
    transition: color var(--transition);
}

.faq-item.active .faq-question {
    color: var(--red);
}

.faq-chevron {
    color: var(--text-secondary);
    font-size: .85rem;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), color .2s;
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.4, 0, .2, 1), padding .35s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.35rem;
}

.faq-answer p {
    font-size: .92rem;
    color: var(--text);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--red);
    text-decoration: underline;
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.35);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.85);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--red-hover);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(200, 16, 46, 0.48);
}

.back-to-top:active {
    transform: translateY(-1px) scale(0.98);
}

/* Responsive Floating Nav & Back to Top */
@media (max-width: 768px) {
    .header-floating {
        top: 2.1rem;
        padding: 0 0.85rem;
    }

    .header-floating.scrolled {
        top: 0.5rem;
    }

    .navbar {
        border-radius: 30px;
    }

    .navbar-inner {
        padding: 0.45rem 0.9rem;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.25rem;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}
