:root {
    --ink: #081525;
    --ink-2: #0d1c2e;
    --ink-3: #14263a;
    --blue: #2f6fed;
    --cyan: #42c8e8;
    --cyan-soft: #9ddfed;
    --paper: #f4f7f8;
    --white: #ffffff;
    --line: #d8e0e5;
    --muted: #637283;
    --max: 1180px;
    --shadow: 0 20px 52px rgba(8,21,37,.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}
body, button, input, textarea { font-family: "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
img { display: block; max-width: 100%; }
.site-shell { min-height: 100vh; }
.section-inner, .header-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 80px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 50px; height: 50px; object-fit: contain; }
.brand-type { display: flex; flex-direction: column; line-height: 1; }
.brand-type strong { font-size: 23px; font-weight: 800; letter-spacing: .18em; }
.brand-type small { margin-top: 7px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.primary-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.primary-nav > a { position: relative; padding: 29px 0 25px; font-size: 13px; font-weight: 650; letter-spacing: .05em; }
.primary-nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 22px; height: 2px; background: var(--cyan); transition: right .2s ease; }
.primary-nav > a:hover::after { right: 0; }
.header-contact { display: flex; flex-direction: column; padding-left: 22px; border-left: 1px solid var(--line); line-height: 1.2; }
.header-contact span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.header-contact strong { margin-top: 5px; font-size: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; border: 0; background: var(--ink); padding: 11px; }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: #fff; }

.hero-tech { color: #fff; background: var(--ink); }
.hero-tech-grid { min-height: 440px; display: grid; grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr); }
.hero-tech-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 52px max(48px, calc((100vw - var(--max)) / 2)); background: var(--ink); }
.eyebrow { display: block; margin-bottom: 16px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .21em; text-transform: uppercase; }
.eyebrow.light { color: var(--cyan); }
.hero-tech h1 { max-width: 620px; margin: 0; color: #fff; font-size: clamp(42px,4.4vw,62px); line-height: 1.06; letter-spacing: -.04em; font-weight: 650; }
.hero-tech h1 em { color: var(--cyan-soft); font-style: normal; font-weight: 500; }
.hero-tech-copy > p { max-width: 540px; margin: 20px 0 0; color: rgba(255,255,255,.68); font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: #245fd0; }
.button-light { color: var(--ink); background: #fff; }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.34); }
.button-outline-light:hover { background: rgba(255,255,255,.08); }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding: 7px 0; color: var(--ink); font-size: 12px; font-weight: 750; letter-spacing: .05em; border-bottom: 1px solid rgba(8,21,37,.25); }
.text-link.light { color: #fff; border-color: rgba(255,255,255,.28); }
.text-link span { color: var(--cyan); font-size: 16px; }
.hero-tech-media { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #263342; }
.hero-tech-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-tech-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,21,37,.18), transparent 28%); pointer-events: none; }

.section { padding: 100px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0,1fr) 360px auto; gap: 42px; align-items: end; margin-bottom: 42px; }
.section-heading h2, .catalog-heading h2, .detail-heading h2 { margin: 0; font-size: clamp(36px,4vw,56px); line-height: 1.08; letter-spacing: -.038em; font-weight: 620; }
.section-heading > p, .catalog-heading > p { margin: 0; color: var(--muted); font-size: 14px; }
.focus-section { background: #fff; }
.focus-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.focus-card { border: 1px solid var(--line); background: var(--paper); }
.focus-image { height: 360px; overflow: hidden; background: #e8edef; }
.focus-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.focus-card:hover .focus-image img { transform: scale(1.02); }
.focus-copy { padding: 28px 30px 31px; }
.focus-copy > span { color: var(--blue); font: 700 9px/1 Consolas, monospace; letter-spacing: .14em; }
.focus-copy h3 { margin: 12px 0 8px; font-size: 30px; line-height: 1.1; letter-spacing: -.025em; }
.focus-copy p { margin: 0; color: var(--muted); font-size: 14px; }
.focus-copy a { display: inline-flex; gap: 10px; margin-top: 22px; font-size: 12px; font-weight: 750; }
.focus-copy a b { color: var(--cyan); }

.portfolio-section { background: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-image { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 20px; background: #fff; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-arrow { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--ink); opacity: 0; transition: opacity .2s ease; }
.product-card:hover .product-arrow { opacity: 1; }
.product-meta { display: flex; flex: 1; flex-direction: column; padding: 17px 18px 20px; border-top: 1px solid var(--line); }
.product-meta > span { color: var(--blue); font: 700 8px/1 Consolas, monospace; letter-spacing: .14em; }
.product-meta h3 { margin: 8px 0 0; font-size: 16px; line-height: 1.35; }
.product-summary { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.product-summary:empty { display: none; }
.product-meta .card-link { margin-top: auto; padding-top: 16px; }
.card-link { display: inline-block; margin-top: 13px; color: var(--muted); font-size: 11px; font-weight: 700; border-bottom: 1px solid var(--line); }

.company-tech { color: #fff; background: var(--ink); }
.company-tech-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.company-tech h2 { max-width: 520px; margin: 0; color: #fff; font-size: clamp(38px,4.2vw,60px); line-height: 1.06; letter-spacing: -.04em; font-weight: 560; }
.company-tech-copy > p { max-width: 620px; margin: 0 0 34px; color: rgba(255,255,255,.68); font-size: 17px; }
.tech-service-grid { display: grid; border-top: 1px solid rgba(255,255,255,.16); }
.tech-service-grid article { display: grid; grid-template-columns: 44px 170px 1fr; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.tech-service-grid span { color: var(--cyan); font: 700 10px/1 Consolas, monospace; }
.tech-service-grid h3 { margin: 0; color: #fff; font-size: 15px; }
.tech-service-grid p { margin: 0; color: rgba(255,255,255,.48); font-size: 12px; }

.page-hero { position: relative; min-height: 230px; display: flex; align-items: center; color: #fff; background: linear-gradient(120deg, #081525 0%, #102943 100%); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 45%, rgba(66,200,232,.12), transparent 34%); }
.page-hero::after { display: none; }
.page-hero-inner { position: relative; z-index: 2; padding-top: 38px; padding-bottom: 38px; }
.page-hero h1 { max-width: 880px; margin: 0; color: #fff; font-size: clamp(38px,4.2vw,52px); line-height: 1.04; letter-spacing: -.035em; font-weight: 620; }
.page-hero p { max-width: 640px; margin: 13px 0 0; color: rgba(255,255,255,.68); font-size: 14px; }
.page-hero-detail { min-height: 220px; }
.page-hero-detail h1 { font-size: clamp(34px,3.8vw,48px); }
.page-section { padding-top: 64px; padding-bottom: 80px; background: var(--paper); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 30px; color: var(--muted); font-size: 11px; }
.breadcrumb strong { color: var(--ink); }
.breadcrumb a:hover { color: var(--blue); }
.category-pills { display: flex; flex-wrap: wrap; gap: 9px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.category-pills a { padding: 9px 14px; border: 1px solid var(--line); background: #fff; font-size: 11px; font-weight: 700; }
.category-pills a:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.catalog-heading { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: end; margin: 48px 0 34px; }
.pagination { margin-top: 44px; text-align: center; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 38px; height: 38px; margin: 3px; padding: 0 11px; border: 1px solid var(--line); background: #fff; }

.content-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 38px; align-items: start; }
.side-panel { position: sticky; top: 108px; padding: 27px; color: #fff; background: var(--ink); }
.side-panel h2 { margin: 0 0 22px; color: #fff; font-size: 26px; line-height: 1.1; }
.side-panel nav { display: grid; border-top: 1px solid rgba(255,255,255,.15); }
.side-panel nav a { padding: 12px 0; color: rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.15); font-size: 12px; font-weight: 650; }
.side-panel nav a:hover { color: var(--cyan); }
.side-contact { margin-top: 30px; }
.side-contact small { display: block; color: var(--cyan); font: 700 8px/1 Consolas, monospace; letter-spacing: .16em; }
.side-contact a { display: block; margin-top: 7px; font-weight: 700; }
.content-card, .detail-card { padding: 44px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(8,21,37,.05); }
.rich-content { color: var(--muted); font-size: 15px; line-height: 1.85; }
.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4 { color: var(--ink); line-height: 1.2; }
.rich-content h2 { margin: 0 0 18px; font-size: 36px; letter-spacing: -.03em; }
.rich-content h3 { margin: 28px 0 10px; font-size: 21px; }
.rich-content p { margin: 0 0 17px; }
.rich-content a { color: var(--blue); text-decoration: underline; }
.rich-content img { height: auto !important; max-width: 100% !important; margin: 22px auto; }
.rich-content ul { margin: 18px 0; padding-left: 20px; }
.rich-content li { margin: 7px 0; }
.rich-content .company-intro { color: var(--ink-3); font-size: 20px; line-height: 1.6; }
.rich-content .info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 26px 0; }
.rich-content .info-card { padding: 22px; background: var(--paper); border-left: 2px solid var(--cyan); }
.rich-content .info-card strong { display: block; color: var(--ink); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.rich-content .info-card span, .rich-content .info-card a { display: block; margin-top: 7px; color: var(--muted); text-decoration: none; }

.news-list { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 100px 1fr 42px; gap: 34px; align-items: center; padding: 31px 0; border-bottom: 1px solid var(--line); }
.news-date strong { display: block; font-size: 34px; line-height: 1; }
.news-date span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.news-row .eyebrow { margin-bottom: 7px; }
.news-row h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.news-row p { max-width: 760px; margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.news-arrow { width: 40px; height: 40px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.news-row:hover .news-arrow { color: #fff; background: var(--blue); border-color: var(--blue); }

.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 26px; align-items: start; }
.detail-heading p { color: var(--muted); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(270px,.92fr); gap: 40px; align-items: center; }
.detail-product-image { min-height: 490px; display: flex; align-items: center; justify-content: center; padding: 28px; background: var(--paper); }
.detail-product-image img { width: 100%; height: 490px; object-fit: contain; }
.detail-product-copy h2 { margin: 0 0 17px; font-size: 39px; line-height: 1.08; letter-spacing: -.035em; }
.detail-product-copy p { color: var(--muted); }
.detail-note-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 24px 0; background: var(--line); border: 1px solid var(--line); }
.detail-note-grid span { display: flex; min-height: 76px; flex-direction: column; justify-content: center; gap: 7px; padding: 14px; background: #fff; }
.detail-note-grid small { color: var(--blue); font: 700 8px/1 Consolas, monospace; letter-spacing: .12em; }
.detail-note-grid strong { color: var(--ink); font-size: 12px; }
.detail-product-copy .button { margin: 18px 0 16px; }
.detail-product-copy .text-link { display: table; }
.detail-aside { padding: 27px; color: #fff; background: var(--ink); }
.detail-aside h2 { margin: 0 0 20px; color: #fff; font-size: 27px; }
.detail-aside a { display: block; margin: 8px 0; color: var(--cyan); font-weight: 700; overflow-wrap: anywhere; }
.detail-aside address { margin-top: 20px; color: rgba(255,255,255,.56); font-size: 12px; font-style: normal; }

.contact-strip { padding: 50px 0; color: #fff; background: var(--ink-3); border-top: 1px solid rgba(255,255,255,.1); }
.contact-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 38px; }
.contact-strip .eyebrow { margin-bottom: 7px; }
.contact-strip h2 { max-width: 700px; margin: 0; color: #fff; font-size: 30px; letter-spacing: -.025em; font-weight: 550; }
.contact-strip-actions { display: flex; gap: 10px; }
.site-footer { color: rgba(255,255,255,.66); background: #050e19; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.5fr) .65fr minmax(280px,1fr); gap: 66px; padding-top: 66px; padding-bottom: 54px; }
.brand-footer .brand-type strong { color: #fff; }
.brand-footer .brand-type small { color: rgba(255,255,255,.45); }
.footer-brand > p { max-width: 420px; margin: 21px 0 0; font-size: 13px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links h3, .footer-contact h3 { margin: 0 0 16px; color: #fff; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.footer-links a, .footer-contact a { margin: 4px 0; font-size: 13px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--cyan); }
.footer-contact address { margin-top: 10px; font-size: 12px; font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; padding-top: 20px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.11); font-size: 10px; letter-spacing: .08em; }
.floating-contact { position: fixed; z-index: 30; right: 20px; bottom: 20px; width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: var(--blue); box-shadow: 0 10px 28px rgba(8,21,37,.24); }
.floating-contact span { font-size: 7px; font-weight: 800; letter-spacing: .09em; }

@media (max-width: 1050px) {
    .header-inner { gap: 22px; }
    .primary-nav { gap: 21px; }
    .header-contact { display: none; }
    .hero-tech-grid { grid-template-columns: .96fr 1.04fr; }
    .hero-tech-copy { padding-left: 36px; padding-right: 36px; }
    .product-grid { grid-template-columns: repeat(3,1fr); }
    .detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .section-inner, .header-inner { width: min(100% - 32px, var(--max)); }
    .site-header { height: 74px; }
    .brand-mark { width: 46px; height: 46px; }
    .nav-toggle { display: block; }
    .primary-nav { position: fixed; inset: 74px 0 auto 0; display: grid; gap: 0; padding: 12px 22px 24px; background: #fff; border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
    .nav-open .primary-nav { transform: none; opacity: 1; }
    .primary-nav > a { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .primary-nav > a::after { display: none; }
    .hero-tech-grid { min-height: auto; grid-template-columns: 1fr; }
    .hero-tech-copy { padding: 52px 28px 44px; }
    .hero-tech-media { height: 320px; }
    .section { padding: 74px 0; }
    .section-heading { grid-template-columns: 1fr; gap: 17px; }
    .focus-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2,1fr); }
    .company-tech-grid { grid-template-columns: 1fr; gap: 46px; }
    .catalog-heading { grid-template-columns: 1fr; gap: 17px; }
    .content-layout { grid-template-columns: 1fr; }
    .side-panel { position: static; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .detail-product-image { min-height: 390px; }
    .detail-product-image img { height: 390px; }
    .contact-strip-inner { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1.2fr .8fr; }
    .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .section-inner, .header-inner { width: min(100% - 24px, var(--max)); }
    .brand-type small { display: none; }
    .brand-type strong { font-size: 18px; }
    .hero-tech-copy { padding: 42px 18px 36px; }
    .hero-tech h1 { font-size: 38px; }
    .hero-tech-copy > p { font-size: 15px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
    .hero-tech-media { height: 240px; }
    .focus-image { height: 260px; }
    .focus-copy { padding: 23px 22px 25px; }
    .product-grid { grid-template-columns: 1fr; }
    .tech-service-grid article { grid-template-columns: 34px 1fr; }
    .tech-service-grid p { grid-column: 2; }
    .page-hero { min-height: 210px; }
    .page-hero-inner { padding-top: 32px; padding-bottom: 32px; }
    .content-card, .detail-card { padding: 22px; }
    .rich-content .info-grid { grid-template-columns: 1fr; }
    .news-row { grid-template-columns: 68px 1fr; gap: 16px; }
    .news-arrow { display: none; }
    .contact-strip-actions { width: 100%; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-contact { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .floating-contact { width: 52px; height: 52px; right: 12px; bottom: 12px; }
}
