@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@500;600;700&family=Instrument+Serif:ital@1&display=swap');

/* =========================================================
   ATOM — Premium B2B Architectural Theme
   Palette: Black #08080a, Charcoal #121316/#191b20, White #fff,
            Crimson accent #C8102E, Deep garnet #7a1220
   Type: Space Grotesk (display/headlines), Plus Jakarta Sans (body),
         Instrument Serif italic (signature/tagline only)
   ========================================================= */

:root {
    --black: #08080a;
    --charcoal: #121316;
    --charcoal-2: #191b20;
    --charcoal-border: #282a32;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --grey: #737b88;
    --red: #C8102E;        /* interactive / call-to-action red only */
    --red-dark: #a10d25;
    --red-deep: #7a1220;   /* structural / brand-mark red — quieter, engraved feel */
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Instrument Serif', Georgia, 'Times New Roman', serif;

    /* Radius scale */
    --radius-xs: 2px;
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-pill: 999px;

    /* Shadow scale */
    --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
    --shadow-md: 0 10px 24px rgba(0,0,0,.1);
    --shadow-md-dark: 0 10px 24px rgba(0,0,0,.4);
    --shadow-lg: 0 22px 50px rgba(0,0,0,.35);

    /* Motion */
    --ease: cubic-bezier(.4,0,.2,1);
    --ease-out-soft: cubic-bezier(.16,1,.3,1);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

.ring-field { position: relative; overflow: hidden; }
.ring-field::before {
    content: '';
    position: absolute;
    top: 50%; right: -180px;
    width: 620px; height: 620px;
    transform: translateY(-50%);
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle at center,
            transparent 0, transparent 37px,
            rgba(255,255,255,.05) 37px, rgba(255,255,255,.05) 38px);
    pointer-events: none;
    z-index: 0;
}
.ring-field > * { position: relative; z-index: 1; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: #1a1a1a;
    background: var(--white);
    line-height: 1.65;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { 
    font-family: var(--font-display); 
    font-weight: 600; 
    margin: 0 0 .5em; 
    letter-spacing: -0.02em; 
}
p { margin: 0 0 1em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 30px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: var(--radius-xs);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-2); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-block { display: block; width: 100%; text-align: center; }

.section-eyebrow { 
    font-family: var(--font-display); 
    color: var(--red); 
    text-transform: uppercase; 
    letter-spacing: .15em; 
    font-size: 12px; 
    font-weight: 600; 
    margin-bottom: 8px; 
}
.section-eyebrow--light { color: var(--red); }
.section-title { font-size: 32px; text-transform: uppercase; margin-bottom: 30px; }
.section-title--light { color: var(--white); margin-bottom: 10px; }
.section-subtitle { color: #b8b8b8; max-width: 640px; margin-bottom: 40px; }
.empty-note { color: var(--grey); font-style: italic; }
.empty-note--light { color: #999; }

/* ===== Floating widgets ===== */
.float-widgets {
    position: fixed;
    right: 18px;
    top: 45%;
    transform: translateY(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 8px;
    background: rgba(8,8,10,.55);
    border: 1px solid var(--charcoal-border);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    animation: fwPanelIn .6s var(--ease-out-soft) .3s forwards;
}

@keyframes fwPanelIn {
    from { opacity: 0; transform: translate(20px, -50%); }
    to   { opacity: 1; transform: translate(0, -50%); }
}

.fw-btn {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--charcoal-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
    opacity: 0;
    transform: scale(.4) translateX(24px);
    animation: fwBtnIn .5s var(--ease-out-soft) forwards;
}

.fw-btn:nth-child(1) { animation-delay: .45s; }
.fw-btn:nth-child(2) { animation-delay: .55s; }
.fw-btn:nth-child(3) { animation-delay: .65s; }
.fw-btn:nth-child(4) { animation-delay: .75s; }

@keyframes fwBtnIn {
    0%   { opacity: 0; transform: scale(.4) translateX(24px); }
    60%  { opacity: 1; transform: scale(1.12) translateX(0); }
    100% { opacity: 1; transform: scale(1) translateX(0); }
}

.fw-btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--red);
    opacity: 0;
    animation: fwPulse 2.6s ease-out infinite;
    animation-delay: 1.6s;
    pointer-events: none;
}
.fw-btn:nth-child(2)::after { animation-delay: 2.5s; }
.fw-btn:nth-child(3)::after { animation-delay: 3.4s; }
.fw-btn:nth-child(4)::after { animation-delay: 4.3s; }

@keyframes fwPulse {
    0%   { opacity: .55; transform: scale(1); }
    80%  { opacity: 0; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(1.5); }
}

.fw-btn:hover,
.fw-btn:focus-visible {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.12) translateX(-3px);
    box-shadow: 0 6px 18px rgba(200,16,46,.45);
}

.fw-btn:active { transform: scale(.96) translateX(-3px); }

.fw-btn[data-label]::before {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translate(6px, -50%);
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--charcoal-border);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    pointer-events: none;
}
.fw-btn[data-label]:hover::before,
.fw-btn[data-label]:focus-visible::before {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

@media (prefers-reduced-motion: reduce) {
    .float-widgets,
    .fw-btn,
    .fw-btn::after {
        animation: none !important;
        opacity: 1 !important;
        transform: translateY(-50%) !important;
    }
    .fw-btn { transform: none !important; }
}

.fw-icon {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.fw-icon-mail {
    width: 30px;
    height: 30px;
    background-image: url("../img/icons/mail.png");
}

.fw-icon-tel {
    background-image: url("../img/icons/phone-call.png");
}

.fw-icon-cs {
    background-image: url("../img/icons/help-desk.png");
}

.fw-icon-top {
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 4.6 5 11.6l1.4 1.4 4.6-4.6V19.4h2V8.4l4.6 4.6 1.4-1.4z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 4.6 5 11.6l1.4 1.4 4.6-4.6V19.4h2V8.4l4.6 4.6 1.4-1.4z'/></svg>");
}

.cs-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 900; align-items: center; justify-content: center; }
.cs-modal.open { display: flex; }
.cs-modal-box { background: var(--white); padding: 30px; width: 90%; max-width: 380px; border-radius: var(--radius-md); position: relative; }
.cs-modal-box h3 { font-family: var(--font-display); text-transform: uppercase; }
.cs-modal-box form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.cs-modal-box input, .cs-modal-box textarea { padding: 10px; border: 1px solid #ccc; border-radius: var(--radius-sm); font-family: var(--font-body); }
.cs-close { position: absolute; top: 10px; right: 14px; font-size: 24px; cursor: pointer; background: none; border: none; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 400; background: var(--black); border-bottom: 1px solid var(--charcoal-border); }
.header-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: flex-start; gap: 48px; min-height: 116px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 39px 15px; color: #d8d8d8; font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--white); border-bottom-color: var(--red); }

.dropdown { position: absolute; top: 100%; left: 0; background: var(--charcoal); min-width: 220px; padding: 8px 0; box-shadow: var(--shadow-md-dark); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 20px; color: #ccc; font-size: 14px; text-transform: none; font-family: var(--font-body); }
.dropdown li a:hover { color: var(--white); background: var(--red); }

.header-utils { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.icon-btn { background: none; border: none; color: var(--white); font-size: 18px; cursor: pointer; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); }

body.nav-open { overflow: hidden; }

.search-bar { display: none; max-width: 1300px; margin: 0 auto; padding: 0 24px 16px; gap: 8px; }
.search-bar.open { display: flex; }
.search-bar input { flex: 1; padding: 10px 14px; border: 1px solid var(--charcoal-border); background: var(--charcoal); color: var(--white); border-radius: var(--radius-sm); font-family: var(--font-body); }
.search-bar button { padding: 10px 18px; background: var(--red); color: var(--white); border: none; border-radius: var(--radius-sm); font-family: var(--font-display); text-transform: uppercase; cursor: pointer; }

/* ===== Hero ===== */
.hero { position: relative; height: 88vh; min-height: 520px; overflow: hidden; background: var(--black); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: center; opacity: 0; transition: opacity .8s ease; }
.hero-slide.active { opacity: 1; }
.hero-content { max-width: 680px; margin-left: 8%; color: var(--white); position: relative; z-index: 1; }
.hero-eyebrow, .hero-content h1, .hero-sub, .hero-content .btn {
    opacity: 0;
    transform: translateY(16px);
    animation: heroReveal .8s var(--ease-out-soft) forwards;
}
.hero-eyebrow { animation-delay: .1s; }
.hero-content h1 { animation-delay: .22s; }
.hero-sub { animation-delay: .36s; }
.hero-content .btn { animation-delay: .5s; }
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { color: var(--red); font-family: var(--font-display); letter-spacing: .18em; font-weight: 600; margin-bottom: 12px; }
.hero-content h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.15; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.hero-sub { color: #ddd; font-size: 17px; margin-bottom: 28px; max-width: 520px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.4); color: var(--white); border: 1px solid rgba(255,255,255,.3); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 16px; z-index: 5; }
.hero-prev { left: 24px; } .hero-next { right: 24px; }
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.hero-dots .hero-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots .hero-dot.active { background: var(--red); }

/* ===== Showcase cards ===== */
.showcase-section { background: var(--white); }
.showcase-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.showcase-card { position: relative; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4/3; }
.showcase-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.showcase-card:hover img { transform: scale(1.08); }
.showcase-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.85)); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.showcase-overlay h3 { color: var(--white); text-transform: uppercase; margin-bottom: 12px; }

/* ===== Category filter + product grid ===== */
.category-filter-section { background: var(--off-white); }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.cat-tab { padding: 10px 20px; background: var(--white); border: 1px solid #ddd; border-radius: var(--radius-pill); font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #333; transition: all .2s; }
.cat-tab:hover { border-color: var(--red); color: var(--red); }
.cat-tab.active { background: var(--red); border-color: var(--red); color: var(--white); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: var(--white); border: 1px solid #e6e6e6; border-radius: var(--radius-md); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-thumb { position: relative; aspect-ratio: 1/1; background: #f1f1f1; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-hover-cta { position: absolute; inset: 0; background: rgba(200,16,46,.85); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: 13px; opacity: 0; transition: opacity .2s; }
.product-card:hover .product-hover-cta { opacity: 1; }
.product-card h4 { font-size: 15px; padding: 14px 14px 2px; text-transform: none; }
.product-model { padding: 0 14px 16px; color: var(--grey); font-size: 13px; }

/* ===== About + stats ===== */
.about-stats-section { background: var(--white); }
.about-stats-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.about-stats-text p { color: #444; }
.about-stats-bar { background: var(--black); padding: 40px 30px; border-radius: var(--radius-md); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.stat-item { text-align: center; border-left: 3px solid var(--red-deep); padding-left: 14px; }
.stat-num { display: block; font-family: var(--font-display); color: var(--white); font-size: 30px; font-weight: 700; }
.stat-label { color: #999; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

/* ===== Certifications section ===== */
.cert-section { background: var(--charcoal); }
.cert-section.ring-field::before { top: auto; bottom: -260px; right: 6%; transform: none; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; cursor: pointer; text-align: center; transition: transform .2s; }
.cert-card:hover { transform: translateY(-4px); }
.cert-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.cert-card p { font-size: 13px; padding: 10px 10px 4px; margin: 0; font-weight: 500; }
.cert-card .cert-meta { display: block; padding: 0 10px 12px; font-size: 11px; color: var(--grey); }
.center-cta { text-align: center; margin-top: 40px; }

/* ===== Blog grid ===== */
.blog-section { background: var(--off-white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid #e6e6e6; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-thumb { aspect-ratio: 16/10; overflow: hidden; background: #eee; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-date { color: var(--red); font-family: var(--font-display); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.blog-card-body h4 { margin: 8px 0; font-size: 17px; text-transform: none; }
.blog-card-body p { color: #555; font-size: 14px; }
.read-more { font-family: var(--font-display); color: var(--black); font-size: 13px; font-weight: 600; }

/* ===== Lightbox ===== */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 950; align-items: center; justify-content: center; flex-direction: column; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 78vh; max-width: 90vw; border-radius: var(--radius-md); }
.lightbox p { color: var(--white); margin-top: 14px; font-family: var(--font-display); text-align: center; }
#lightbox-sub { color: #aaa; font-family: var(--font-body); font-size: 13px; margin-top: 4px; }
.lightbox-close { position: absolute; top: 24px; right: 34px; color: var(--white); font-size: 34px; cursor: pointer; }

/* ===== Footer ===== */
.site-footer { background: var(--black); color: #ccc; padding-top: 60px; }
.footer-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 30px; }
.footer-col h4 { color: var(--white); text-transform: uppercase; font-size: 15px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #999; font-size: 14px; }
.footer-col ul li a:hover { color: var(--red); }
.footer-brand p { font-size: 14px; margin-bottom: 8px; color: #aaa; }
.footer-logo { margin-bottom: 16px; }
.footer-logo-img { height: 60px; width: auto; max-width: 100%; object-fit: contain; }
.footer-form-sub { font-size: 13px; color: #999; margin-bottom: 14px; }
.footer-form form { display: flex; flex-direction: column; gap: 10px; }
.footer-form input, .footer-form textarea { background: var(--charcoal); border: 1px solid var(--charcoal-border); color: var(--white); padding: 10px; border-radius: var(--radius-sm); font-family: var(--font-body); }
.footer-bottom { text-align: center; padding: 26px 0; margin-top: 50px; border-top: 1px solid var(--charcoal-border); font-size: 13px; color: #777; }

/* ===== Page banner (interior pages) ===== */
.page-banner { background-size: cover; background-position: center; padding: 110px 0 50px; }
.page-banner--sm { padding: 80px 0 40px; }
.page-banner-content { max-width: 1200px; margin: 0 auto; padding: 0 24px; color: var(--white); }
.crumbs { color: #ccc; font-size: 13px; margin-bottom: 10px; }
.crumbs a { color: #ccc; } .crumbs a:hover { color: var(--red); }
.page-banner h1 { text-transform: uppercase; font-size: 34px; margin: 0; }
.blog-detail-date { color: #ccc; font-size: 13px; }

/* ===== Tab toggle ===== */
.tab-toggle { display: flex; gap: 10px; margin-bottom: 40px; border-bottom: 2px solid #eee; }
.tab-toggle-btn { padding: 14px 22px; font-family: var(--font-display); text-transform: uppercase; font-size: 14px; color: #666; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab-toggle-btn:hover { color: var(--red); }
.tab-toggle-btn.active { color: var(--black); border-bottom-color: var(--red); font-weight: 600; }

/* ===== About page ===== */
.about-content-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; }
.about-content-text p { color: #444; }
.about-content-text h3 { margin-top: 30px; }
.about-video-box { background: var(--off-white); padding: 16px; border-radius: var(--radius-md); margin-bottom: 24px; }
.video-caption { text-align: center; color: var(--grey); font-size: 13px; margin: 10px 0 0; }
.catalogue-box { background: var(--black); color: var(--white); padding: 24px; border-radius: var(--radius-md); }
.catalogue-box h4 { text-transform: uppercase; }
.catalogue-box p { color: #bbb; font-size: 14px; }

/* ===== Certifications page ===== */
.cert-category-block { margin-bottom: 60px; }
.cert-category-title { text-transform: uppercase; font-size: 22px; border-left: 4px solid var(--red-deep); padding-left: 14px; margin-bottom: 26px; }
.cert-grid--light .cert-card--light { border: 1px solid #eee; }

/* ===== Products catalog page ===== */
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.products-sidebar h3 { text-transform: uppercase; font-size: 17px; border-bottom: 2px solid var(--black); padding-bottom: 10px; }
.sidebar-cat-list { margin: 16px 0 26px; }
.sidebar-cat-list li a { display: block; padding: 10px 4px; color: #444; font-size: 14px; border-bottom: 1px solid #eee; }
.sidebar-cat-list li a:hover, .sidebar-cat-list li a.active { color: var(--red); font-weight: 600; }
.sidebar-search { display: flex; flex-direction: column; gap: 10px; }
.sidebar-search input { padding: 10px; border: 1px solid #ccc; border-radius: var(--radius-sm); font-family: var(--font-body); }
.product-grid--catalog { grid-template-columns: repeat(3, 1fr); }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid #ddd; border-radius: var(--radius-sm); color: #444; font-family: var(--font-display); font-size: 14px; }
.pagination a.active { background: var(--red); border-color: var(--red); color: var(--white); }
.pagination a.disabled { opacity: .4; pointer-events: none; }

/* ===== Product detail page ===== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.product-detail-image img { border-radius: var(--radius-lg); border: 1px solid #eee; }
.product-model-detail { color: var(--grey); font-size: 14px; margin-bottom: 16px; }
.product-description { color: #444; margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eee; font-size: 14px; }
.spec-table th { width: 40%; color: var(--grey); font-weight: 500; }

/* ===== Blog article ===== */
.article-container { max-width: 780px; }
.article-body { color: #333; font-size: 16px; margin-bottom: 30px; }
.article-body p { margin-bottom: 1.2em; }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info p { font-size: 15px; }
.map-embed { margin-top: 20px; border-radius: var(--radius-md); overflow: hidden; }
.contact-form-box { background: var(--off-white); padding: 30px; border-radius: var(--radius-md); }
.contact-form-box form { display: flex; flex-direction: column; gap: 12px; }
.contact-form-box input, .contact-form-box textarea { padding: 12px; border: 1px solid #ddd; border-radius: var(--radius-sm); font-family: var(--font-body); }
.alert-success { background: #e6f6ea; color: #1c7a3d; padding: 12px 16px; border-radius: var(--radius-md); margin-bottom: 16px; font-size: 14px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .showcase-grid { grid-template-columns: 1fr 1fr; }
    .showcase-card--lg { grid-column: span 2; }
    .product-grid, .product-grid--catalog { grid-template-columns: repeat(3, 1fr); }
    .cert-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats-grid, .about-content-grid, .product-detail-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .main-nav { position: fixed; top: 86px; left: 0; right: 0; bottom: 0; background: var(--black); transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; padding: 20px 0; }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .main-nav > ul > li > a { padding: 16px 24px; border-bottom: 1px solid var(--charcoal-border); }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: var(--charcoal-2); }
    .has-dropdown.open .dropdown { display: block; }
    .hamburger { display: flex; }
    .header-inner { min-height: 96px; padding: 0 18px; }
    .lang-switch { display: none; }
    .hero-content { margin-left: 6%; }
    .product-grid, .product-grid--catalog, .cert-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .products-layout { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .about-stats-bar { grid-template-columns: 1fr 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .showcase-card--lg { grid-column: span 1; }
}

@media (max-width: 480px) {
    .product-grid, .product-grid--catalog, .cert-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 26px; }
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .main-nav { top: 96px; }
    .hamburger { position: relative; width: 42px; height: 42px; align-items: center; justify-content: center; gap: 5px; }
    .hamburger span { transition: transform .2s ease, opacity .2s ease; }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .float-widgets { right: 10px; gap: 7px; }
    .fw-btn { width: 40px; height: 40px; font-size: 10px; }

    .hero { min-height: 620px; height: 82svh; }
    .hero-content { width: min(88%, 560px); margin-left: 6%; padding-right: 4%; }
    .hero-content h1 { font-size: clamp(26px, 7.5vw, 40px); line-height: 1.12; }
    .hero-sub { font-size: 15px; line-height: 1.55; max-width: 100%; }

    .hero-prev { left: 12px; }
    .hero-next { right: 12px; }
    .hero-arrow { width: 40px; height: 40px; }

    .cat-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
    .cat-tab { flex: 0 0 auto; white-space: nowrap; }
    .showcase-overlay { padding: 18px; }
    .showcase-overlay .btn { padding: 11px 18px; }
    .footer-logo-img { height: 48px; }
}

@media (max-width: 360px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .section { padding: 54px 0; }
    .header-inner { padding-left: 12px; padding-right: 12px; }
    .header-utils { gap: 6px; }

    .product-grid, .product-grid--catalog, .blog-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .about-stats-bar { grid-template-columns: 1fr; gap: 18px; padding: 26px 18px; }
    .stat-item { border-left: 0; border-top: 2px solid var(--red-deep); padding: 12px 0 0; }

    .hero { min-height: 580px; }
    .hero-content { margin-left: 8%; width: 84%; }
    .hero-sub { font-size: 14px; }
    .hero-arrow { width: 36px; height: 36px; }

    .float-widgets { right: 7px; gap: 5px; }
    .fw-btn { width: 36px; height: 36px; font-size: 9px; }
}

@media (min-width: 761px) and (max-width: 920px) {
    .header-inner { min-height: 96px; }
    .main-nav { position: fixed; top: 96px; left: 0; right: 0; bottom: 0; background: var(--black); transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; padding: 20px 0; }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .main-nav > ul > li > a { padding: 16px 24px; border-bottom: 1px solid var(--charcoal-border); }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: var(--charcoal-2); }
    .has-dropdown.open .dropdown { display: block; }
    .hamburger { display: flex; }
    .lang-switch { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-content *, .hamburger span { transition: none !important; animation: none !important; }
}

body.modal-open { overflow: hidden; }

.hero, .hero-slide, .showcase-card, .product-thumb, .blog-thumb { -webkit-tap-highlight-color: transparent; }

.logo-atom { min-width: 0; }
.header-inner { min-height: 84px; }
.logo-img { display: block; height: 64px; width: auto; max-width: 100%; object-fit: contain; }

@media (max-width: 1024px) {
    .logo-atom { min-width: 0; }
    .header-inner { min-height: 76px; }
    .logo-img { height: 56px; }
}

@media (min-width: 761px) and (max-width: 920px) {
    .header-inner { min-height: 70px; }
    .logo-img { height: 50px; }
    .main-nav { top: 70px; }
}

@media (max-width: 760px) {
    .header-inner { min-height: 66px; }
    .logo-img { height: 46px; }
    .main-nav { top: 66px; }
}

@media (max-width: 360px) {
    .logo-img { height: 38px; }
}

.lang-switch {
    --lang-count: 2;
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 3px;
    cursor: grab;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.lang-switch.dragging { cursor: grabbing; }

.lang-switch .lang-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    height: calc(100% - 6px);
    width: calc((100% - 6px) / var(--lang-count));
    background: #fff;
    border-radius: 999px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.lang-switch.dragging .lang-thumb { transition: none; }

.lang-switch .lang-btn {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    display: inline-block;
    text-align: center;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: inherit;
    text-decoration: none;
    border-radius: 999px;
    transition: color 0.2s ease;
    white-space: nowrap;
    user-select: none;
}

.lang-switch .lang-btn.active { color: #111; }

@media (max-width: 600px) {
    .lang-switch .lang-btn { padding: 5px 9px; font-size: 12px; }
}