/* ========================================
   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; }

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;
}

/* ── Navbar ── */
.navbar {
    background: var(--white); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
    display: flex; justify-content: space-between;
    align-items: center; padding: .75rem 1.5rem;
}
.logo-img { height: 48px; width: auto; }
.nav-menu {
    list-style: none; display: flex; gap: 1.8rem;
}
.nav-menu a {
    font-size: .85rem; font-weight: 500; color: var(--text-secondary);
    transition: color var(--transition); position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--dark); }
.nav-menu a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 100%; height: 2px; background: var(--red); border-radius: 2px;
}

/* ── Hero ── */
.hero { padding: 5rem 0 3rem; }
.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);
}
.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);
}
.hero-visual img { width: 100%; opacity: .9; }
.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;
}
.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; }

/* ── 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; }
}

@media (max-width: 768px) {
    .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; }
    .hero h1 { font-size: 2rem; }
    .brands-row { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; gap: .5rem; }
}

/* ── 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);
}
