@font-face{font-family:Onest;src:url(media/onest-lat.woff2) format("woff2");font-weight:400 900;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F}
@font-face{font-family:Onest;src:url(media/onest-cyr.woff2) format("woff2");font-weight:400 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
:root{--bg:#f5f8f7;--ink:#102322;--muted:#526765;--line:#dce6e3;--mint:#9af3df;--dark:#102d2d;--white:#fff;--radius:22px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.5 Onest,Arial,sans-serif}
body:has(dialog[open]){overflow:hidden}
h1,h2,h3,p{margin:0}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button,select{cursor:pointer}
img{display:block;max-width:100%}
:focus-visible{outline:3px solid #128a75;outline-offset:4px}
[hidden]{display:none!important}
.wrap{width:min(1320px,calc(100% - 96px));margin-inline:auto}
.visually-hidden,.skip:not(:focus){position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.skip:focus{position:fixed;top:10px;left:10px;z-index:20;padding:12px;background:white}
.header{position:sticky;top:0;z-index:5;background:#f5f8f7f2;backdrop-filter:blur(14px);border-bottom:1px solid #dce6e3aa}
.header-inner{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:25px;min-height:75px}
.brand{width:max-content;display:block}
.brand img{width:104px;height:43px;object-fit:contain}
.header-nav{display:flex;align-items:center;gap:32px;font-size:14px;font-weight:650}
.header-nav a:hover,.header-city:hover,.footer a:hover{color:#087360}
.header-city{display:flex;align-items:center;gap:9px;justify-self:end;font-size:13px;font-weight:600;white-space:nowrap;color:var(--muted)}
.pin{width:11px;height:11px;border:1.5px solid currentColor;border-radius:50% 50% 50% 0;transform:rotate(-45deg);margin-top:-3px}
.pin::after{content:"";display:block;width:3px;height:3px;background:currentColor;border-radius:50%;margin:2.5px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:16px;min-height:48px;padding:0 19px;border:1px solid transparent;border-radius:12px;font-size:14px;font-weight:750;line-height:1.2;transition:background .2s,color .2s,transform .2s}
.button:hover{transform:translateY(-2px)}
.button span{font-size:18px}
.button.dark{background:var(--dark);color:white}
.button.mint{background:var(--mint);color:#102d2a}
.button.mint:hover{background:#befeed}
.button.ghost{color:white;border-color:#ffffff5a}
.header-contact{min-height:42px;border-radius:10px}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:460px;margin-top:22px;border-radius:30px;color:white;background:radial-gradient(ellipse at 79% 56%,#235958 0,#173b3a 34%,#102626 64%,#0e2021 100%);display:flex;align-items:center}
.hero-copy{z-index:1;position:relative;width:55%;padding:44px 0 48px clamp(36px,5.5vw,88px)}
.eyebrow{display:flex;align-items:center;gap:9px;margin-bottom:20px;color:#b4e7de;font-size:13px;font-weight:650}
.eyebrow span{width:7px;height:7px;background:#79e4cd;border-radius:50%;box-shadow:0 0 0 4px #8ef4dc26}
.hero h1{font-size:clamp(48px,6.25vw,99px);font-weight:740;line-height:.97;letter-spacing:-.07em}
.hero h1 em{font-style:normal;color:var(--mint)}
.hero-sub{max-width:340px;color:#d0e1de;margin:22px 0 25px;font-size:16px}
.hero-visual{position:absolute;inset:0 0 0 44%;pointer-events:none}
.hero-phone{position:absolute;top:7%;left:22%;width:66%;height:86%;object-fit:contain;transform:rotate(-11deg);filter:drop-shadow(0 18px 27px #07161590)}
.hero-rings{position:absolute;width:70%;aspect-ratio:1;border-radius:50%;border:1px solid #a0ddd53a;top:50%;left:55%;transform:translate(-50%,-50%);box-shadow:0 0 0 37px #8ed9ce10,0 0 0 75px #8ed9ce0d,0 0 0 113px #8ed9ce0a}
.hero-rings::after{content:"";position:absolute;inset:20%;border:1px solid #a0ddd530;border-radius:50%}
.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}
.category{position:relative;isolation:isolate;overflow:hidden;min-height:125px;padding:18px;border-radius:var(--radius);background:#e6f1ef;transition:transform .2s,background .2s}
.category:hover{transform:translateY(-3px);background:#d3ece6}
.category strong,.category small{position:relative;z-index:1;display:block}
.category strong{font-size:21px;letter-spacing:-.045em;line-height:1.2}
.category small{color:var(--muted);margin-top:4px;font-size:12px}
.category span{position:absolute;z-index:1;bottom:13px;left:18px;color:#17463d;font-size:19px}
.category img{position:absolute;z-index:-1;object-fit:contain;object-position:bottom right;bottom:-13px;right:8px;width:47%;height:112px;mix-blend-mode:multiply;transition:transform .25s}
.category:hover img{transform:translateY(-4px) rotate(-4deg)}
.tile-pad{background:#e9ecf9}.tile-watch{background:#edeae6}.tile-audio{background:#e8f1ee}
.tile-phone img{transform:rotate(-19deg);right:23px;bottom:-20px;height:125px}.tile-pad img{transform:rotate(-11deg);bottom:-18px}.tile-watch img{transform:rotate(-12deg);right:12px}.tile-audio img{bottom:-6px}
.catalog,.services{margin-top:58px}
.section-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}
h2{font-size:clamp(32px,4.2vw,59px);line-height:1.05;letter-spacing:-.07em;font-weight:730}
.search{display:flex;align-items:center;gap:12px;width:min(390px,100%);min-height:48px;border:1px solid var(--line);border-radius:12px;background:white;padding:0 13px}
.search:focus-within{border-color:#228b78}
.search input{min-width:0;width:100%;border:0;outline:0;background:none;color:var(--ink);padding:11px 0;font-size:14px}
.search input::placeholder{color:var(--muted)}
.magnifier{flex:none;position:relative;width:13px;height:13px;border:1.6px solid #3f5855;border-radius:50%;margin-right:3px}
.magnifier::after{content:"";width:6px;height:1.6px;background:#3f5855;position:absolute;transform:rotate(45deg);border-radius:2px;right:-4px;bottom:-2px}
.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.pills,.filters{display:flex;gap:7px;flex-wrap:wrap}
.pill,.filters select{min-height:41px;border-radius:10px;border:1px solid var(--line);background:white;color:var(--ink);padding:0 13px;font-size:13px;font-weight:650}
.pill:hover,.filters select:hover{border-color:#63988d}
.pill[aria-pressed=true]{background:var(--dark);color:white;border-color:var(--dark)}
.filters select{max-width:100%;padding-right:7px}
.results-line{min-height:43px;display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}
.text-button{padding:0;border:0;background:none;color:#126453;text-decoration:underline;text-underline-offset:3px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.product{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:box-shadow .2s,border-color .2s}
.product:hover{border-color:#afcdc5;box-shadow:0 10px 24px #1023220b}
.product-art{width:100%;aspect-ratio:1.36;border:0;background:#f0f4f3;display:grid;place-items:center;padding:20px;overflow:hidden}
.product[data-category=iphone] .product-art{background:#eef2f2}
.product[data-category=ipad] .product-art{background:#eff0f7}
.product[data-category=watch] .product-art{background:#f1eeeb}
.product-art img{width:100%;height:100%;max-height:185px;object-fit:contain;mix-blend-mode:multiply;transition:transform .25s}
.product:hover .product-art img{transform:scale(1.045)}
.product-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:16px 17px 17px}
.product h3{font-size:clamp(16px,1.65vw,23px);line-height:1.1;letter-spacing:-.045em}
.product p{font-size:13px;color:var(--muted);margin:6px 0 0}
.card-colors{display:flex;gap:6px;margin-top:11px}
.card-colors i,.swatch i{display:block;width:13px;height:13px;border:1px solid #10232230;border-radius:50%;background:var(--swatch)}
.product-action{width:100%;margin-top:auto;padding-top:16px}
.product-action button{width:100%;border:1px solid #d4e5e0;border-radius:10px;background:#f0f8f6;color:#143a33;min-height:41px;padding:6px 10px;font-size:13px;font-weight:730;display:flex;align-items:center;justify-content:space-between;gap:4px}
.product-action button:hover{background:#dff4ee}
.empty{padding:32px;background:white;border:1px solid var(--line);border-radius:var(--radius)}
.empty p{margin:6px 0 16px;color:var(--muted)}
.services h2{margin-bottom:18px}
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.service{display:flex;flex-direction:column;min-height:175px;padding:22px;border-radius:var(--radius);background:white;border:1px solid var(--line)}
.service:hover{border-color:#83b9ad}
.service.trade{background:#d9f3ec;border-color:#bae7da}
.service strong{font-size:24px;letter-spacing:-.055em}
.service p{color:var(--muted);font-size:14px;margin:5px 0 15px;max-width:280px}
.service span{margin-top:auto;color:#145747;font-weight:700;font-size:13px}
.contacts{display:grid;grid-template-columns:1fr .8fr;overflow:hidden;border-radius:26px;background:var(--dark);color:white;margin-top:30px}
.contacts>div{padding:37px clamp(22px,4vw,56px)}
.contacts .contact-art{display:grid;place-items:center;min-height:258px;overflow:hidden;position:relative;background:radial-gradient(ellipse at 57% 50%,#24645b,#143736 66%)}
.contact-art::before,.contact-art::after{content:"";position:absolute;inset:-60%;transform:rotate(-24deg);background:repeating-linear-gradient(90deg,transparent 0 67px,#9af3df19 68px 70px,transparent 71px 89px)}
.contact-art::after{transform:rotate(43deg)}
.contact-pin{z-index:1;width:78px;height:78px;display:grid;place-items:center;border-radius:50% 50% 50% 9px;transform:rotate(-45deg);background:var(--mint);box-shadow:0 0 0 16px #9af3df22,0 0 0 35px #9af3df10}
.contact-pin span{width:29px;height:29px;border-radius:50%;background:#17463d}
.contacts h2{font-size:clamp(32px,4vw,56px)}
.contacts address{font-style:normal;margin:11px 0 4px;color:#d1e5e0}
.phone{font-weight:650}
.contact-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.footer{min-height:108px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:13px;color:var(--muted)}
.footer .brand img{width:83px}
dialog{padding:0;border:0;border-radius:25px;width:min(840px,calc(100% - 32px));max-height:calc(100dvh - 32px);color:var(--ink);box-shadow:0 18px 70px #07161555}
dialog::backdrop{background:#071d1bb3;backdrop-filter:blur(5px)}
.detail-layout{display:grid;grid-template-columns:.9fr 1.1fr}
.detail-image{display:grid;place-items:center;background:#eef3f2;min-height:375px;padding:34px}
.detail-image img{object-fit:contain;max-height:325px;mix-blend-mode:multiply}
.detail-copy{padding:35px;position:relative}
.detail-copy h2{font-size:clamp(29px,4.1vw,48px);margin:6px 0}
.detail-category{font-size:13px;color:#166c5c;font-weight:730}
#detail-summary,.detail-note{color:var(--muted);font-size:14px}
.detail-note{margin:16px 0 13px}
.close{position:absolute;right:12px;top:12px;border:0;border-radius:50%;background:#eaf2f0;color:var(--ink);width:36px;height:36px;font:27px/1 Arial}
.detail-copy fieldset{margin:14px 0 0;padding:0;border:0}
.detail-copy legend{font-size:13px;font-weight:700;margin-bottom:6px}
.option-list{display:flex;gap:6px;flex-wrap:wrap}
.option{display:inline-flex;border:1px solid var(--line);background:white;border-radius:9px;align-items:center;gap:6px;padding:6px 8px;font-size:12px;font-weight:600;min-height:36px}
.option[aria-pressed=true]{border-color:#328c7a;background:#dcf4ee}
@media(max-width:1050px){
  .wrap{width:calc(100% - 56px)}
  .hero{min-height:410px}
  .product-art{padding:16px}
}
@media(max-width:780px){
  .wrap{width:calc(100% - 36px)}
  .header-inner{grid-template-columns:1fr auto auto;gap:14px;min-height:62px}
  .header-city{display:none}
  .header-nav{gap:14px}
  .hero{min-height:360px;margin-top:14px}
  .hero-copy{padding-left:26px}
  .hero h1{font-size:clamp(39px,7.3vw,64px)}
  .hero-sub{font-size:14px}
  .category-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category{min-height:101px;padding:13px}
  .category span{left:13px;bottom:7px}
  .category strong{font-size:19px}
  .category img{height:96px}
  .catalog,.services{margin-top:38px}
  .contacts>div{padding:25px 18px}
}
@media(max-width:510px){
  html{scroll-padding-top:73px}
  .wrap{width:calc(100% - 24px)}
  .header-inner{grid-template-columns:1fr auto;gap:8px}
  .header-nav{display:none}
  .brand img{width:93px}
  .header-contact{min-height:38px;padding:0 11px}
  .hero{min-height:0;margin-top:10px;flex-direction:column;align-items:stretch;border-radius:22px}
  .hero-copy{width:100%;padding:23px 20px 0}
  .hero h1{font-size:clamp(43px,11vw,58px)}
  .hero .eyebrow{margin-bottom:13px}
  .hero-sub{margin:13px 0 14px;max-width:265px}
  .hero-visual{height:225px;position:relative;inset:auto;margin-top:-2px}
  .hero-phone{top:2%;left:20%;width:62%;height:94%}
  .hero-rings{width:58%;left:52%}
  .category-grid,.product-grid,.service-grid{gap:8px}
  .category,.product{border-radius:15px}
  .category small{font-size:11px}
  .category img{width:38%;right:4px}
  .tile-phone img{right:8px;height:105px;bottom:-19px}
  .tile-watch img{right:3px;bottom:-18px;height:86px}
  .category strong{font-size:17px}
  .section-head{display:grid;gap:12px;margin-bottom:11px}
  .search{width:100%}
  .pills{width:100%}
  .toolbar{gap:7px}
  .pill,.filters select{min-height:38px;font-size:12px;padding-inline:8px}
  .product-art{padding:12px}
  .product-art img{max-height:110px}
  .product-body{padding:12px 10px 10px}
  .product p{font-size:11px}
  .product-action{padding-top:12px}
  .product-action button{font-size:12px}
  .service-grid,.contacts{grid-template-columns:1fr}
  .service{min-height:0;padding:16px}
  .contacts .contact-art{min-height:150px}
  .contact-pin{width:50px;height:50px}
  .contact-pin span{width:18px;height:18px}
  .footer{flex-wrap:wrap;gap:10px;padding:12px 0}
  .footer>span{width:100%}
  .detail-layout{grid-template-columns:1fr}
  .detail-image{min-height:145px;padding:12px}
  .detail-image img{height:145px}
  .detail-copy{padding:18px}
  .detail-copy h2{max-width:92%}
  .close{top:8px;right:8px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
