/*
Theme Name: Intelcom
Theme URI: https://www.npointelcom.ru/
Author: Intelcom
Description: Responsive corporate theme for AO NPO Intelcom.
Version: 1.6.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: intelcom
*/
:root{--ink:#0f0f0f;--muted:#5f625f;--green:#196e3c;--green-dark:#10522b;--gold:#d89b2b;--surface:#f5f7f5;--white:#fff;--line:#dfe4df;--container:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--white);font-family:Arial,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.62}body.lightbox-open{overflow:hidden}img,svg{display:block;max-width:100%}a{color:var(--green);text-decoration:none}a:hover,a:focus{color:var(--green-dark)}.container{width:min(calc(100% - 64px),var(--container));margin-inline:auto}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.screen-reader-text:focus{z-index:1000;top:8px;left:8px;width:auto;height:auto;padding:10px;clip:auto;background:#fff}
.site-header{position:sticky;z-index:30;top:0;border-bottom:1px solid var(--line);background:#fff}.header-inner{display:flex;min-height:112px;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;flex:0 0 auto;align-items:center}.brand img{width:456px;height:auto}.site-nav ul{display:flex;align-items:center;gap:clamp(16px,2.2vw,32px);margin:0;padding:0;list-style:none}.site-nav a{display:block;padding:43px 0 39px;border-bottom:4px solid transparent;color:var(--ink);font-size:14px;font-weight:700}.site-nav a:hover,.site-nav a:focus,.site-nav .current-menu-item>a,.site-nav .current_page_item>a{border-color:var(--gold);color:var(--green)}.nav-toggle,.nav-toggle-label{display:none}
.eyebrow{margin:0 0 14px;color:var(--green);font-size:13px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}h1,h2,h3{margin-top:0;line-height:1.12}h1{margin-bottom:24px;font-size:clamp(40px,6vw,76px);letter-spacing:-.045em}h2{margin-bottom:18px;font-size:clamp(28px,3.7vw,46px);letter-spacing:-.03em}h3{margin-bottom:10px;font-size:20px}.hero{padding:clamp(72px,9vw,132px) 0;border-bottom:1px solid var(--line)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:clamp(48px,8vw,104px)}.hero-title-small{display:block;margin-bottom:18px;font-size:clamp(22px,3vw,38px);letter-spacing:.01em}.hero-copy,.page-lead{max-width:720px;margin:0 0 32px;color:var(--muted);font-size:clamp(18px,2vw,22px)}.button{display:inline-flex;min-height:50px;align-items:center;justify-content:center;padding:0 25px;border:2px solid var(--green);color:#fff;background:var(--green);font-weight:750}.button:hover,.button:focus{color:#fff;background:var(--green-dark);border-color:var(--green-dark)}.text-link{font-weight:800}.media-placeholder{display:grid;min-height:260px;place-items:center;padding:24px;border:1px solid #bcc7be;color:var(--muted);background:var(--surface);font-weight:700;text-align:center}.device-placeholder{min-height:460px;position:relative}.device-placeholder:after{position:absolute;right:20px;bottom:20px;width:54px;height:2px;content:"";background:var(--gold)}
.section{padding:clamp(64px,8vw,108px) 0}.section-muted{background:var(--surface)}.section-heading{max-width:760px;margin-bottom:38px}.section-heading p{color:var(--muted);font-size:18px}.spec-grid{display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.spec-item{min-width:0;padding:25px 18px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.spec-item strong{display:block;margin-bottom:7px;color:var(--green);font-size:clamp(20px,2vw,28px);line-height:1.15}.spec-item span{color:var(--muted);font-size:14px}.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(42px,8vw,96px)}.align-start{align-items:start}.teaser-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.teaser-gallery .media-placeholder{min-height:180px}.certification-block{border-left:5px solid var(--gold);padding-left:clamp(24px,4vw,48px)}
.page-hero{padding:clamp(64px,8vw,110px) 0;border-bottom:1px solid var(--line);background:var(--surface)}.page-hero h1{max-width:940px}.page-lead{margin-bottom:0}.product-photo{min-height:min(60vw,650px)}.data-table{border-top:2px solid var(--green)}.data-table>div{display:grid;grid-template-columns:minmax(220px,1fr) 1fr;gap:30px;padding:17px 20px;border-bottom:1px solid var(--line)}.data-table>div:nth-child(even){background:var(--surface)}.data-table span{color:var(--muted)}.composition-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.composition-item{min-height:130px;padding:24px;background:#fff}.composition-note{margin-top:20px;color:var(--muted)}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.photo-grid .media-placeholder{min-height:310px}
.certificate-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.certificate-card{display:flex;flex-direction:column;border:1px solid var(--line);color:var(--ink);background:#fff}.certificate-card:hover,.certificate-card:focus{border-color:var(--green);color:var(--green)}.certificate-card img{width:100%;aspect-ratio:5/7;object-fit:cover;border-bottom:1px solid var(--line)}.certificate-card span{padding:18px;font-weight:700}.lightbox{position:fixed;z-index:100;inset:0;display:none;padding:24px;place-items:center}.lightbox.is-open{display:grid}.lightbox-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.86);cursor:pointer}.lightbox-dialog{position:relative;z-index:1;width:min(94vw,920px);max-height:92vh;overflow:auto;background:#fff}.lightbox-dialog img{width:100%;height:auto}.lightbox-caption{padding:14px 20px}.lightbox-close{position:sticky;z-index:2;top:12px;float:right;display:grid;width:44px;height:44px;margin:12px;place-items:center;border:0;border-radius:50%;color:#fff;background:#0f0f0f;font-size:30px;cursor:pointer}.contact-details{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,7vw,90px);padding-top:8px}.contact-details dl{margin:0}.contact-details div{padding:20px 0;border-bottom:1px solid var(--line)}.contact-details dt{margin-bottom:5px;color:var(--muted);font-size:14px}.contact-details dd{margin:0;font-size:clamp(18px,2vw,24px);font-weight:700}.contact-details address{font-style:normal}
.site-footer{padding:38px 0;color:#d8ded9;background:#102218}.footer-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.site-footer p{margin:0}.site-footer p+p{margin-top:5px}.site-footer a{color:#fff}.content-area{min-height:55vh;padding:70px 0}
@media(max-width:1100px){.header-inner{min-height:92px}.brand img{width:300px}.site-nav a{padding:33px 0 29px}.spec-grid{grid-template-columns:repeat(3,1fr)}.composition-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.container{width:min(calc(100% - 40px),var(--container))}.hero-grid,.split,.contact-details{grid-template-columns:1fr}.device-placeholder{min-height:360px}.certificate-gallery{grid-template-columns:repeat(2,1fr)}.photo-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.container{width:min(calc(100% - 32px),var(--container))}.header-inner{min-height:70px}.brand img{width:155px}.nav-toggle-label{display:grid;width:44px;height:44px;cursor:pointer;place-content:center;gap:5px;border:1px solid var(--line)}.nav-toggle-label span{width:21px;height:2px;background:var(--ink)}.site-nav{position:absolute;top:70px;right:0;left:0;display:none;padding:8px 16px 18px;border-bottom:1px solid var(--line);background:#fff}.site-nav ul{align-items:stretch;flex-direction:column;gap:0}.site-nav a{padding:12px 8px;border-bottom:1px solid var(--line);border-left:4px solid transparent}.site-nav .current-menu-item>a,.site-nav .current_page_item>a{border-bottom-color:var(--line);border-left-color:var(--gold)}.nav-toggle:checked~.site-nav{display:block}.hero{padding:56px 0 64px}.hero-grid{gap:46px}.device-placeholder{min-height:280px}.spec-grid{grid-template-columns:repeat(2,1fr)}.composition-grid,.certificate-gallery,.photo-grid{grid-template-columns:1fr}.data-table>div{grid-template-columns:1fr;gap:3px;padding:15px 12px}.photo-grid .media-placeholder{min-height:230px}.footer-inner{align-items:flex-start;flex-direction:column}.lightbox{padding:10px}.lightbox-dialog{max-height:96vh}}
@media(max-width:420px){.spec-item{padding:20px 12px}.spec-item strong{font-size:19px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Intelcom visual system v0.4 */
body{display:flex;min-height:100vh;flex-direction:column;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-weight:400;line-height:1.65}main{flex:1 0 auto}.site-footer{flex-shrink:0}.container{width:min(calc(100% - clamp(40px,7vw,128px)),1320px)}a:focus-visible,button:focus-visible,.nav-toggle-label:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.section{padding:clamp(76px,8vw,128px) 0}.section-muted{background:#f6f7f6}.eyebrow{margin-bottom:18px;font-size:12px;font-weight:700;letter-spacing:.16em}h1,h2,h3{font-weight:650}h1{font-size:clamp(48px,5.4vw,78px);letter-spacing:-.05em}h2{font-size:clamp(32px,3.3vw,50px)}
.site-header{position:sticky;background:rgba(255,255,255,.98)}.header-inner{min-height:90px}.brand img{width:456px;max-height:104px;object-fit:contain}.site-nav a{padding:31px 0 27px;font-size:18px;font-weight:600}.site-nav a:hover,.site-nav a:focus,.site-nav .current-menu-item>a,.site-nav .current_page_item>a{border-color:var(--green);color:var(--green)}
.hero{padding:clamp(78px,9vw,138px) 0}.hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:clamp(50px,7vw,110px)}.hero h1{max-width:790px;margin-bottom:28px}.hero-product{margin:0 0 12px;color:var(--green);font-size:clamp(18px,1.7vw,24px);font-weight:650}.hero-copy{max-width:650px;margin-bottom:28px}.button{min-height:46px;padding:0 21px;font-weight:650}.device-placeholder,.product-photo{overflow:hidden;border:1px solid #daddda;background:linear-gradient(145deg,#f7f8f7,#ecefec)}.media-placeholder span{color:#777d78;font-size:13px;font-weight:500;letter-spacing:.03em}.device-placeholder{min-height:clamp(390px,37vw,560px);aspect-ratio:4/5}.pcb-line{position:relative;width:180px;height:2px;margin-top:54px;background:var(--green)}.pcb-line:after{display:none}.pcb-line i{position:absolute;top:50%;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:var(--gold);transform:translate(-50%,-50%)}.pcb-line i:first-child{left:24%}.pcb-line i:last-child{right:0;transform:translate(50%,-50%)}
.specs-section{padding-top:clamp(72px,7vw,104px)}.specs-section>.container>.eyebrow{margin-bottom:30px}.spec-grid{border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.spec-item{padding:30px 22px;border:0;border-right:1px solid var(--line)}.spec-item:last-child{border-right:0}.spec-item strong{font-size:clamp(23px,2vw,31px);font-weight:650}.spec-item span{display:block;max-width:150px;line-height:1.4}.narrow-copy{max-width:920px;margin-left:max(calc((100% - 1320px)/2),clamp(20px,3.5vw,64px));margin-right:auto}.narrow-copy>p:not(.eyebrow){max-width:780px;color:var(--muted);font-size:19px}.text-link{display:inline-block;margin-top:14px;font-weight:650}
.certification-grid{display:grid;grid-template-columns:minmax(380px,.9fr) minmax(0,1.1fr);align-items:center;gap:clamp(70px,9vw,140px)}.certification-grid>div:last-child{max-width:650px}.certificate-stack{display:grid;grid-template-columns:repeat(3,1fr);align-items:center}.certificate-stack img{position:relative;width:100%;border:1px solid var(--line);box-shadow:0 14px 35px rgba(15,15,15,.12)}.certificate-stack img:nth-child(1){z-index:1;transform:rotate(-2deg)}.certificate-stack img:nth-child(2){z-index:2;transform:scale(1.06)}.certificate-stack img:nth-child(3){z-index:1;transform:rotate(2deg)}
.page-hero{padding:clamp(68px,7vw,104px) 0}.page-hero h1{margin-bottom:18px}.compact-hero{padding:clamp(56px,6vw,86px) 0}.product-media-section{padding-top:clamp(60px,6vw,90px)}.product-photo{min-height:clamp(380px,52vw,650px);aspect-ratio:16/8}.body-copy{max-width:760px;color:var(--muted);font-size:18px}.data-table{max-width:1000px}.data-table>div{grid-template-columns:minmax(260px,1.2fr) 1fr;padding:19px 24px}.data-table strong{font-weight:600}.composition-item{display:flex;min-height:170px;flex-direction:column;gap:8px}.composition-item>span{color:var(--gold);font-size:13px;font-weight:700}.composition-item>strong{font-weight:650}.composition-item>small{margin-top:auto;color:var(--muted);font-size:14px}
.certificate-gallery{grid-template-columns:repeat(4,1fr);gap:22px}.certificate-card{border-color:var(--line);background:var(--surface)}.certificate-preview{position:relative;display:block;padding:18px;background:#eef1ee}.certificate-card .certificate-preview img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;border:1px solid #e0e0e0;background:#fff}.certificate-title{display:block;padding:20px;background:#fff;font-weight:650;line-height:1.35}.certificate-title small{display:inline-block;margin-top:8px;color:var(--muted);font-weight:400;line-height:1.45}.page-count{position:absolute;right:28px;bottom:28px;padding:5px 9px;color:#fff;background:var(--green);font-weight:600}.lightbox-dialog{width:min(96vw,1100px);background:#eef0ee}.lightbox-dialog figure{margin:0 0 18px}.lightbox-dialog figure img{width:100%;height:auto;background:#fff}.lightbox-dialog figcaption{padding:8px 16px;color:var(--muted);font-size:13px}.lightbox-caption{background:#fff}.lightbox-close{position:sticky;top:12px;margin-bottom:-56px}
.contact-details{grid-template-columns:1fr 1fr}.contact-details h2{font-size:clamp(27px,3vw,40px)}.company-name{max-width:580px;color:var(--muted);font-size:18px}.contact-details dl>div{padding-top:0;padding-bottom:30px}.contact-details dt{text-transform:uppercase;letter-spacing:.12em}.contact-details dd{font-size:clamp(18px,1.7vw,22px);font-weight:550}
.site-footer{position:relative;padding:38px 0;border-top:1px solid #385044}.site-footer:before{position:absolute;top:0;left:max(20px,calc((100% - 1320px)/2));width:110px;height:2px;content:"";background:var(--gold)}.footer-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.footer-inner p:last-child{text-align:right}
@media(max-width:1200px){.brand img{width:330px}.header-inner{min-height:88px}.site-nav a{padding:30px 0 26px}.certificate-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.container{width:min(calc(100% - 48px),1320px)}.section{padding:clamp(68px,10vw,90px) 0}.header-inner{min-height:82px}.brand img{width:270px}.nav-toggle-label{display:grid;width:44px;height:44px;cursor:pointer;place-content:center;gap:5px;border:1px solid var(--line)}.nav-toggle-label span{width:21px;height:2px;background:var(--ink)}.site-nav{position:absolute;top:82px;right:0;left:0;display:none;padding:8px 24px 18px;border-bottom:1px solid var(--line);background:#fff}.site-nav ul{align-items:stretch;flex-direction:column;gap:0}.site-nav a{padding:12px 8px;border-bottom:1px solid var(--line);border-left:4px solid transparent;font-size:16px}.site-nav .current-menu-item>a,.site-nav .current_page_item>a{border-bottom-color:var(--line);border-left-color:var(--green)}.nav-toggle:checked~.site-nav{display:block}.hero-grid,.split,.certification-grid,.contact-details{grid-template-columns:1fr}.hero-grid{gap:52px}.device-placeholder{min-height:0;aspect-ratio:16/10}.spec-grid{grid-template-columns:repeat(3,1fr)}.spec-item:nth-child(3n){border-right:0}.spec-item:nth-child(-n+3){border-bottom:1px solid var(--line)}.certification-grid{gap:70px}.certificate-stack{max-width:590px}.footer-inner{grid-template-columns:1fr auto;gap:8px 30px}.footer-inner p:last-child{grid-column:1/-1;text-align:left}}
@media(max-width:720px){.container{width:min(calc(100% - 40px),1320px)}.header-inner{min-height:70px}.brand img{width:155px}.site-nav{top:70px}.site-nav a{padding:12px 8px}.hero{padding:62px 0 76px}.hero h1{font-size:clamp(40px,12vw,58px)}.hero h1 br{display:none}.hero-grid{gap:42px}.device-placeholder{aspect-ratio:4/3}.pcb-line{margin-top:42px}.spec-grid{grid-template-columns:repeat(2,1fr)}.spec-item,.spec-item:nth-child(3n){border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.spec-item:nth-child(2n){border-right:0}.spec-item:nth-last-child(-n+2){border-bottom:0}.certificate-gallery{grid-template-columns:1fr}.certificate-card{max-width:480px}.certificate-stack{gap:0}.page-hero{padding:56px 0}.page-hero h1{font-size:clamp(40px,11vw,56px)}.product-photo{min-height:280px;aspect-ratio:4/3}.data-table>div{grid-template-columns:minmax(0,1.3fr) minmax(110px,.7fr);gap:18px}.composition-grid{grid-template-columns:1fr 1fr}.footer-inner{display:flex;align-items:flex-start;flex-direction:column}.lightbox-dialog{max-height:96vh}}
@media(max-width:420px){.spec-item{padding:22px 12px}.spec-item strong{font-size:20px}.spec-item span{font-size:13px}.data-table>div{grid-template-columns:1fr;gap:4px}.composition-grid{grid-template-columns:1fr}.certificate-preview{padding:12px}}

/* Company-focused home page */
.company-hero{padding:clamp(72px,8vw,118px) 0}.company-hero .hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)}.company-hero .eyebrow{font-size:clamp(16px,1.35vw,20px);letter-spacing:.12em}.company-hero h1{max-width:830px}.company-hero .hero-copy{max-width:720px;margin-bottom:26px}.scroll-link{display:inline-flex;align-items:center;gap:9px;color:var(--ink);font-weight:600}.scroll-link:hover,.scroll-link:focus{color:var(--green)}.home-photo{display:block;overflow:hidden;border:1px solid #dfe4df;background:#f1f3f1}.home-photo img{width:100%;height:100%;object-fit:cover}.hero-media{min-height:430px;aspect-ratio:4/5}.hero-media img{object-position:58% center}.company-statement{position:relative;max-width:1000px}.company-statement h2{max-width:850px}.company-statement>p:not(.eyebrow){max-width:760px;margin:0;color:var(--muted);font-size:clamp(18px,1.7vw,22px)}.statement-line{width:min(100%,760px);height:1px;margin-top:44px;background:var(--green)}.statement-line:after{display:block;width:9px;height:9px;margin-left:74%;border-radius:50%;background:var(--gold);content:"";transform:translateY(-4px)}.product-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);align-items:center;gap:clamp(60px,8vw,120px)}.product-copy{max-width:720px}.product-copy>p:not(.eyebrow){color:var(--muted);font-size:18px}.product-copy .product-lead{color:var(--ink);font-size:clamp(19px,1.7vw,23px)}.product-media{min-height:370px;aspect-ratio:4/3}.product-media img{object-position:center}
@media(max-width:900px){.company-hero .hero-grid,.product-grid{grid-template-columns:1fr}.company-hero .hero-grid{gap:42px}.hero-media{min-height:0;aspect-ratio:16/9}.product-grid{gap:52px}.product-media{min-height:0;aspect-ratio:16/9}}
@media(max-width:720px){.company-hero{padding:56px 0 68px}.company-hero h1{font-size:clamp(38px,11vw,54px)}.company-hero h1 br{display:none}.company-hero .pcb-line{display:none}.hero-media,.product-media{aspect-ratio:4/3}.company-section,.product-section{padding:68px 0}.statement-line{margin-top:34px}.product-grid{gap:38px}}
.production-link{margin-top:4px}.page-hero .production-link{display:inline-block}
@media(min-width:1100px){.certificate-lead{max-width:none;white-space:nowrap}}
.contact-details .company-registry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:32px;border-top:1px solid var(--line)}.contact-details .company-registry>div{padding:16px 14px 0 0;border:0}.contact-details .company-registry dd{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:520px){.contact-details .company-registry{grid-template-columns:1fr}.contact-details .company-registry>div{padding:14px 0;border-bottom:1px solid var(--line)}}
.product-photo{display:block;min-height:0;aspect-ratio:auto;border:1px solid var(--line);background:#f5f5f3}.product-photo img{width:100%;height:auto;object-fit:contain}.product-media{background:#f5f5f3}.product-media img{object-fit:contain}.production-gallery figure{overflow:hidden;margin:0;aspect-ratio:16/9;border:1px solid var(--line);background:var(--surface)}.production-gallery img{width:100%;height:100%;object-fit:cover}
