/* Печной Уклад | Графит + контрастный блок гарантий + фото Виктора | 07.11.2026 */
:root{--uk-taiga:#23382F;--uk-graphite:#202222;--uk-linen:#F5EBDD;--uk-brick:#B94A32;--uk-brass:#D7B68A}
/* Фото занимает весь первый экран, затемнение обеспечивает читаемость типографики */
.theme-graphite .hero{isolation:isolate;background:#101715;min-height:750px;}
.theme-graphite .hero__photo,
.theme-graphite .hero__photo:where(:not(.dummy)){
  position:absolute;z-index:-2;inset:0;top:0;left:0;width:100%;height:100%;max-width:none;min-width:0;overflow:hidden;}
.theme-graphite .hero__photo img{
  width:100%;height:100%;max-height:none;min-height:0;object-fit:cover;
  object-position:50% 44%;filter:brightness(.89) saturate(.96) contrast(1.04);
  transform:scale(1.018) translateY(var(--parallax-drift,0px));border:0;border-radius:0;}
.theme-graphite .hero__veil{position:absolute;z-index:-1;inset:0;background:
  linear-gradient(90deg,rgba(11,17,15,.99) 0%,rgba(12,19,16,.97) 20%,rgba(14,21,18,.87) 34%,rgba(14,20,17,.59) 48%,rgba(12,18,16,.13) 72%,rgba(10,16,14,.09) 100%),
  linear-gradient(0deg,rgba(10,15,13,.87) 0%,rgba(10,17,14,.17) 30%,transparent 62%,rgba(7,11,10,.38) 100%);
  pointer-events:none;}
.theme-graphite .hero__grid{min-height:760px;padding-top:80px;padding-bottom:84px;align-items:center;}
.theme-graphite .hero__content{max-width:715px;}
.theme-graphite .hero__photo-caption{bottom:16px;right:30px;left:auto;padding:9px 14px;background:#172019d1;color:#F5EBDD;border-color:#d7b68a75;letter-spacing:.08em;}
/* Чуть заметный изразцовый узор — общий брендовый штрих */
.theme-graphite .hero::after{height:3px;background:linear-gradient(90deg,#23382F 0%,#D7B68A 38%,#B94A32 70%,#23382F 100%);}
.theme-graphite .brand__mark{border-radius:50%;background:#23382F;}
.theme-graphite .brand__name{color:#F5EBDD;}
.theme-graphite .hero h1{color:#F5EBDD;}
.theme-graphite .hero h1 em{color:#D7B68A;}
.theme-graphite .hero__facts{background:linear-gradient(115deg,#101c17e8,#23382fe0);border-color:#D7B68A8b;}
.theme-graphite .hero__fact b{color:#D7B68A;}
/* Переносим из Усадьбы светлый льняной блок как визуальную паузу после темного портфолио */
.theme-graphite .uk-reliability{
  background:#F5EBDD;color:#23382F;
  border-top:1px solid #d7c4a9;border-bottom:1px solid #d7c4a9;}
.theme-graphite .uk-reliability::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:repeating-linear-gradient(0deg,rgba(146,92,48,.07) 0 1px,transparent 1px 12px);opacity:.30;}
.theme-graphite .uk-reliability .eyebrow{color:#A34832;}
.theme-graphite .uk-reliability .eyebrow::before{color:#B94A32;}
.theme-graphite .uk-reliability .h2{color:#23382F;}
.theme-graphite .uk-reliability .h2 em{color:#A34832;}
.theme-graphite .uk-reliability .sub{color:#555e55;}
.theme-graphite .uk-reliability__motto{color:#A34832;border-top-color:#A3483257;}
.theme-graphite .uk-reliability__mark{background:#23382F;border-color:#d7b68a;box-shadow:0 18px 44px #23382f27;}
.theme-graphite .uk-reliability__card{
  background:#FFF9EE;color:#23382F;border-color:#D0B694;box-shadow:0 23px 45px #6f4b251b;}
.theme-graphite .uk-reliability__card--life{background:#23382F;color:#F5EBDD;border-color:#385349;}
.theme-graphite .uk-reliability__eyebrow{color:#A34832;}
.theme-graphite .uk-reliability__card--life .uk-reliability__eyebrow{color:#D7B68A;}
.theme-graphite .uk-reliability__card--warranty .uk-reliability__figure{color:#A34832;}
.theme-graphite .uk-reliability__card--life .uk-reliability__figure{color:#D7B68A;}
.theme-graphite .uk-reliability__footnote{color:#514f49;opacity:.84;}
.theme-graphite .uk-reliability__card p{opacity:.87;}
.theme-graphite .uk-reliability::before{border-color:#B94A321f;box-shadow:0 0 0 65px #B94A3205,0 0 0 130px #B94A3205;}
.footer__site-address{margin-top:20px;padding:14px 16px;border:1px solid #7a6548;border-radius:8px;display:grid;gap:2px;max-width:300px;background:#D7B68A0a;}
.footer__site-address span{font-size:11px;color:#bdb29e;letter-spacing:.08em;text-transform:uppercase;}
.footer__site-address strong{font-size:16px;color:#f7e0ba;letter-spacing:.025em;}
.contact-dialog__fallback{border-top:1px solid #d0bdab;padding-top:12px;}
.contact-dialog__fallback a{font-weight:700;}
/* Чтобы длинный ник не обрезался в кнопке на небольших экранах */
.quiz__send .btn{white-space:normal;}
@media (max-width:1100px){
  .theme-graphite .hero__photo img{object-position:56% 48%;}
  .theme-graphite .hero__veil{background:linear-gradient(90deg,#0d1512f9 0%,#0d1512f1 30%,#0d1512b2 56%,#0d151237 100%),linear-gradient(0deg,#0b130fdd,transparent 49%,#0b140f6a);}
}
@media (max-width:900px){
  .theme-graphite .hero,.theme-graphite .hero__grid{min-height:740px;}
  .theme-graphite .hero__photo img{object-position:64% center;}
  .theme-graphite .hero__veil{background:linear-gradient(90deg,#0d1512ed,#101914bd 67%,#11171368),linear-gradient(0deg,#101713c7,transparent 50%,#0d15129c);}
}
@media (max-width:620px){
  .theme-graphite .hero{min-height:830px;}
  .theme-graphite .hero__grid{min-height:830px;padding:48px 0 91px;align-items:flex-start;}
  .theme-graphite .hero__photo img{object-position:73% center;filter:brightness(.85) saturate(.95) contrast(1.07);transform:scale(1.035);}
  /* Слева уверенно читаемый текст, справа просматривается Виктор */
  .theme-graphite .hero__veil{background:linear-gradient(90deg,rgba(10,19,15,.99) 0%,rgba(10,19,15,.97) 30%,rgba(11,19,15,.80) 58%,rgba(11,19,15,.26) 100%),linear-gradient(0deg,rgba(8,17,13,.63),transparent 25%,transparent 70%,rgba(7,16,12,.28));}
  .theme-graphite .hero__photo-caption{bottom:10px;right:12px;font-size:9px;}
  .theme-graphite .hero__facts{background:#17241eee;}
  .theme-graphite .uk-reliability{padding-top:78px;padding-bottom:80px;}
  .theme-graphite .uk-reliability__card{min-height:0;}
  .footer__site-address{max-width:none;}
}

/* Обновление: четыре показателя первого экрана (10+ / 200+ / 5 лет / 30+ лет) */
.theme-graphite .hero__facts{
  width:min(1120px,calc(100vw - 110px));max-width:none;
  gap:0;align-items:stretch;
}
.theme-graphite .hero__fact{flex:1 1 0;min-width:0;gap:10px;padding:2px 16px;}
.theme-graphite .hero__fact b{font-size:clamp(28px,2.6vw,38px);white-space:nowrap;}
.theme-graphite .hero__fact span{font-size:clamp(10px,.85vw,12px);max-width:150px;line-height:1.42;}
.theme-graphite .hero__facts-note{
  margin:10px 0 0;padding:0 4px;
  font-size:11px;line-height:1.5;color:#E0CDB4;
  text-shadow:0 1px 7px #09120dc9;
}
@media(max-width:1100px){
  .theme-graphite .hero__facts{width:calc(100vw - 68px);}
  .theme-graphite .hero__fact{padding:0 12px;gap:8px;}
}
@media(max-width:900px){
  .theme-graphite .hero__facts{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;}
  .theme-graphite .hero__fact{padding:13px 10px!important;border:0;align-items:center;}
  .theme-graphite .hero__fact:nth-child(2n){border-left:1px solid #D7B68A55;}
  .theme-graphite .hero__fact:nth-child(n+3){border-top:1px solid #D7B68A55;}
  .theme-graphite .hero__fact:nth-child(3){grid-column:auto;}
  .theme-graphite .hero__fact b{font-size:clamp(27px,4vw,35px);}
  .theme-graphite .hero__fact span{font-size:11px;}
}
@media(max-width:620px){
  .theme-graphite .hero__facts{width:100%;padding:9px 13px;gap:0!important;}
  .theme-graphite .hero__fact{padding:13px 5px!important;gap:7px;align-items:flex-start;flex-direction:column;}
  .theme-graphite .hero__fact:nth-child(2n){padding-left:15px!important;}
  .theme-graphite .hero__fact:nth-child(3){grid-column:auto;border-top:1px solid #D7B68A55;padding-top:13px!important;}
  .theme-graphite .hero__fact b{font-size:clamp(26px,7.8vw,33px);}
  .theme-graphite .hero__fact span{font-size:10px;line-height:1.35;max-width:none;}
  .theme-graphite .hero__facts-note{font-size:10px;margin-top:8px;max-width:350px;}
}

/* Совместимость iOS Safari/Android: SVG вместо emoji и разнокалиберных стрелок. */
.theme-graphite .service-card::after{
  content:"";position:absolute;right:-18px;top:-28px;width:150px;height:150px;
  background:url("ornament-medallion.svg") center/contain no-repeat;
  font-size:0;opacity:.11;pointer-events:none;color:transparent;
}
.theme-graphite .master::before{content:"";font-size:0}
.theme-graphite .ui-arrow{
  width:1.12em;height:1.12em;display:inline-block;vertical-align:-.16em;
  flex:none;overflow:visible;color:inherit;stroke:currentColor;
}
.theme-graphite .arrow{display:inline-flex;align-items:center;justify-content:center;line-height:1;flex:none}
.theme-graphite .arrow .ui-arrow{width:19px;height:19px;vertical-align:middle}
.theme-graphite .ui-phone{width:15px;height:15px;display:inline-block;vertical-align:-.20em;margin-right:6px}
.theme-graphite .ui-menu{width:24px;height:24px;display:block;margin:auto}
.theme-graphite .estimate__line span .ui-arrow{width:22px;height:22px;vertical-align:middle}
.theme-graphite .contact-chooser__arrow .ui-arrow{width:20px;height:20px;display:block}
.theme-graphite .project__open .ui-arrow{width:14px;height:14px;margin-left:4px}
.theme-graphite .modal__arrow .ui-arrow{width:26px;height:26px;vertical-align:middle}
.theme-graphite .card-photo-chevron{display:inline-flex;align-items:center;justify-content:center}
.theme-graphite .ui-gallery-chevron{width:29px;height:29px;display:block;filter:drop-shadow(0 2px 4px #000a)}
.theme-graphite .eyebrow::before{font-family:Arial,sans-serif}
@media(max-width:620px){
  .theme-graphite .service-card::after{width:110px;height:110px;right:-10px;top:-10px;opacity:.085}
}
