/* ============================================================
   Yilong Machinery — Main Stylesheet
   Converted from Tailwind v4 design tokens to vanilla CSS.
   ============================================================ */

:root {
    --navy-950: #0f2339;
    --navy-900: #1b3a5c;
    --navy-800: #23486e;
    --navy-700: #2e5d8c;
    --navy-100: #e4ecf4;
    --navy-50:  #f1f5fa;
    --accent-700: #1f5fa6;
    --accent-600: #2468b4;
    --accent-500: #2e7dd1;
    --accent-400: #5799de;
    --accent-100: #e7f1fb;
    --accent-50:  #f2f7fd;
    --silver: #8a94a6;
    --mist:   #f5f7fa;
    --line:   #e5e7eb;
    --ink:    #1f2937;
    --muted:  #6b7280;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C4B;
    --font-sans: 'Inter', 'Roboto', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Barlow', 'Inter', 'Roboto', ui-sans-serif, system-ui, sans-serif;
    --header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #fff;
    font-family: var(--font-sans);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--navy-900); text-wrap: balance; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(46,125,209,0.22); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; }

/* Layout helpers */
.container-x { max-width: 80rem; margin-left: auto; margin-right: auto; width: 100%; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 640px) { .container-x { padding-left: 2rem; padding-right: 2rem; } }

.section { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 640px) { .section { padding-top: 7rem; padding-bottom: 7rem; } }
.bg-white { background: #fff; }
.bg-mist { background: var(--mist); }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.pt-header { padding-top: var(--header-h); }
.relative { position: relative; }
.max-w-2xl { max-width: 42rem; }
.mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; } .mt-7 { margin-top: 1.75rem; } .mt-8 { margin-top: 2rem; }
.mt-9 { margin-top: 2.25rem; } .mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.flex-row { display: flex; flex-direction: row; }
.shrink-0 { flex-shrink: 0; }

/* Eyebrow labels */
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.22em; color: var(--accent-600);
}
.eyebrow::before { content: ''; display: inline-block; height: 2px; width: 2rem; background: var(--accent-500); }
.eyebrow-on-dark {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.22em; color: var(--accent-400);
}
.eyebrow-on-dark::before { content: ''; display: inline-block; height: 2px; width: 2rem; background: var(--accent-400); }

/* Section headings */
.section-head { display: flex; flex-direction: column; gap: 1rem; }
.section-head-left { align-items: flex-start; text-align: left; }
.section-head-center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; max-width: 42rem; }
.section-title { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.section-desc { color: var(--muted); font-size: 1rem; line-height: 1.625; }
.section-head-row { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; justify-content: space-between; }
@media (min-width: 1024px) { .section-head-row { flex-direction: row; align-items: flex-end; } }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    border-radius: 0.375rem; padding: 0.75rem 1.5rem;
    font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    box-shadow: 0 1px 3px rgba(15,35,57,0.1);
    transition: all 0.2s ease; border: 1px solid transparent;
    cursor: pointer;
}
.btn-icon { width: 1rem; height: 1rem; }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); box-shadow: 0 4px 12px rgba(15,35,57,0.2); }
.btn-cta { background: var(--accent-500); color: #fff; }
.btn-cta:hover { background: var(--accent-600); box-shadow: 0 4px 12px rgba(46,125,209,0.3); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--navy-900); }
.btn-outline:hover { border-color: var(--accent-500); color: var(--accent-600); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { border-color: var(--accent-400); color: var(--accent-400); }
.btn-whatsapp { background: #fff; border-color: var(--whatsapp); color: var(--whatsapp-dark); }
.btn-whatsapp:hover { background: var(--whatsapp); color: #fff; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.75rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

.text-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--accent-600); transition: color 0.2s; white-space: nowrap;
}
.text-link:hover { color: var(--accent-700); }

/* Cards */
.card-surface {
    background: #fff; border: 1px solid var(--line); border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(15,35,57,0.06);
    transition: all 0.3s ease;
}
.check-icon { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--accent-500); margin-top: 0.125rem; }

/* ============ HEADER / NAV ============ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(6px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.site-header.scrolled, .site-header.menu-open {
    background: rgba(255,255,255,0.95);
    border-bottom-color: var(--line);
    box-shadow: 0 1px 4px rgba(15,35,57,0.08);
    backdrop-filter: blur(12px);
}
.nav-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { height: 2.25rem; width: auto; filter: invert(21%) sepia(36%) saturate(900%) hue-rotate(176deg) brightness(94%) contrast(94%); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1rem; font-weight: 800; letter-spacing: 0.02em; color: var(--navy-900); }
.brand-tag { margin-top: 0.25rem; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em; color: var(--silver); }

.nav-links { display: none; align-items: center; gap: 1.75rem; }
.nav-links a {
    position: relative; font-size: 0.875rem; font-weight: 600; color: rgba(27,58,92,0.8);
    transition: color 0.2s; padding-bottom: 2px;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -6px; left: 0; height: 2px; width: 0;
    background: var(--accent-500); transition: width 0.2s;
}
.nav-links a:hover { color: var(--accent-600); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: none; }
@media (min-width: 1024px) {
    .nav-links, .nav-cta { display: flex; align-items: center; }
    .nav-toggle { display: none; }
}
.nav-toggle {
    display: inline-flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 0.375rem; background: #fff; color: var(--navy-900);
}
.nav-toggle .icon-close { display: none; }
.site-header.menu-open .nav-toggle .icon-menu { display: none; }
.site-header.menu-open .nav-toggle .icon-close { display: block; }
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.site-header.menu-open .mobile-menu { display: block; }
.mobile-menu ul { padding: 0.75rem 0; }
.mobile-menu li a {
    display: block; padding: 0.875rem 1.25rem; border-bottom: 1px solid rgba(229,231,235,0.7);
    font-size: 1rem; font-weight: 600; color: var(--navy-900);
}
.mobile-menu .mobile-cta { padding: 1rem 1.25rem; border-bottom: none; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: rgba(15,35,57,0.78); }
.hero-overlay-grad {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to right, rgba(15,35,57,0.9) 0%, rgba(15,35,57,0.7) 50%, rgba(15,35,57,0.25) 100%);
}
.hero-overlay-bottom { position: absolute; inset-inline: 0; bottom: 0; z-index: -1; height: 12rem; background: linear-gradient(to top, rgba(15,35,57,0.8), transparent); }
.hero-grid {
    position: absolute; inset: 0; z-index: -1; opacity: 0.4;
    background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 56px 56px;
}
.hero-inner { padding-top: 8rem; padding-bottom: 3.5rem; }
.hero-inner > * { max-width: 48rem; }
.hero-title {
    margin-top: 1.5rem; font-family: var(--font-display);
    font-size: 2.25rem; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: #fff;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.accent-text { color: var(--accent-400); }
.hero-sub { margin-top: 1.5rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.625; color: #cbd5e1; }
.hero-trust { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: #e2e8f0; }
.hero-trust .check-icon { color: var(--accent-400); }
.hero-cta { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }

.hero-stats-bar { border-top: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.95); backdrop-filter: blur(4px); }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); padding: 1.25rem 0; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0 0.5rem; text-align: center; border-left: 1px solid var(--line); }
.hero-stat:first-child { border-left: none; }
@media (min-width: 640px) { .hero-stat { border-left: 1px solid var(--line); } .hero-stat:first-child { border-left: none; } }
.hero-stat-value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--navy-900); }
@media (min-width: 640px) { .hero-stat-value { font-size: 1.5rem; } }
.hero-stat-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
@media (min-width: 640px) { .hero-stat-label { font-size: 0.75rem; } }

/* ============ PRODUCT CARDS ============ */
.grid-3-products { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3-products { grid-template-columns: repeat(3, 1fr); } }
.product-card { display: flex; flex-direction: column; overflow-hidden; height: 100%; }
.product-card:hover { transform: translateY(-4px); border-color: var(--accent-400); box-shadow: 0 16px 40px -18px rgba(27,58,92,0.35); }
.product-card-img { aspect-ratio: 4/3; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--mist); }
.product-card-img img { height: 100%; width: 100%; object-fit: contain; padding: 1.5rem; transition: transform 0.5s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { flex: 1; display: flex; flex-direction: column; padding: 1.75rem; }
.product-model { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-600); }
.product-name { margin-top: 0.5rem; font-size: 1.25rem; font-weight: 700; line-height: 1.35; color: var(--navy-900); }
.product-short { margin-top: 0.75rem; flex: 1; font-size: 0.875rem; line-height: 1.625; color: var(--muted); }
.product-points { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.product-points li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--ink); }
.view-details {
    margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--accent-600);
}
.product-card:hover .view-details { color: var(--accent-700); }
.view-details .btn-icon { transition: transform 0.2s; }
.product-card:hover .view-details .btn-icon { transform: translateX(4px); }

/* ============ APPLICATIONS ============ */
.grid-4-apps { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-4-apps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4-apps { grid-template-columns: repeat(4, 1fr); } }
.app-card { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 0.375rem; border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(15,35,57,0.06); }
.app-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.app-card:hover > img { transform: scale(1.1); }
.app-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,35,57,0.9) 0%, rgba(15,35,57,0.35) 50%, transparent 100%); }
.app-caption { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem; }
.app-caption h3 { font-size: 1.125rem; font-weight: 700; color: #fff; }
.app-caption p { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.5; color: #e2e8f0; }

/* ============ WHY US ============ */
.grid-4-why { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-4-why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4-why { grid-template-columns: repeat(4, 1fr); } }
.why-card { padding: 1.75rem; height: 100%; }
.why-card:hover { transform: translateY(-4px); border-color: var(--accent-400); box-shadow: 0 16px 40px -18px rgba(27,58,92,0.3); }
.why-icon {
    display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center;
    border-radius: 0.375rem; border: 1px solid var(--accent-100); background: var(--accent-50);
    color: var(--accent-600); transition: all 0.2s;
}
.why-icon svg { width: 1.5rem; height: 1.5rem; }
.why-card:hover .why-icon { background: var(--accent-500); color: #fff; }
.why-title { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 700; }
.why-desc { margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted); }

/* ============ FACTORY TILES ============ */
.grid-3-tiles { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-3-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3-tiles { grid-template-columns: repeat(3, 1fr); } }
.factory-tile { margin: 0; }
.factory-tile-btn {
    display: block; width: 100%; overflow: hidden; text-align: left;
    border: 1px solid var(--line); border-radius: 0.375rem; background: #fff;
    box-shadow: 0 1px 3px rgba(15,35,57,0.06); transition: all 0.3s;
    padding: 0;
}
.factory-tile-btn:hover { transform: translateY(-4px); border-color: var(--accent-400); box-shadow: 0 16px 40px -18px rgba(27,58,92,0.3); }
.factory-tile-img { aspect-ratio: 4/3; overflow: hidden; }
.factory-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.factory-tile-btn:hover .factory-tile-img img { transform: scale(1.05); }
.factory-tile figcaption { border-top: 1px solid var(--line); padding: 1rem 1.25rem; background: #fff; }
.tile-caption { font-size: 0.875rem; font-weight: 700; color: var(--navy-900); }
.tile-detail { margin-top: 0.25rem; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
.gallery-caption { border-top: 1px solid var(--line); padding: 0.75rem 1rem; font-size: 0.75rem; font-weight: 600; color: var(--navy-900); background: #fff; }

.stats-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 0.375rem; background: var(--line); }
@media (min-width: 1024px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }
.stats-bar-item { background: #fff; padding: 1.75rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.stats-bar-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--navy-900); }
@media (min-width: 640px) { .stats-bar-value { font-size: 1.875rem; } }
.stats-bar-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

/* ============ OEM SECTION ============ */
.oem-section { overflow: hidden; }
.oem-grid-bg {
    position: absolute; inset: 0; opacity: 0.6;
    background-image: linear-gradient(to right, rgba(27,58,92,0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(27,58,92,0.05) 1px, transparent 1px);
    background-size: 56px 56px;
}
.grid-4-oem { display: grid; gap: 1.5rem; list-style: none; }
@media (min-width: 768px) { .grid-4-oem { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4-oem { grid-template-columns: repeat(4, 1fr); } }
.oem-step { position: relative; height: 100%; border: 1px solid var(--line); border-radius: 0.375rem; background: #fff; padding: 1.75rem; box-shadow: 0 1px 3px rgba(15,35,57,0.05); }
.oem-number { font-family: var(--font-display); font-size: 1.875rem; font-weight: 800; color: rgba(46,125,209,0.35); }
.oem-step h3 { margin-top: 0.75rem; font-size: 1.125rem; font-weight: 700; }
.oem-step p { margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted); }

/* ============ ABOUT ============ */
.grid-2-about { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .grid-2-about { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-text p + p { margin-top: 1rem; }
.about-text { font-size: 1rem; line-height: 1.625; color: var(--muted); }
.about-highlights { margin-top: 2rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .about-highlights { grid-template-columns: repeat(2, 1fr); } }
.about-highlights li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--ink); }
.about-img-wrap { position: relative; overflow: hidden; border-radius: 0.375rem; border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(15,35,57,0.06); }
.about-img-wrap img { width: 100%; max-height: 520px; object-fit: cover; }
.about-img-overlay { position: absolute; inset-inline: 0; bottom: 0; background: linear-gradient(to top, rgba(15,35,57,0.85), transparent); padding: 1.5rem; }
.about-img-eyebrow { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-400); }
.about-img-title { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: #fff; }

/* ============ CONTACT / INQUIRY ============ */
.grid-2-contact { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .grid-2-contact { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }
.contact-info { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
    display: flex; height: 2.75rem; width: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center;
    border-radius: 0.375rem; border: 1px solid var(--accent-100); background: var(--accent-50); color: var(--accent-600);
}
.contact-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-info > li > span:last-child { display: flex; flex-direction: column; }
.contact-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--silver); }
.contact-value { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.contact-note {
    margin-top: 2.5rem; display: flex; align-items: flex-start; gap: 0.75rem;
    border: 1px solid var(--line); border-radius: 0.375rem; background: var(--mist); padding: 1.25rem;
}
.contact-note svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 0.125rem; color: var(--accent-600); }
.contact-note p { font-size: 0.875rem; line-height: 1.625; color: var(--muted); }

.inquiry-form-wrap { border: 1px solid var(--line); border-radius: 0.375rem; background: var(--mist); padding: 1.5rem; box-shadow: 0 1px 3px rgba(15,35,57,0.05); }
@media (min-width: 640px) { .inquiry-form-wrap { padding: 2.25rem; } }
.form-grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.inquiry-form label { display: block; margin-bottom: 0.5rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.req { color: var(--accent-500); }
.input-field {
    width: 100%; border: 1px solid var(--line); border-radius: 0.375rem; background: #fff;
    padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit;
}
.input-field::placeholder { color: var(--silver); }
.input-field:focus { outline: none; border-color: var(--accent-500); box-shadow: 0 0 0 3px var(--accent-100); }
textarea.input-field { resize: vertical; }
.form-fineprint { text-align: center; font-size: 0.75rem; color: var(--silver); }

.inquiry-notice {
    margin-bottom: 1.25rem; padding: 1rem 1.25rem; border-radius: 0.375rem;
    font-size: 0.875rem; line-height: 1.6;
}
.inquiry-notice-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.inquiry-notice-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy-900); color: #cbd5e1; }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo { height: 2.25rem; width: auto; filter: brightness(0) invert(1); }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1; }
.footer-brand-name { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: #fff; }
.footer-brand-tag { margin-top: 0.25rem; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em; color: #94a3b8; }
.footer-desc { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.625; color: #94a3b8; }
.site-footer h3 { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; }
.site-footer nav ul, .site-footer > div > div > ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer ul a { font-size: 0.875rem; color: #94a3b8; transition: color 0.2s; }
.site-footer ul a:hover { color: var(--accent-400); }
.footer-contact { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: #94a3b8; }
.footer-company { font-weight: 600; color: #e2e8f0; }
.footer-markets { color: #64748b; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1.5rem 0; font-size: 0.75rem; color: #64748b; }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; } }

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
    display: flex; align-items: center; justify-content: center;
    height: 3.5rem; width: 3.5rem; border-radius: 9999px;
    background: var(--whatsapp); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ============ BREADCRUMB ============ */
.breadcrumb-bar { border-bottom: 1px solid var(--line); background: var(--mist); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; padding: 0.875rem 0; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-600); }
.breadcrumb-sep svg { width: 0.875rem; height: 0.875rem; color: var(--silver); }
.breadcrumb-current { font-weight: 600; color: var(--navy-900); }

/* ============ FACTORY PAGE ============ */
.factory-hero { position: relative; overflow: hidden; background: var(--navy-900); }
.factory-hero-grid {
    position: absolute; inset: 0; opacity: 0.4;
    background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 56px 56px;
}
.factory-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.factory-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,35,57,0.9) 0%, rgba(27,58,92,0.8) 50%, rgba(27,58,92,0.55) 100%); }
.factory-hero-inner { position: relative; padding: 5rem 0; }
@media (min-width: 640px) { .factory-hero-inner { padding: 7rem 0; } }
.factory-hero-inner > * { max-width: 48rem; }
.factory-hero-title { margin-top: 1.25rem; font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; line-height: 1.15; color: #fff; }
@media (min-width: 640px) { .factory-hero-title { font-size: 3rem; } }
.factory-hero-sub { margin-top: 1.25rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.625; color: #cbd5e1; }
.factory-hero-cta { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .factory-hero-cta { flex-direction: row; } }

.stats-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--mist); padding: 4rem 0; }
@media (min-width: 640px) { .stats-section { padding: 5rem 0; } }
.stats-heading { text-align: center; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy-900); }
@media (min-width: 640px) { .stats-heading { font-size: 1.875rem; } }
.stats-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(6, 1fr); } }
.stats-cell { height: 100%; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--line); border-radius: 0.375rem; background: #fff; padding: 2rem 0.75rem; text-align: center; box-shadow: 0 1px 3px rgba(15,35,57,0.05); }
.stats-cell-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--navy-900); }
@media (min-width: 640px) { .stats-cell-value { font-size: 1.75rem; } }
.stats-cell-label { margin-top: 0.5rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

.gallery-group-title { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--navy-900); }
.gallery-bar { display: inline-block; height: 1.25rem; width: 0.25rem; border-radius: 0.25rem; background: var(--accent-500); }
.gallery-grid { display: grid; gap: 1.25rem; }
.gallery-2 { grid-template-columns: 1fr; } .gallery-3 { grid-template-columns: 1fr; } .gallery-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
    .gallery-2, .gallery-3, .gallery-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .gallery-3 { grid-template-columns: repeat(3, 1fr); }
    .gallery-4 { grid-template-columns: repeat(4, 1fr); }
}

.cap-list { margin-top: 2rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .cap-list { grid-template-columns: repeat(2, 1fr); } }
.cap-list li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; font-weight: 500; color: var(--ink); }

.steps-grid { margin-top: 3rem; display: grid; gap: 1.25rem; list-style: none; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { position: relative; height: 100%; border: 1px solid var(--line); border-radius: 0.375rem; background: #fff; padding: 1.75rem; box-shadow: 0 1px 3px rgba(15,35,57,0.05); }
.step-number { display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 0.375rem; background: var(--navy-900); font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; color: #fff; }
.step-card h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 700; }
.step-card p { margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted); }

.iso-img-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 0.375rem; background: var(--mist); padding: 1rem; box-shadow: 0 1px 3px rgba(15,35,57,0.06); }
.iso-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.iso-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--ink); }
.iso-list li::before {
    content: ''; flex-shrink: 0; margin-top: 0.125rem; height: 1.5rem; width: 1.5rem; border-radius: 9999px;
    background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232468b4' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 4.5 3 7.5 7 9 4-1.5 7-4.5 7-9V6l-7-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/0.875rem no-repeat;
}

.cta-band { position: relative; overflow: hidden; background: var(--navy-900); padding: 4rem 0; }
@media (min-width: 640px) { .cta-band { padding: 5rem 0; } }
.cta-band-grid {
    position: absolute; inset: 0; opacity: 0.4;
    background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 56px 56px;
}
.cta-band-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
@media (min-width: 1024px) { .cta-band-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.cta-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .cta-title { font-size: 1.875rem; } }
.cta-sub { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: #cbd5e1; }
@media (min-width: 640px) { .cta-sub { font-size: 1rem; } }
.cta-buttons { display: flex; flex-shrink: 0; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .cta-buttons > .flex-row { flex-direction: row; } }

/* ============ PRODUCT DETAIL ============ */
.product-main-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .product-main-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.product-gallery .gallery-main { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 0.375rem; background: #fff; }
.gallery-main-img { display: none; aspect-ratio: 4/3; width: 100%; object-fit: contain; padding: 1rem; }
@media (min-width: 640px) { .gallery-main-img { padding: 2rem; } }
.gallery-main-img.active { display: block; }
.gallery-zoom {
    position: absolute; right: 0.75rem; top: 0.75rem; z-index: 2;
    display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 0.375rem; background: rgba(255,255,255,0.9); color: var(--navy-800);
    transition: all 0.2s;
}
.gallery-zoom:hover { border-color: var(--accent-500); color: var(--accent-600); }
.gallery-zoom svg { width: 1.25rem; height: 1.25rem; }
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 0.375rem; background: rgba(255,255,255,0.9); color: var(--navy-800);
    opacity: 0; transition: all 0.2s;
}
.gallery-main:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover { border-color: var(--accent-500); color: var(--accent-600); }
.gallery-prev { left: 0.75rem; }
.gallery-next { right: 0.75rem; }
.gallery-nav svg { width: 1.25rem; height: 1.25rem; }
.gallery-thumbs { margin-top: 1rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; list-style: none; }
@media (min-width: 640px) { .gallery-thumbs { gap: 0.75rem; } }
.gallery-thumb {
    display: block; aspect-ratio: 1; width: 100%; overflow: hidden; border-radius: 0.375rem;
    border: 1px solid var(--line); background: #fff; padding: 0.25rem; transition: all 0.2s;
}
.gallery-thumb.active { border-color: var(--accent-500); box-shadow: 0 0 0 2px var(--accent-100); }
.gallery-thumb:hover { border-color: var(--accent-400); }
.gallery-thumb img { height: 100%; width: 100%; object-fit: contain; }

.product-category { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent-600); }
.product-h1 { margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy-900); }
@media (min-width: 640px) { .product-h1 { font-size: 2.25rem; } }
.product-model-line { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--silver); }
.product-short-desc { font-size: 1rem; line-height: 1.625; color: var(--muted); }

.key-specs { margin-top: 1.75rem; display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 0.375rem; background: var(--line); }
@media (min-width: 640px) { .key-specs { grid-template-columns: repeat(2, 1fr); } }
.key-spec { background: var(--mist); padding: 0.75rem 1rem; }
.key-spec dt { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--silver); }
.key-spec dd { margin-top: 0.125rem; font-size: 0.875rem; font-weight: 600; color: var(--navy-900); }

.trust-badges { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.625rem; list-style: none; }
.trust-badges li { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line); border-radius: 0.375rem; background: var(--mist); padding: 0.5rem 0.75rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy-800); }
.trust-badges svg { width: 1rem; height: 1rem; color: var(--accent-600); }
.product-cta { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .product-cta { flex-direction: row; } }

/* Tabs */
.tabs-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--mist); padding: 3.5rem 0; }
@media (min-width: 640px) { .tabs-section { padding: 5rem 0; } }
.tabs-nav { display: flex; gap: 0.25rem; overflow-x-auto; border: 1px solid var(--line); border-radius: 0.375rem; background: var(--mist); padding: 0.375rem; }
.tab-btn {
    flex-shrink: 0; border: none; border-radius: 0.25rem; background: transparent;
    padding: 0.625rem 1rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--muted); transition: all 0.2s;
}
@media (min-width: 640px) { .tab-btn { font-size: 0.875rem; } }
.tab-btn:hover { background: #fff; color: var(--navy-900); }
.tab-btn.active { background: var(--navy-900); color: #fff; box-shadow: 0 1px 3px rgba(15,35,57,0.1); }
.tab-pane { display: none; max-width: 48rem; }
.tab-pane.active { display: block; }
.tab-pane p { font-size: 1rem; line-height: 1.625; color: var(--muted); }
.tab-pane p + p { margin-top: 1.25rem; }
.spec-table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 0.375rem; }
.spec-table th, .spec-table td { padding: 0.875rem 1.25rem; text-align: left; vertical-align: top; font-size: 0.875rem; }
.spec-table th { width: 25%; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy-900); }
.spec-table td { color: var(--muted); }
.spec-table .row-mist { background: var(--mist); }
.spec-table .row-white { background: #fff; }
.oem-points { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .oem-points { grid-template-columns: repeat(2, 1fr); } }
.oem-points li { display: flex; align-items: flex-start; gap: 0.75rem; border: 1px solid var(--line); border-radius: 0.375rem; background: #fff; padding: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--ink); }
.app-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.app-list li { display: flex; align-items: flex-start; gap: 0.75rem; border: 1px solid var(--line); border-radius: 0.375rem; background: var(--mist); padding: 1rem 1.25rem; font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.download-list { margin-top: 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .download-list { grid-template-columns: repeat(2, 1fr); } }
.download-item { display: flex; align-items: flex-start; gap: 1rem; border: 1px solid var(--line); border-radius: 0.375rem; background: #fff; padding: 1.25rem; transition: all 0.2s; }
.download-item:hover { border-color: var(--accent-500); box-shadow: 0 1px 3px rgba(15,35,57,0.06); }
.download-icon { display: flex; height: 2.75rem; width: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 0.375rem; background: var(--accent-50); color: var(--accent-600); transition: all 0.2s; }
.download-item:hover .download-icon { background: var(--accent-500); color: #fff; }
.download-icon svg { width: 1.25rem; height: 1.25rem; }
.download-name { display: block; font-size: 0.875rem; font-weight: 700; color: var(--navy-900); }
.download-desc { margin-top: 0.25rem; display: block; font-size: 0.875rem; color: var(--muted); }
.download-req { margin-top: 0.5rem; display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-600); }
.faq-item { border: 1px solid var(--line); border-radius: 0.375rem; background: #fff; padding: 1.25rem; }
.faq-item + .faq-item { margin-top: 1rem; }
.faq-item summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.875rem; font-weight: 700; color: var(--navy-900); list-style: none; }
.faq-plus { display: flex; height: 1.75rem; width: 1.75rem; flex-shrink: 0; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9999px; font-size: 1.125rem; line-height: 1; color: var(--accent-600); transition: transform 0.2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted); }

.workshop-strip { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .workshop-strip { grid-template-columns: repeat(2, 1fr); } }
.workshop-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 0.375rem; box-shadow: 0 1px 3px rgba(15,35,57,0.06); }
.workshop-img { aspect-ratio: 16/9; overflow: hidden; }
.workshop-img img { width: 100%; height: 100%; object-fit: cover; }
.workshop-card figcaption { border-top: 1px solid var(--line); padding: 1rem 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--navy-900); }

.related-section { border-top: 1px solid var(--line); background: var(--mist); padding: 3.5rem 0; }
@media (min-width: 640px) { .related-section { padding: 5rem 0; } }
.related-grid { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
.related-card { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem; height: 100%; }
.related-card:hover { transform: translateY(-4px); border-color: var(--accent-400); box-shadow: 0 16px 40px -18px rgba(27,58,92,0.3); }
.related-img { flex-shrink: 0; height: 7rem; width: 9rem; overflow: hidden; border-radius: 0.375rem; border: 1px solid var(--line); background: var(--mist); }
@media (min-width: 640px) { .related-img { height: 8rem; width: 11rem; } }
.related-img img { height: 100%; width: 100%; object-fit: contain; padding: 0.75rem; transition: transform 0.5s; }
.related-card:hover .related-img img { transform: scale(1.05); }
.related-info { min-width: 0; }
.related-name { margin-top: 0.375rem; font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--navy-900); }
@media (min-width: 640px) { .related-name { font-size: 1.125rem; } }
.related-desc { margin-top: 0.5rem; display: none; font-size: 0.875rem; line-height: 1.625; color: var(--muted); }
@media (min-width: 640px) { .related-desc { display: block; } }

/* ============ LIGHTBOX ============ */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(15,35,57,0.9); backdrop-filter: blur(4px); }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.25); border-radius: 9999px; background: rgba(255,255,255,0.1); color: #fff;
    transition: all 0.2s;
}
.lightbox-close { right: 1rem; top: 1rem; height: 2.75rem; width: 2.75rem; }
.lightbox-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); height: 2.75rem; width: 2.75rem; }
.lightbox-next { right: 0.75rem; top: 50%; transform: translateY(-50%); height: 2.75rem; width: 2.75rem; }
@media (min-width: 640px) { .lightbox-prev { left: 1.5rem; } .lightbox-next { right: 1.5rem; } }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--accent-400); background: var(--accent-500); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 1.5rem; height: 1.5rem; }
.lightbox-figure { position: relative; z-index: 1; display: flex; max-height: 92vh; width: 100%; max-width: 64rem; flex-direction: column; align-items: center; padding: 0 1rem; }
@media (min-width: 640px) { .lightbox-figure { padding: 0 4rem; } }
.lightbox-img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 0.375rem; object-fit: contain; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.lightbox-caption { margin-top: 1rem; max-width: 42rem; text-align: center; font-size: 0.875rem; line-height: 1.625; color: rgba(255,255,255,0.8); }
.lightbox-counter { margin-top: 0.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* WordPress admin bar offset */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
