
/* Предпросмотр главной страницы: отдельная ветка, основной сайт не изменён. */
body.home-preview .mobile-digital-nav{display:none!important}
.home-preview .hero{padding:74px 0 66px}
.home-preview .hero-grid{grid-template-columns:minmax(0,1.5fr) minmax(240px,.5fr);gap:54px}
.home-preview .hero h1{max-width:740px;font-size:clamp(2.45rem,4.5vw,4rem);letter-spacing:-.044em}
.home-preview .eyebrow{font-size:.73rem;letter-spacing:.095em}
.home-preview .hero-subtitle{display:block;margin-top:5px;margin-bottom:16px;font-size:clamp(1.05rem,1.8vw,1.34rem);font-weight:680;line-height:1.35;color:var(--text)}
.home-preview .hero-note{font-size:.85rem}
.home-preview .hero .actions{margin-top:27px}
.home-preview .hero .btn-primary{min-width:220px}
.home-preview .hero-support{margin:13px 0 0;color:var(--muted);font-size:.84rem;line-height:1.6}
.home-preview .hero-proof{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 0;padding:0;list-style:none}
.home-preview .hero-proof li{border:1px solid var(--line2);background:var(--surface);border-radius:40px;padding:7px 11px;font-size:.76rem;color:var(--muted);line-height:1.4}
.home-preview .portrait{width:min(100%,288px)}
.home-preview .section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.home-preview .section-head h2,.home-preview .home-section h2{font-size:clamp(1.8rem,2.8vw,2.35rem);line-height:1.15;letter-spacing:-.025em;margin:0}
.home-preview .section-head p{max-width:440px;margin:0;color:var(--muted);font-size:.91rem;line-height:1.6}
.home-preview .home-section{padding:62px 0;border-top:1px solid var(--line)}
.home-preview .services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.home-preview .service-tile{display:flex;flex-direction:column;gap:11px;min-height:215px;padding:25px 26px;border:1px solid var(--line2);border-radius:9px;background:var(--surface);transition:border-color .2s,transform .2s}
.home-preview .service-tile:hover{border-color:var(--accent);transform:translateY(-2px)}
.home-preview .service-tile:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.home-preview .service-n{font-size:.72rem;letter-spacing:.1em;font-weight:800;color:var(--accent)}
.home-preview .service-tile h3{font-size:1.22rem;line-height:1.33;letter-spacing:-.018em;margin:0}
.home-preview .service-tile p{margin:0;color:var(--muted);font-size:.88rem;line-height:1.57}
.home-preview .service-tile .text-link{margin-top:auto;padding-top:5px}
.home-preview .section-foot{margin:20px 0 0;color:var(--muted);font-size:.89rem;line-height:1.6}
.home-preview .section-foot a,.home-preview .home-copy a,.home-preview .credentials-copy a{color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.home-preview .portfolio{background:var(--surface)}
.home-preview .case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.home-preview .case{border:1px solid var(--line2);border-radius:9px;overflow:hidden;background:var(--bg)}
.home-preview .case-visual{height:174px;display:flex;justify-content:space-between;align-items:flex-end;padding:18px;background:linear-gradient(135deg,#273d33,#15231c 60%,#233a30);color:#d8f7e6}
.home-preview .case-visual span{font-size:.68rem;text-transform:uppercase;letter-spacing:.12em;color:#b7d5c5}
.home-preview .case-visual strong{font-size:3.25rem;line-height:1;font-weight:650;opacity:.35}
.home-preview .case-body{padding:20px}
.home-preview .case-body h3{margin:0 0 9px;font-size:1.04rem;line-height:1.35}
.home-preview .case-body p{margin:0;color:var(--muted);font-size:.86rem;line-height:1.57}
.home-preview .case-note{padding:11px 14px;margin-top:18px;border-left:3px solid var(--line2);color:var(--muted);font-size:.83rem;line-height:1.55;background:var(--bg)}
.home-preview .work-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.home-preview .work-step{padding:17px 10px 10px 0;border-top:1px solid var(--line2)}
.home-preview .work-step .step-number{display:block;margin-bottom:17px;color:var(--accent);font-size:.85rem;font-weight:800}
.home-preview .work-step h3{margin:0 0 8px;font-size:1.05rem;line-height:1.35}
.home-preview .work-step p{margin:0;color:var(--muted);font-size:.87rem;line-height:1.65}
.home-preview .result-note{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;margin-top:30px;padding:23px 26px;background:var(--surface);border:1px solid var(--line2);border-radius:8px}
.home-preview .result-note strong{font-size:1rem}
.home-preview .result-note p{color:var(--muted);font-size:.87rem;line-height:1.55;margin:7px 0 0}
.home-preview .result-note .small-note{font-size:.8rem;color:var(--subtle)}
.home-preview .price-rows{border-top:1px solid var(--line2)}
.home-preview .price-row{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;padding:20px 4px;border-bottom:1px solid var(--line)}
.home-preview .price-row strong{display:block;margin-bottom:4px;font-size:1rem}
.home-preview .price-row span{color:var(--muted);font-size:.87rem}
.home-preview .price-value{font-size:1.06rem;font-weight:760;white-space:nowrap}
.home-preview .price-caption{color:var(--subtle);font-size:.81rem;line-height:1.6;margin:16px 0 0}
.home-preview .credentials{background:var(--surface)}
.home-preview .credentials .cred-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(26px,3vw,42px);align-items:start}
.home-preview .credentials-copy p{color:var(--muted);font-size:.91rem;line-height:1.7}
.home-preview .credential-facts{padding:0;list-style:none;display:grid;gap:10px}
.home-preview .credential-facts li{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:10px 0;border-top:1px solid var(--line);color:var(--muted);font-size:.86rem}
.home-preview .credential-facts b{color:var(--text)}
/* Дипломы: изображение, квалификация, профиль, вуз и ссылка отдельными блоками. */
.home-preview .credentials .diploma-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:750px;min-width:0}
.home-preview .credentials .diploma-card{display:flex;flex-direction:column;min-width:0;margin:0;overflow:hidden;border:1px solid var(--line2);border-radius:10px;background:var(--bg)}
.home-preview .credentials .diploma-card-image{display:flex;align-items:center;justify-content:center;height:246px;padding:14px 14px 12px;background:var(--surface2);border-bottom:1px solid var(--line);text-decoration:none}
.home-preview .credentials .diploma-card-image img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;aspect-ratio:auto}
.home-preview .credentials .diploma-card-info{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:0;min-width:0;padding:15px 15px 16px}
.home-preview .credentials .diploma-card-info h3{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;row-gap:2px;margin:0 0 8px;font-size:1.04rem;line-height:1.3;letter-spacing:-.015em;color:var(--text);font-weight:750}
.home-preview .credentials .diploma-card-info h3 span{font-weight:570;font-size:.89rem;color:var(--subtle)}
.home-preview .credentials .diploma-card-info p{margin:0 0 9px;color:var(--text);font-size:.85rem;line-height:1.45;overflow-wrap:break-word;hyphens:auto}
.home-preview .credentials .diploma-university{display:block;color:var(--muted);font-size:.78rem;line-height:1.4}
.home-preview .credentials .diploma-card-view{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:17px;color:var(--accent);font-size:.81rem;font-weight:770;text-decoration:underline;text-underline-offset:4px}
.home-preview .credentials .diploma-card-image:hover,.home-preview .credentials .diploma-card-view:hover{color:var(--accent)}
.home-preview .credentials .diploma-card-image:focus-visible,.home-preview .credentials .diploma-card-view:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
@media(max-width:1020px){.home-preview .credentials .cred-grid{grid-template-columns:1fr}.home-preview .credentials .diploma-grid{max-width:670px}}
@media(max-width:560px){
  .home-preview .credentials .diploma-grid{grid-template-columns:1fr;gap:12px;max-width:100%}
  .home-preview .credentials .diploma-card{display:grid;grid-template-columns:minmax(105px,36%) minmax(0,1fr);min-height:194px}
  .home-preview .credentials .diploma-card-image{height:100%;min-height:194px;padding:10px;border-right:1px solid var(--line);border-bottom:0}
  .home-preview .credentials .diploma-card-info{padding:16px 14px}
  .home-preview .credentials .diploma-card-info h3{font-size:1rem}
  .home-preview .credentials .diploma-card-info p{font-size:.83rem}
  .home-preview .credentials .diploma-card-view{font-size:.8rem;padding-top:13px}
}
.home-preview .additional-link{margin:16px 0 0;color:var(--muted);font-size:.85rem}
.home-preview .additional-link a{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.home-preview .contact-copy .contact-hint{margin-top:15px;padding-top:14px;border-top:1px solid var(--line);font-size:.85rem}
@media(max-width:900px){
 .home-preview .hero-grid{gap:27px}
 .home-preview .section-head{display:block}
 .home-preview .section-head p{margin-top:12px}
 .home-preview .case-grid{gap:10px}
 .home-preview .case-visual{height:140px}
 .home-preview .case-body{padding:15px}
 .home-preview .cred-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
 .home-preview .hero{padding:40px 0}
 .home-preview .hero-grid{grid-template-columns:1fr;gap:20px}
 .home-preview .hero h1{font-size:clamp(2.1rem,9vw,2.8rem)}
 .home-preview .hero-subtitle{font-size:1.05rem}
 .home-preview .hero-proof{margin-top:18px}
 .home-preview .portrait{justify-self:start;max-width:190px}
 .home-preview .home-section{padding:43px 0}
 .home-preview .services-grid{grid-template-columns:1fr;gap:9px}
 .home-preview .service-tile{min-height:0;padding:20px}
 .home-preview .case-grid{grid-template-columns:1fr}
 .home-preview .case{display:grid;grid-template-columns:110px 1fr}
 .home-preview .case-visual{height:auto;min-height:145px;display:flex;flex-direction:column;align-items:flex-start}
 .home-preview .case-visual strong{margin-top:auto;font-size:2.5rem}
 .home-preview .work-steps{grid-template-columns:1fr;gap:13px}
 .home-preview .work-step{padding-top:14px}
 .home-preview .work-step .step-number{margin-bottom:9px}
 .home-preview .result-note{grid-template-columns:1fr;padding:19px;gap:12px}
 .home-preview .price-row{gap:9px}
 .home-preview .price-value{font-size:.95rem}
 .home-preview .credential-facts li{grid-template-columns:86px 1fr}
 .home-preview .contact-box{gap:22px}
}
@media(max-width:380px){.home-preview .case{grid-template-columns:95px 1fr}.home-preview .case-body{padding:13px}.home-preview .price-row{grid-template-columns:1fr}.home-preview .price-value{margin-top:-2px}}

/* На мобильном обе кнопки первого экрана должны иметь полную ширину. */
@media(max-width:700px){.home-preview .hero .actions{grid-template-columns:1fr}.home-preview .hero .actions .btn{grid-column:1/-1}}




/* Редакционный вариант инженерной главной: шесть направлений вместо переключателя. */
.home-preview .hero{position:relative;isolation:isolate;overflow:hidden;border-bottom:1px solid var(--line);padding:76px 0 72px}
.home-preview .hero:before{content:"";position:absolute;z-index:-1;inset:0;opacity:.4;background-image:linear-gradient(to right,transparent calc(100% - 1px),var(--line) calc(100% - 1px)),linear-gradient(to bottom,transparent calc(100% - 1px),var(--line) calc(100% - 1px));background-size:68px 68px;mask-image:linear-gradient(90deg,transparent 10%,#000 90%)}
.home-preview .hero:after{content:"";position:absolute;z-index:-1;width:min(44vw,570px);aspect-ratio:1;right:-10%;top:-26%;background:radial-gradient(circle,rgba(62,173,120,.105),transparent 66%);pointer-events:none}
.home-preview .hero h1{max-width:700px;font-size:clamp(2.5rem,4.6vw,4.1rem);line-height:1.07}
.home-preview .hero-subtitle{font-size:clamp(1.08rem,1.6vw,1.33rem);font-weight:680;max-width:645px}
.home-preview .hero .lead{font-size:.95rem;max-width:650px;line-height:1.7}
.home-preview .hero-proof li{border-radius:5px}
.home-preview .hero .portrait{transform:rotate(1deg);box-shadow:0 18px 70px rgba(0,0,0,.18)}
.home-preview .home-section.directions{padding:70px 0 65px}
.home-preview .directions .section-head{padding-bottom:4px}
.home-preview .featured-service{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:88px minmax(0,1fr) minmax(190px,.57fr);gap:24px;align-items:stretch;min-height:272px;padding:33px 32px;border:1px solid var(--line2);border-radius:11px;background:linear-gradient(135deg,var(--surface),var(--surface2));box-shadow:0 12px 36px rgba(0,0,0,.045)}
.home-preview .featured-service:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--accent)}
.home-preview .featured-marker{display:flex;flex-direction:column;gap:4px;padding-top:2px;align-items:flex-start}
.home-preview .featured-marker span{font-size:2.5rem;line-height:1;font-weight:650;color:var(--accent);letter-spacing:-.045em}
.home-preview .featured-marker small{color:var(--subtle);font-size:.7rem;letter-spacing:.02em}
.home-preview .featured-overline{margin:0 0 8px;color:var(--accent);font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em}
.home-preview .featured-copy h3{margin:0 0 12px;font-size:clamp(1.65rem,2.8vw,2.15rem);line-height:1.15;letter-spacing:-.032em}
.home-preview .featured-copy>p:not(.featured-overline){max-width:570px;margin:0;color:var(--muted);font-size:.94rem;line-height:1.65}
.home-preview .featured-links{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:21px}
.home-preview .featured-links a{color:var(--accent);font-weight:740;font-size:.85rem;display:inline-flex;align-items:center;gap:10px;padding-bottom:2px;border-bottom:1px solid currentColor}
.home-preview .featured-links a:hover{color:var(--text)}
.home-preview .featured-links a:focus-visible,.home-preview .direction-sub a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.home-preview .featured-aside{position:relative;min-height:210px;overflow:hidden;border-left:1px solid var(--line);display:flex;justify-content:center;align-items:center}
.home-preview .technical-caption{position:absolute;left:14px;top:10px;font-size:.64rem;letter-spacing:.13em;color:var(--subtle)}
.home-preview .schematic-ring{width:136px;height:136px;border:1px solid var(--accent);border-radius:50%;opacity:.42;box-shadow:0 0 0 24px rgba(65,160,102,.065),0 0 0 54px rgba(65,160,102,.035)}
.home-preview .schematic-ring:before,.home-preview .schematic-ring:after{content:"";position:absolute;left:50%;top:50%;height:1px;width:170px;background:var(--accent);transform:translate(-50%,-50%);opacity:.5}
.home-preview .schematic-ring:after{transform:translate(-50%,-50%) rotate(90deg)}
.home-preview .schematic-line{position:absolute;width:80px;height:80px;border-top:1px dashed var(--accent);border-right:1px dashed var(--accent);opacity:.35;transform:translate(34px,-20px)}
.home-preview .schematic-label{position:absolute;bottom:7px;font-size:.64rem;text-align:center;color:var(--subtle);max-width:180px;line-height:1.3}
.home-preview .direction-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:35px;row-gap:0;margin-top:20px}
.home-preview .direction-entry{position:relative;display:grid;grid-template-columns:41px minmax(0,1fr) 18px;gap:12px;align-items:start;min-width:0;padding:28px 3px 25px;border-bottom:1px solid var(--line)}
.home-preview .direction-entry:nth-child(-n+2){border-top:1px solid var(--line)}
.home-preview .direction-number{color:var(--accent);font-size:.78rem;font-weight:800;letter-spacing:.05em;padding-top:4px}
.home-preview .direction-entry h3{font-size:1.12rem;font-weight:750;margin:0 0 9px;line-height:1.36;letter-spacing:-.015em}
.home-preview .direction-entry p{font-size:.84rem;line-height:1.64;color:var(--muted);margin:0 0 14px}
.home-preview .direction-sub{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px 14px}
.home-preview .direction-sub a{color:var(--accent);font-size:.79rem;font-weight:700;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--line2)}
.home-preview .direction-sub a:hover{text-decoration-color:var(--accent)}
.home-preview .direction-arrow{color:var(--subtle);font-size:1.12rem;line-height:1}
.home-preview .case:nth-child(2) .case-visual{background:linear-gradient(125deg,#1c3240,#15313a 60%,#274e4a)}
.home-preview .case:nth-child(3) .case-visual{background:linear-gradient(125deg,#372f32,#332629 60%,#51413a)}
.home-preview .case-visual{position:relative;isolation:isolate}
.home-preview .case-visual:after{content:"";position:absolute;inset:8px;opacity:.18;border:1px solid #d9ffe8;background:repeating-linear-gradient(90deg,transparent 0,transparent 18px,#d9ffe8 19px,transparent 20px);z-index:-1}
.home-preview .portfolio .section-head p{max-width:490px}
.home-preview .pricing-section .price-rows{border-top:1px solid var(--line2)}
.home-preview .pricing-section .price-row{padding:23px 4px}
.home-preview .credentials{padding-top:57px;padding-bottom:57px}
.home-preview .contact{padding-top:65px;padding-bottom:70px}
.home-preview .contact-box{background:linear-gradient(130deg,var(--surface),var(--surface2))}
.home-preview .contact-box .contact-primary:hover{filter:brightness(1.06)}
.home-preview .footer{padding-bottom:44px}
@media(max-width:950px){
  .home-preview .featured-service{grid-template-columns:56px minmax(0,1fr);gap:18px}
  .home-preview .featured-aside{display:none}
  .home-preview .direction-list{column-gap:22px}
}
@media(max-width:700px){
  .home-preview .hero{padding:44px 0 36px}
  .home-preview .hero:before{background-size:48px 48px}
  .home-preview .hero .portrait{transform:none}
  .home-preview .home-section.directions{padding:43px 0 46px}
  .home-preview .featured-service{grid-template-columns:1fr;gap:13px;padding:23px 20px;min-height:0}
  .home-preview .featured-marker{flex-direction:row;align-items:center;gap:10px}
  .home-preview .featured-marker span{font-size:1.7rem}
  .home-preview .featured-copy h3{font-size:1.65rem}
  .home-preview .featured-links{flex-direction:column;align-items:flex-start;gap:12px}
  .home-preview .direction-list{grid-template-columns:1fr;gap:0;margin-top:14px}
  .home-preview .direction-entry{grid-template-columns:34px minmax(0,1fr) 14px;gap:10px;padding:22px 2px}
  .home-preview .direction-entry:nth-child(2){border-top:0}
  .home-preview .direction-entry h3{font-size:1.04rem}
  .home-preview .direction-entry p{font-size:.86rem}
  .home-preview .pricing-section .price-row{padding:17px 0}
  .home-preview .contact{padding:42px 0 49px}
}


/* Научные публикации остаются внутри светлой секции образования. */
.home-preview .credentials-publications{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:34px;padding:24px 0 0;border-top:1px solid var(--line);scroll-margin-top:84px}
.home-preview .credentials-publications h2{font-size:clamp(1.25rem,1.9vw,1.55rem);line-height:1.3;letter-spacing:-.018em;margin:0}
.home-preview .credentials-publications .research-all{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:9px 16px;border:1px solid var(--line2);border-radius:6px;background:var(--bg);color:var(--text);font-size:.84rem;font-weight:700;text-align:center;gap:12px;transition:border-color .15s,color .15s}
.home-preview .credentials-publications .research-all:hover{border-color:var(--accent);color:var(--accent)}
.home-preview .credentials-publications .research-all:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:700px){
  .home-preview .credentials-publications{align-items:flex-start;flex-direction:column;gap:14px;margin-top:28px;padding-top:21px}
}

/* Простое модальное окно для просмотра диплома и приложения. */
.diploma-viewer{width:min(90vw,820px);max-width:none;max-height:92dvh;margin:auto;padding:0;border:1px solid var(--line2);border-radius:12px;background:var(--surface);color:var(--text);box-shadow:0 24px 90px rgba(0,0,0,.4)}
.diploma-viewer[open]{display:flex;flex-direction:column}
.diploma-viewer::backdrop{background:rgba(5,11,8,.78);backdrop-filter:blur(3px)}
.diploma-viewer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px 12px;border-bottom:1px solid var(--line)}
.diploma-viewer-header h2{font-size:1.1rem;margin:0 0 2px}
.diploma-viewer-count{font-size:.78rem;color:var(--muted);margin:0}
.diploma-viewer-close{appearance:none;border:1px solid var(--line2);border-radius:6px;background:var(--bg);color:var(--text);font-size:1.5rem;width:38px;height:38px;line-height:1;cursor:pointer}
.diploma-viewer-image-wrap{display:flex;align-items:center;justify-content:center;min-height:0;flex:1;overflow:auto;padding:12px 14px;background:var(--surface2)}
.diploma-viewer-image-wrap img{display:block;width:auto;max-width:100%;max-height:calc(92dvh - 170px);height:auto;object-fit:contain;box-shadow:0 1px 6px rgba(0,0,0,.12)}
.diploma-viewer-controls{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:12px 20px;border-top:1px solid var(--line)}
.diploma-viewer-controls button{appearance:none;padding:10px 14px;min-height:42px;border:1px solid var(--line2);border-radius:6px;background:var(--bg);color:var(--text);font-size:.86rem;font-weight:700;cursor:pointer}
.diploma-viewer-controls button:last-child{justify-self:end}
.diploma-viewer-controls button:disabled{cursor:default;opacity:.38}
.diploma-viewer-controls button:not(:disabled):hover{border-color:var(--accent);color:var(--accent)}
.diploma-viewer-controls .diploma-viewer-page{font-size:.84rem;color:var(--muted);text-align:center}
.diploma-viewer button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:600px){
  .diploma-viewer{width:96vw;max-height:95dvh}
  .diploma-viewer-header{padding:12px 13px}
  .diploma-viewer-image-wrap{padding:9px}
  .diploma-viewer-image-wrap img{max-height:calc(95dvh - 156px)}
  .diploma-viewer-controls{padding:10px;gap:5px}
  .diploma-viewer-controls button{padding:9px 10px;font-size:.82rem}
}

/* Контакты на первом экране: выбор канала без принудительного перехода в Telegram. */
.home-preview .hero-quick-contacts{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:13px 0 0}
.home-preview .hero-quick-contacts a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:112px;padding:8px 16px;border:1px solid var(--line2);border-radius:6px;background:var(--surface);color:var(--text);font-size:.84rem;font-weight:740;line-height:1.3;white-space:nowrap;transition:border-color .15s,background .15s}
.home-preview .hero-quick-contacts a:hover{border-color:var(--accent);background:var(--surface2)}
.home-preview .hero-quick-contacts a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:700px){
  .home-preview .hero-quick-contacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .home-preview .hero-quick-contacts a{min-width:0;padding:8px 5px;font-size:.81rem}
}
