/*
Theme Name: HausHof V12
Theme URI: https://haushof.ru/
Author: HausHof
Author URI: https://haushof.ru/
Description: V12 — полноэкранный hero с фоновым фото, шапка и карточка основателя поверх фото. Дорабатывается по дизайн-макету.
Version: 12.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haushof-v12
Tags: custom-home-page, landing-page, construction, responsive, editable
*/

:root{
  --orange:#ff4b16;
  --orange-dark:#e5410f;
  --blue:#168de2;
  --text:#151a22;
  --muted:#667085;
  --line:#e7ebf0;
  --soft:#fff4ec;
  --dark:#111c27;
  --dark2:#1c2a36;
  --container:1360px;
  --radius:16px;
  --shadow:0 14px 42px rgba(16,24,40,.08);
  --font-heading:'Montserrat',Inter,Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0!important;background:#fff;color:var(--text);font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.45;overflow-x:hidden}
h1,h2,h3,.hh-title{font-family:var(--font-heading)}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.hh-container{width:min(var(--container),calc(100% - 48px));margin-inline:auto}
.hh-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:13px 26px;border-radius:8px;background:var(--orange);border:1px solid var(--orange);color:#fff!important;font-weight:800;font-size:15px;box-shadow:0 6px 18px rgba(255,75,22,.13);transition:.2s}
.hh-btn:hover{background:var(--orange-dark);border-color:var(--orange-dark);transform:translateY(-1px)}
.hh-btn--outline{background:#fff;color:#1f2937!important;border-color:var(--orange);box-shadow:none}
.hh-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.hh-accent{color:var(--orange)}
.hh-site{background:#fff}

/* Top bar: fully responsive, no overlap */
.hh-topbar{background:#fff;border-bottom:1px solid var(--line)}
.hh-topbar__inner{min-height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.hh-phone{display:flex;align-items:center;gap:12px;font-size:clamp(18px,2vw,25px);font-weight:900;white-space:nowrap}
.hh-phone img{width:40px;height:40px;flex:0 0 auto}
.hh-telegram{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--blue);color:#fff!important;border-radius:6px;padding:12px 24px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.hh-telegram img{width:22px;height:22px;flex:0 0 auto}
.hh-topbar__cta{justify-self:end;white-space:nowrap}

/* Main nav */
.hh-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.hh-header__inner{min-height:68px;display:flex;align-items:center;gap:42px}
.hh-logo-link{flex:0 0 160px;display:flex;align-items:center}
.hh-logo-img{width:142px;height:auto;max-height:58px;object-fit:contain}
.hh-nav{flex:1;display:flex;align-items:center;justify-content:center;gap:clamp(18px,3.5vw,58px);font-size:14px;font-weight:800;white-space:nowrap}
.hh-nav a:hover{color:var(--orange)}

/* Hero: image is design element, not clickable, and never overlaps text */
.hh-hero{position:relative;background:#fff;overflow:hidden}
.hh-hero__wrap{display:grid;grid-template-columns:minmax(390px,.88fr) minmax(520px,1.12fr);gap:clamp(36px,5vw,84px);align-items:center;padding:34px 0 18px}
.hh-hero__content{min-width:0;max-width:630px;position:relative;z-index:2}
.hh-hero h1{font-size:clamp(36px,4vw,58px);line-height:1.1;letter-spacing:-1.4px;margin:0 0 18px;font-weight:900}
.hh-hero p{font-size:17px;color:#5d6878;max-width:580px;margin:0 0 26px}
.hh-hero__actions{display:flex;gap:18px;flex-wrap:wrap}
.hh-hero__media{position:relative;min-width:0;height:clamp(320px,30vw,430px);border-radius:0 0 0 54px;overflow:hidden;pointer-events:none;user-select:none;background:#f3f4f6}
.hh-hero__media:before{content:"";position:absolute;left:0;top:0;bottom:0;width:28%;z-index:2;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.88) 52%,rgba(255,255,255,0) 100%)}
.hh-hero__media:after{content:"";position:absolute;left:0;right:0;bottom:0;height:92px;z-index:3;background:linear-gradient(180deg,rgba(255,255,255,0),#fff)}
.hh-hero__media img{width:100%;height:100%;object-fit:cover;object-position:center}

/* trust */
.hh-trust{padding:40px 0;border-bottom:1px solid var(--line)}
.hh-trust__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.hh-trust__item{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:800;color:#344054;min-width:0}
.hh-trust__item img{width:36px;height:36px;flex:0 0 auto}
.hh-trust__item small{display:block;color:#667085;font-weight:600}

/* founder */
.hh-founder{padding:80px 0}
.hh-founder__card{display:grid;grid-template-columns:minmax(280px,385px) 1fr;overflow:hidden}
.hh-founder__photo{position:relative;min-height:300px;background:#f2f4f7}
.hh-founder__photo img{width:100%;height:100%;object-fit:cover}
.hh-founder__label{position:absolute;left:24px;bottom:24px;background:#fff;border-radius:10px;padding:16px 18px;font-size:14px;font-weight:900;box-shadow:0 12px 30px rgba(16,24,40,.16)}
.hh-founder__label small{display:block;margin-top:4px;color:#667085;font-weight:600;line-height:1.25}
.hh-founder__content{padding:34px 38px;min-width:0}
.hh-founder__content h2{font-size:clamp(24px,2.2vw,30px);margin:0 0 12px;line-height:1.2}
.hh-founder__content p{margin:0 0 28px;color:#475467}
.hh-proof-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.hh-proof{display:flex;gap:12px;min-width:0}
.hh-proof img{width:40px;height:40px;flex:0 0 auto}
.hh-proof b{display:block;font-size:14px;margin-bottom:4px}
.hh-proof span{font-size:13px;color:#667085}

/* packages */
.hh-section{padding:80px 0}
.hh-title{text-align:center;margin:0 0 8px;font-size:clamp(30px,3vw,40px);line-height:1.1;letter-spacing:-.8px}
.hh-subtitle{text-align:center;color:#667085;margin:0 0 28px}
.hh-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.hh-package{overflow:hidden;display:flex;flex-direction:column;min-width:0}
.hh-package__image{display:block;overflow:hidden;background:#f3f4f6}
.hh-package__image img{width:100%;height:250px;object-fit:cover;transition:.25s}
.hh-package__image:hover img{transform:scale(1.035)}
.hh-package__body{padding:22px 22px 8px;flex:1}
.hh-package h3{font-size:25px;margin:0 0 8px}
.hh-package__lead{color:#475467;margin:0 0 16px}
.hh-price{color:var(--orange);font-weight:900}
.hh-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:7px;font-size:13px}
.hh-list li{position:relative;padding-left:20px}
.hh-list li:before{content:"";position:absolute;left:0;top:.45em;width:9px;height:9px;border-radius:50%;background:var(--orange)}
.hh-note{font-weight:900;font-size:13px;margin:18px 0 0}
.hh-package .hh-btn{margin:22px}

/* projects */
.hh-projects__head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px;gap:20px}
.hh-projects h2{font-size:28px;margin:0}
.hh-more{color:var(--orange);font-weight:900}
.hh-project-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.hh-project{position:relative;min-height:170px;border-radius:14px;overflow:hidden;background:#f3f4f6;box-shadow:var(--shadow)}
.hh-project img{width:100%;height:100%;object-fit:cover;transition:.25s}
.hh-project:hover img{transform:scale(1.04)}
.hh-project__label{position:absolute;left:12px;bottom:10px;background:#fff;border-radius:9px;padding:9px 12px;font-size:13px;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.14)}
.hh-project__label small{display:block;color:#667085;font-weight:600}

/* calc */
.hh-calc{padding:80px 0}
.hh-calc__box{background:linear-gradient(135deg,#121d28,#26323e);border-radius:16px;color:#fff;padding:36px 40px;box-shadow:var(--shadow)}
.hh-calc h2{font-size:26px;margin:0 0 6px}
.hh-calc h3{font-size:20px;margin:0 0 8px;font-family:var(--font-heading)}
.hh-calc p{margin:0;color:#cbd5e1}
.hh-calc__inner{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.hh-steps-list{list-style:none;margin:20px 0 0;padding:0;counter-reset:steps}
.hh-steps-list li{counter-increment:steps;display:flex;gap:14px;margin-bottom:13px;align-items:flex-start;font-size:15px;line-height:1.45}
.hh-steps-list li::before{content:counter(steps);flex:0 0 28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--orange);border-radius:50%;font-weight:900;font-size:13px;margin-top:1px}
.hh-calc__form-side{background:rgba(255,255,255,0.07);border-radius:12px;padding:28px 30px}
.hh-calc__form-side>p{margin:0 0 20px;font-size:14px}

/* faq/cta */
.hh-faq{padding:80px 0}
.hh-faq__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.hh-faq h2{font-size:27px;margin:0}
.hh-faq__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px}
.hh-faq details{background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px 16px}
.hh-faq summary{cursor:pointer;font-weight:700;display:flex;justify-content:space-between;gap:16px}
.hh-faq summary:after{content:"⌄";color:#667085}
.hh-faq details[open] summary:after{content:"⌃"}
.hh-faq details p{margin:12px 0 0;color:#667085}
.hh-final-cta{padding:80px 0}
.hh-final-cta__box{display:grid;grid-template-columns:1fr auto;gap:26px;align-items:center;background:var(--soft);border:1px solid #f4d6c8;border-radius:14px;padding:32px 36px}
.hh-final-cta h2{font-size:24px;margin:0 0 5px}
.hh-final-cta p{margin:0;color:#667085}

/* footer */
.hh-footer{background:linear-gradient(135deg,#101a24,#1d2a36);color:#fff;padding:40px 0 50px}
.hh-footer__grid{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:42px}
.hh-footer .hh-logo-img{width:135px;margin-bottom:18px}
.hh-footer p{color:#d2d9e3;margin:0;line-height:1.65}
.hh-footer h3{font-size:16px;margin:0 0 14px}
.hh-footer__telegram{display:inline-flex;align-items:center;gap:10px;margin-top:18px;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:10px 16px;font-size:12px;font-weight:900}
.hh-footer__telegram img{width:20px;height:20px}

/* Alternating section backgrounds */
.hh-founder{background:var(--soft)}
.hh-section.hh-projects{background:var(--soft)}

/* Tablet */
@media (max-width:1180px){
  .hh-topbar__inner{grid-template-columns:1fr auto;row-gap:12px;padding-block:12px}
  .hh-topbar__cta{grid-column:1 / -1;justify-self:stretch}
  .hh-header__inner{gap:24px}
  .hh-nav{gap:18px;font-size:13px}
  .hh-hero__wrap{grid-template-columns:1fr;gap:24px;padding-top:24px}
  .hh-hero__content{max-width:800px}
  .hh-hero__media{order:-1;height:360px;border-radius:0 0 40px 40px}
  .hh-hero__media:before{display:none}
  .hh-trust__grid,.hh-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hh-founder__card{grid-template-columns:360px 1fr}
  .hh-packages{grid-template-columns:1fr}
  .hh-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hh-calc__inner{grid-template-columns:1fr}
  .hh-footer__grid{grid-template-columns:1fr 1fr}
  .hh-trust{padding:28px 0}
  .hh-founder,.hh-section,.hh-calc,.hh-faq,.hh-final-cta{padding:60px 0}
}

/* Mobile */
@media (max-width:760px){
  .hh-container{width:min(100% - 28px,var(--container))}
  .hh-topbar__inner{grid-template-columns:1fr;justify-items:start}
  .hh-phone{font-size:20px}
  .hh-telegram,.hh-topbar__cta{width:100%;justify-content:center}
  .hh-header__inner{min-height:74px;justify-content:center}
  .hh-logo-link{flex:0 0 auto}
  .hh-logo-img{width:132px}
  .hh-nav{display:none}
  .hh-hero h1{font-size:34px}
  .hh-hero p{font-size:16px}
  .hh-hero__actions .hh-btn{width:100%}
  .hh-hero__media{height:260px}
  .hh-trust__grid,.hh-proof-grid,.hh-founder__card,.hh-project-grid,.hh-faq__grid,.hh-final-cta__box,.hh-footer__grid{grid-template-columns:1fr}
  .hh-founder__content{padding:24px}
  .hh-founder__photo{min-height:330px}
  .hh-project{min-height:220px}
  .hh-calc__form-side{padding:20px 18px}
  .hh-calc__box{padding:24px 18px}
    .hh-projects__head,.hh-faq__head{display:block}
  .hh-more{display:inline-block;margin-top:10px}
  .hh-trust{padding:20px 0}
  .hh-founder,.hh-section,.hh-calc,.hh-faq,.hh-final-cta{padding:44px 0}
}


/* V11 header and calculator alignment fixes */
.hh-header__inner {
  min-height: 86px;
  gap: 54px;
}

.hh-logo-link {
  flex: 0 0 210px;
  min-width: 210px;
}

.hh-logo-img {
  width: 188px;
  max-height: 72px;
  object-fit: contain;
}

.hh-nav {
  justify-content: space-between;
  gap: clamp(30px, 4.2vw, 70px);
  font-size: 16px;
  line-height: 1;
}

.hh-calc__steps {
  align-items: start;
}

.hh-calc-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 116px;
}

.hh-calc-step b {
  flex: 0 0 34px;
  margin-bottom: 12px;
}

.hh-safe {
  align-self: start;
  min-height: 116px;
  padding-top: 46px;
}

@media (max-width:1180px) {
  .hh-header__inner {
    min-height: 82px;
    gap: 28px;
  }

  .hh-logo-link {
    flex: 0 0 190px;
    min-width: 190px;
  }

  .hh-logo-img {
    width: 170px;
    max-height: 68px;
  }

  .hh-nav {
    justify-content: center;
    gap: 20px;
    font-size: 14px;
  }

  .hh-safe {
    padding-top: 0;
    min-height: auto;
  }
}

@media (max-width:760px) {
  .hh-header__inner {
    min-height: 82px;
    justify-content: center;
  }

  .hh-logo-link {
    flex: 0 0 auto;
    min-width: 0;
  }

  .hh-logo-img {
    width: 165px;
    max-height: 70px;
  }

  .hh-calc__inner{grid-template-columns:1fr}
  .hh-calc__box{padding:24px 20px}
}


/* ── Mobile menu ──────────────────────────────────────────── */
.hh-burger{display:none}

@media (max-width:760px){
  .hh-header__inner{justify-content:space-between}

  .hh-burger{
    display:flex;flex-direction:column;justify-content:center;align-items:center;
    gap:5px;width:40px;height:40px;background:none;
    border:2px solid var(--line);border-radius:8px;cursor:pointer;
    padding:0;flex:0 0 auto;
  }
  .hh-burger__line{
    display:block;width:18px;height:2px;background:var(--text);
    border-radius:2px;transition:transform .2s,opacity .2s;
  }
  .hh-burger.is-open .hh-burger__line:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .hh-burger.is-open .hh-burger__line:nth-child(2){opacity:0}
  .hh-burger.is-open .hh-burger__line:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  .hh-nav{
    display:flex!important;flex-direction:column;gap:0;
    position:fixed;top:83px;left:0;right:0;
    background:#fff;z-index:99;
    max-height:0;overflow:hidden;
    transition:max-height .3s ease;
    white-space:normal;
  }
  .hh-nav.is-open{
    max-height:520px;
    border-bottom:1px solid var(--line);
    box-shadow:0 8px 24px rgba(16,24,40,.08);
  }
  .hh-nav a{
    padding:13px 24px;border-bottom:1px solid var(--line);
    font-size:15px;font-weight:700;display:block;
  }
  .hh-nav a:last-child{border-bottom:none;padding-bottom:18px}
}

/* Scroll animations */
[data-animate]{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .6s ease,transform .6s ease;
}
[data-animate].is-visible{
  opacity:1;
  transform:none;
}
@media(prefers-reduced-motion:reduce){
  [data-animate]{opacity:1;transform:none;transition:none}
}

/* Hero primary CTA */
.hh-hero .hh-btn:not(.hh-btn--outline){
  font-size:17px;
  padding:15px 34px;
  min-height:54px;
  box-shadow:0 14px 30px rgba(255,75,22,.28);
}

/* ── Projects catalog page ───────────────────────────────── */
.hh-nav__current { color: var(--orange) !important; }

.hh-page-hero { background: var(--soft); padding: 52px 0; border-bottom: 1px solid #f4d6c8; }
.hh-page-hero__title { font-family: var(--font-heading); font-size: clamp(32px,4vw,52px); font-weight: 900; line-height: 1.1; letter-spacing: -1px; margin: 0 0 10px; }
.hh-page-hero__lead { color: var(--muted); font-size: 17px; margin: 0; max-width: 580px; }

.hh-catalog { padding: 64px 0 80px; }
.hh-catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }

.hh-catalog-card { display: flex; flex-direction: column; overflow: hidden; }
.hh-catalog-card__photo { height: 220px; overflow: hidden; background: #f3f4f6; flex-shrink: 0; }
.hh-catalog-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: .25s; display: block; }
.hh-catalog-card__photo svg { width: 100%; height: 100%; display: block; }
.hh-catalog-card:hover .hh-catalog-card__photo img { transform: scale(1.04); }

.hh-catalog-card__floorplan { height: 148px; background: #f8f9fb; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 14px; flex-shrink: 0; }
.hh-catalog-card__floorplan img { max-height: 100%; width: auto; object-fit: contain; }
.hh-floorplan-svg { width: 100%; height: 100%; }

/* ─── Card gallery: thumbnail strip + floor plan strip ─── */
.hh-catalog-card__thumbs, .hh-portfolio-card__thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.hh-catalog-card__thumbs img, .hh-portfolio-card__thumbs img { width: 100%; height: 88px; object-fit: cover; display: block; }
.hh-catalog-card__plans, .hh-portfolio-card__plans { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-top: 1px solid var(--line); }
.hh-catalog-card__plans img, .hh-portfolio-card__plans img { width: 100%; height: 110px; object-fit: contain; padding: 8px; background: #f8f9fb; display: block; }

.hh-catalog-card__body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.hh-catalog-card__body h3 { font-size: 20px; margin: 0 0 14px; line-height: 1.25; }

.hh-catalog-card__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0 0 16px; }
.hh-catalog-card__spec { font-size: 13px; color: var(--muted); }
.hh-catalog-card__spec strong { display: block; font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 2px; }

.hh-catalog-card__price { font-size: 13px; color: var(--muted); margin: 0 0 20px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.hh-catalog-card__price strong { display: block; font-size: 20px; font-weight: 900; color: var(--orange); margin-bottom: 2px; }

.hh-catalog-card .hh-btn { width: 100%; justify-content: center; }

@media (max-width:1180px) {
  .hh-catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hh-catalog { padding: 48px 0 60px; }
  .hh-page-hero { padding: 40px 0; }
}
@media (max-width:760px) {
  .hh-catalog-grid { grid-template-columns: 1fr; }
  .hh-catalog { padding: 36px 0 48px; }
  .hh-page-hero { padding: 32px 0; }
}


/* ── Portfolio catalog page ─────────────────────────────── */
.hh-portfolio-catalog { padding: 64px 0 80px; }
.hh-portfolio-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }

.hh-portfolio-card { display: flex; flex-direction: column; overflow: hidden; }
.hh-portfolio-card__photo { height: 260px; overflow: hidden; background: #f3f4f6; flex-shrink: 0; }
.hh-portfolio-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: .25s; display: block; }
.hh-portfolio-card__photo svg { width: 100%; height: 100%; display: block; }
.hh-portfolio-card:hover .hh-portfolio-card__photo img { transform: scale(1.04); }

.hh-portfolio-card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hh-portfolio-card__body h3 { font-size: 19px; margin: 0; line-height: 1.25; }

.hh-portfolio-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.hh-portfolio-card__location { font-size: 13px; color: var(--muted); }
.hh-portfolio-card__location::before { content: "📍 "; }
.hh-portfolio-card__area { font-size: 14px; font-weight: 700; color: var(--orange); }

.hh-portfolio-card__desc { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

@media (max-width:1180px) {
  .hh-portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hh-portfolio-catalog { padding: 48px 0 60px; }
}
@media (max-width:760px) {
  .hh-portfolio-grid { grid-template-columns: 1fr; }
  .hh-portfolio-catalog { padding: 36px 0 48px; }
}

/* -- Contacts page -- */
.hh-contacts-page { padding: 60px 0 80px; }
.hh-contacts-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.hh-contacts-card { padding: 26px 28px 28px; }
.hh-contacts-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 0 0 10px; font-weight: 700; }
.hh-contacts-card__value { font-size: 17px; font-weight: 700; color: var(--text); display: block; margin-bottom: 6px; text-decoration: none; line-height: 1.4; }
a.hh-contacts-card__value:hover { color: var(--orange); }
.hh-contacts-card__phone { color: var(--orange); }
.hh-contacts-card__tg { display: flex; align-items: center; gap: 8px; }
.hh-contacts-card__tg img { width: 20px; height: 20px; flex-shrink: 0; }
.hh-contacts-card__note { font-size: 13px; color: var(--muted); margin: 0; }
.hh-prices-page { padding: 60px 0 80px; }
@media (max-width:1180px) { .hh-contacts-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .hh-contacts-page { padding: 48px 0 64px; } }
@media (max-width:760px)  { .hh-contacts-grid { grid-template-columns: 1fr; } .hh-contacts-page { padding: 36px 0 48px; } }

/* -- Pricing tiers (prices page) -- */
.hh-prices-content { padding: 56px 0 80px; }
.hh-tier { border-bottom: 1px solid var(--line); padding: 40px 0; }
.hh-tier:first-child { padding-top: 0; }
.hh-tier:last-child { border-bottom: none; }

.hh-tier__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hh-tier__num { font-size: 13px; font-weight: 800; color: var(--orange); letter-spacing: .5px; flex-shrink: 0; }
.hh-tier__head h2 { font-size: 26px; font-weight: 800; margin: 0; color: var(--text); flex: 1; }
.hh-tier__price { font-size: 20px; font-weight: 800; color: var(--orange); white-space: nowrap; }

.hh-tier__body { max-width: 720px; }
.hh-tier__body p { font-size: 15px; line-height: 1.65; margin: 0 0 12px; color: var(--text); }
.hh-tier__body ul { margin: 0 0 16px 0; padding-left: 20px; }
.hh-tier__body li { font-size: 15px; line-height: 1.65; color: var(--text); margin-bottom: 4px; }
.hh-tier__body strong { color: var(--text); }

.hh-prices-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 16px 0; display: block; }

@media (max-width:760px) {
  .hh-tier { padding: 28px 0; }
  .hh-tier__head h2 { font-size: 20px; }
  .hh-tier__price { font-size: 17px; }
}

/* -- Tier cards (prices page v3) -- */
.hh-tiers { display: flex; flex-direction: column; gap: 28px; }
.hh-tier.hh-card { display: grid; grid-template-columns: 1fr 380px; align-items: stretch; overflow: hidden; padding: 0; gap: 0; border: 1px solid var(--line); }

.hh-tier__content { padding: 40px 44px; display: flex; flex-direction: column; }
.hh-tier__header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.hh-tier__num { font-size: 13px; font-weight: 800; color: var(--orange); letter-spacing: .5px; padding-top: 6px; flex-shrink: 0; min-width: 28px; }
.hh-tier__titles h2 { font-size: 24px; font-weight: 800; margin: 0 0 6px; color: var(--text); line-height: 1.2; }
.hh-tier__price { font-size: 18px; font-weight: 800; color: var(--orange); }

.hh-tier__rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; padding: 14px 18px; background: var(--soft); border-radius: 10px; }
.hh-tier__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hh-tier__row-label { font-size: 14px; color: var(--muted); }
.hh-tier__row-val { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; }

.hh-tier__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-bottom: 28px; flex: 1; }
.hh-tier__list-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 0 0 8px; }
.hh-tier__list { margin: 0; padding-left: 18px; }
.hh-tier__list li { font-size: 14px; color: var(--text); line-height: 1.65; margin-bottom: 2px; }
.hh-tier__list--inc li::marker { color: var(--orange); }
.hh-tier__list--exc li { color: var(--muted); }
.hh-tier__list--exc li::marker { color: #ccc; }

.hh-tier__photo { position: relative; min-height: 340px; background: #f3f4f6; overflow: hidden; }
.hh-tier__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-tier__photo svg { width: 100%; height: 100%; position: absolute; inset: 0; }

@media (max-width:1180px) {
  .hh-tier.hh-card { grid-template-columns: 1fr 300px; }
  .hh-tier__content { padding: 32px; }
}
@media (max-width:760px) {
  .hh-tier.hh-card { grid-template-columns: 1fr; }
  .hh-tier__photo { min-height: 220px; order: -1; }
  .hh-tier__content { padding: 24px 20px; }
  .hh-tier__lists { grid-template-columns: 1fr; }
  .hh-tier__titles h2 { font-size: 20px; }
}

/* -- Contact form (hh-calc section) -- */
.hh-calc__form{display:flex;flex-direction:column;gap:14px;margin-top:18px}
.hh-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hh-form-input { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: border-color .2s; outline: none; }
.hh-form-input:focus { border-color: var(--orange); }
.hh-form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.hh-form-consent input[type=checkbox] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); cursor: pointer; }
.hh-form-consent a { color: var(--orange); text-decoration: underline; }
.hh-form-success { margin: 0; padding: 12px 16px; background: #ecfdf5; border: 1px solid #6ee7b7; border-radius: 8px; color: #065f46; font-size: 14px; font-weight: 600; }
@media (max-width:760px) { .hh-form-fields { grid-template-columns: 1fr; } }

/* -- Footer privacy link -- */
.hh-footer__privacy { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); text-decoration: underline; }
.hh-footer__privacy:hover { color: var(--orange); }

/* -- Privacy policy page -- */
.hh-privacy-page { padding: 60px 0 80px; }
.hh-privacy-content { padding: 40px 48px; }
.hh-privacy-content h2 { font-size: 20px; font-weight: 800; margin: 32px 0 12px; color: var(--text); }
.hh-privacy-content h2:first-of-type { margin-top: 0; }
.hh-privacy-content p, .hh-privacy-content li { font-size: 15px; line-height: 1.7; color: var(--text); }
.hh-privacy-content ul { margin: 0 0 16px; padding-left: 20px; }
.hh-privacy-content li { margin-bottom: 6px; }
.hh-privacy-content a { color: var(--orange); }
.hh-privacy-meta { font-size: 13px; color: var(--muted); margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.hh-privacy-operator { background: var(--soft); border-radius: 10px; padding: 20px 24px; margin: 0 0 20px; }
.hh-privacy-operator p { margin: 0; }
.hh-privacy-contacts { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 20px 0; }
.hh-privacy-contact-item { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; background: var(--soft); border-radius: 10px; }
.hh-privacy-contact-item strong { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.hh-privacy-contact-item a, .hh-privacy-contact-item span { font-size: 15px; font-weight: 600; color: var(--text); }
.hh-privacy-contact-item a:hover { color: var(--orange); }
@media (max-width:1000px) { .hh-privacy-content { padding: 28px 32px; } .hh-privacy-contacts { grid-template-columns: 1fr 1fr; } }
@media (max-width:760px) { .hh-privacy-page { padding: 36px 0 56px; } .hh-privacy-content { padding: 20px; } .hh-privacy-contacts { grid-template-columns: 1fr; } }

/* -- Почему мы -- */
.hh-benefits{padding:80px 0}
.hh-benefits__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:32px}
.hh-benefit{padding:28px 30px}
.hh-benefit h3{font-size:20px;margin:0 0 12px;line-height:1.3;font-family:var(--font-heading);font-weight:800}
.hh-benefit p{margin:0;color:#475467;font-size:15px;line-height:1.65}

/* -- Почему газобетон -- */
.hh-material{padding:80px 0;background:var(--soft)}
.hh-material__inner{max-width:820px}
.hh-material__inner h2{font-size:clamp(24px,2.5vw,32px);margin:0 0 16px;font-family:var(--font-heading);font-weight:900;letter-spacing:-.5px}
.hh-material__inner p{font-size:16px;line-height:1.7;color:#475467;margin:0}

/* -- Как мы строим -- */
.hh-how{padding:80px 0}
.hh-how__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:32px;margin-bottom:22px}
.hh-how__item{padding:28px 30px}
.hh-how__item h3{font-size:17px;margin:0 0 12px;line-height:1.3;font-family:var(--font-heading);font-weight:800}
.hh-how__item p{margin:0;color:#475467;font-size:14px;line-height:1.65}
.hh-how__principles{padding:28px 30px}
.hh-how__principles h3{font-size:18px;margin:0 0 10px;font-family:var(--font-heading);font-weight:800}
.hh-how__principles p{color:#475467;font-size:15px;line-height:1.65;margin:0 0 12px}
.hh-how__principles .hh-list{margin:0}

@media(max-width:1180px){
  .hh-benefits__grid,.hh-how__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hh-benefits,.hh-material,.hh-how{padding:60px 0}
}
@media(max-width:760px){
  .hh-benefits__grid,.hh-how__grid{grid-template-columns:1fr}
  .hh-benefits,.hh-material,.hh-how{padding:44px 0}
  .hh-benefit,.hh-how__item,.hh-how__principles{padding:22px 20px}
}

/* =========================================================
   CAROUSEL, LIGHTBOX & FILTER  (added 2026-06-09)
   ========================================================= */

/* ─── Carousel ────────────────────────────────────────── */
.hh-cs { position: relative; }
.hh-cs__track-wrap { overflow: hidden; }
.hh-cs__track { display: flex; transition: transform .3s ease; will-change: transform; }
.hh-cs__slide { flex: 0 0 100%; min-width: 0; cursor: pointer; -webkit-user-select: none; user-select: none; }
.hh-cs__slide img { width: 100%; height: 100%; display: block; -webkit-user-drag: none; pointer-events: none; }

.hh-cs--photo .hh-cs__slide { height: 220px; }
.hh-cs--photo .hh-cs__slide img { object-fit: cover; }

.hh-cs--plans { border-top: 1px solid var(--line); }
.hh-cs--plans .hh-cs__slide { height: 148px; background: #f8f9fb; }
.hh-cs--plans .hh-cs__slide img { object-fit: contain; padding: 12px; background: #f8f9fb; }

.hh-cs__prev, .hh-cs__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 1px solid rgba(0,0,0,.06);
  color: var(--text); cursor: pointer; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.14); z-index: 2; padding: 0;
  transition: background .15s, transform .15s;
}
.hh-cs__prev:hover, .hh-cs__next:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hh-cs__prev { left: 8px; }
.hh-cs__next { right: 8px; }

.hh-cs__dots { position: absolute; bottom: 7px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.hh-cs__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); border: none; cursor: pointer; padding: 0; pointer-events: all; transition: .2s; flex-shrink: 0; }
.hh-cs__dot.is-active { background: #fff; transform: scale(1.3); }
.hh-cs--plans .hh-cs__dot { background: rgba(0,0,0,.25); }
.hh-cs--plans .hh-cs__dot.is-active { background: var(--orange); }

/* ─── Lightbox ──────────────────────────────────────── */
.hh-lb { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.hh-lb[hidden] { display: none; }
.hh-lb__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.9); }
.hh-lb__wrap { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; max-width: min(92vw, 1200px); max-height: 90vh; }
.hh-lb__img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 8px; display: block; flex: 1 1 auto; min-width: 0; }
.hh-lb__close {
  position: absolute; top: -44px; right: 0;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer; font-size: 24px;
  display: flex; align-items: center; justify-content: center; padding: 0; transition: .15s;
}
.hh-lb__close:hover { background: rgba(255,255,255,.3); }
.hh-lb__prev, .hh-lb__next {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.22);
  color: #fff; cursor: pointer; font-size: 28px;
  display: flex; align-items: center; justify-content: center; padding: 0; transition: .15s;
}
.hh-lb__prev:hover, .hh-lb__next:hover { background: rgba(255,255,255,.3); }
@media (max-width: 560px) {
  .hh-lb__prev, .hh-lb__next { position: absolute; top: 50%; }
  .hh-lb__prev { left: 6px; transform: translateY(-50%); }
  .hh-lb__next { right: 6px; transform: translateY(-50%); }
  .hh-lb__wrap { justify-content: center; }
}

/* ─── Filter ────────────────────────────────────────── */
.hh-filter {
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end;
  margin-bottom: 28px; padding: 20px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(16,24,40,.04);
}
.hh-filter__group { display: flex; flex-direction: column; gap: 6px; }
.hh-filter__group > label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.hh-filter__range { display: flex; align-items: center; gap: 6px; }
.hh-filter__range input {
  width: 76px; height: 36px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 7px;
  font-size: 14px; font-family: inherit; color: var(--text);
  outline: none; transition: border-color .15s;
}
.hh-filter__range input:focus { border-color: var(--orange); }
.hh-filter__range span { color: var(--muted); font-size: 14px; }
.hh-filter__chips { display: flex; gap: 5px; flex-wrap: wrap; }
.hh-filter__chips [data-filter-val] {
  height: 36px; padding: 0 14px;
  border: 1px solid var(--line); background: #fff;
  border-radius: 7px; font-size: 13px; font-weight: 700;
  cursor: pointer; color: var(--text); transition: .15s;
}
.hh-filter__chips [data-filter-val]:hover { border-color: var(--orange); color: var(--orange); }
.hh-filter__chips [data-filter-val].is-active { background: var(--orange); border-color: var(--orange); color: #fff; }
.hh-filter__reset {
  height: 36px; padding: 0 16px; margin-top: auto;
  background: none; border: 1px solid var(--line); border-radius: 7px;
  font-size: 13px; font-weight: 700; cursor: pointer; color: var(--muted); transition: .15s;
}
.hh-filter__reset:hover { border-color: #d0d5dd; color: var(--text); }
.hh-catalog-empty { padding: 40px 16px; text-align: center; color: var(--muted); font-size: 15px; }
.hh-catalog-empty a { color: var(--orange); }

@media (max-width: 760px) {
  .hh-filter { padding: 14px 16px; gap: 12px 14px; }
  .hh-filter__range input { width: 62px; }
}
/* ─── Sort buttons ─────────────────────────────────── */
.hh-filter__chips [data-sort-by] {
  height: 36px; padding: 0 14px;
  border: 1px solid var(--line); background: #fff;
  border-radius: 7px; font-size: 13px; font-weight: 700;
  cursor: pointer; color: var(--text); transition: .15s;
}
.hh-filter__chips [data-sort-by]:hover { border-color: var(--orange); color: var(--orange); }
.hh-filter__chips [data-sort-by].is-active { background: var(--orange); border-color: var(--orange); color: #fff; }
/* Dropdown nav (Услуги) */
.hh-nav__drop{position:relative;display:flex;align-items:center}
.hh-nav__drop-btn{background:none;border:none;padding:0;margin:0;font-size:inherit;font-weight:800;font-family:inherit;color:inherit;cursor:pointer;line-height:1;display:flex;align-items:center;gap:4px;white-space:nowrap}
.hh-nav__drop-btn:hover,.hh-nav__drop--active .hh-nav__drop-btn{color:var(--orange)}
.hh-nav__submenu{display:none;position:absolute;top:calc(100% + 16px);left:50%;transform:translateX(-50%);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 32px rgba(16,24,40,.12);min-width:240px;padding:8px 0;z-index:200;flex-direction:column}
.hh-nav__drop:hover .hh-nav__submenu,.hh-nav__drop:focus-within .hh-nav__submenu{display:flex}
.hh-nav__submenu a{padding:11px 20px;font-size:14px;font-weight:700;color:var(--text);white-space:nowrap;transition:color .15s,background .15s}
.hh-nav__submenu a:hover{color:var(--orange);background:var(--soft)}
.hh-nav__submenu .hh-nav__current{color:var(--orange)!important}
@media(max-width:760px){
.hh-nav__drop{display:contents}
.hh-nav__drop-btn{display:block;padding:10px 24px;border-bottom:1px solid var(--line);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);cursor:default;pointer-events:none;width:100%;text-align:left}
.hh-nav__drop-btn span{display:none}
.hh-nav__submenu{display:flex!important;flex-direction:column;position:static;transform:none;box-shadow:none;border:none;border-bottom:1px solid var(--line);border-radius:0;padding:0;min-width:0;background:#f8f9fb}
.hh-nav__submenu a{padding:12px 24px 12px 38px;border-bottom:1px solid var(--line);font-size:15px;font-weight:700;white-space:normal}
.hh-nav__submenu a:last-child{border-bottom:none;padding-bottom:12px}
}
/* 2-row nav */
.hh-nav{flex-wrap:wrap;justify-content:center;white-space:normal;gap:8px clamp(24px,3.2vw,52px);font-size:15px}
.hh-nav__break{flex-basis:100%;height:0}
.hh-nav__2{font-size:13px;font-weight:700;color:var(--muted)}
@media(max-width:1180px){.hh-nav{gap:8px 16px;font-size:13px}}
@media(max-width:760px){
  .hh-nav__break{display:none}
  .hh-nav__2{font-size:15px;font-weight:700;color:var(--text)}
}
/* Second nav row: same font as primary */
.hh-nav__2{font-size:inherit;font-weight:800;color:inherit}
/* Header gap for logo + special-btn + nav layout */
.hh-header__inner{gap:32px}
/* Special offer button */
.hh-header-special{flex-shrink:0;display:inline-flex;align-items:center;gap:7px;padding:10px 22px;background:var(--orange);color:#fff;font-size:14px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border-radius:10px;text-decoration:none;white-space:nowrap;line-height:1;box-shadow:0 4px 20px rgba(255,75,22,.45);transition:transform .18s,box-shadow .18s,background .18s;animation:hh-spec-pulse 2.6s ease-in-out infinite}
.hh-header-special::before{content:'5';font-size:13px;opacity:.9}
.hh-header-special:hover{animation:none;background:#d63b0b;transform:translateY(-2px);box-shadow:0 8px 30px rgba(255,75,22,.6);color:#fff}
@keyframes hh-spec-pulse{0%,100%{box-shadow:0 4px 20px rgba(255,75,22,.45)}50%{box-shadow:0 4px 28px rgba(255,75,22,.65),0 0 0 5px rgba(255,75,22,.12)}}
@media(prefers-reduced-motion:reduce){.hh-header-special{animation:none;box-shadow:0 4px 20px rgba(255,75,22,.45)}}
@media(max-width:1180px){.hh-header__inner{gap:20px}.hh-header-special{font-size:12px;padding:8px 14px}}
@media(max-width:760px){.hh-header-special{display:none}}
/* Fix: убираем битый символ со кнопки */
.hh-header-special::before{content:none}
.hh-header-special{gap:0}
/* Увеличиваем шрифт nav */
.hh-nav{font-size:18px}
@media(max-width:1180px){.hh-nav{font-size:15px}}
/* === Логотип в топбаре === */
/* Топбар: flex вместо grid, логотип слева, CTA справа */
.hh-topbar__inner{display:flex;align-items:center;gap:20px}
.hh-topbar .hh-logo-link{flex:0 0 auto;min-width:auto}
.hh-topbar .hh-logo-img{width:160px;max-height:52px;object-fit:contain}
.hh-topbar__cta{margin-left:auto;justify-self:auto}
/* Десктоп: логотип в шапке скрыт */
.hh-header .hh-logo-link{display:none}
@media(max-width:1180px){
  .hh-topbar__inner{gap:14px}
  .hh-topbar .hh-logo-img{width:130px}
}
@media(max-width:760px){
  /* На мобильном: логотип в топбаре скрыт, в шапке показан */
  .hh-topbar .hh-logo-link{display:none}
  .hh-header .hh-logo-link{display:flex;align-items:center}
  .hh-topbar__cta{margin-left:0}
}

/* =====================================================================
   V12 HERO REDESIGN (added 2026-06-11)
   Full-screen hero with background photo, overlaid header + founder card
   ===================================================================== */
.hh-hero--v12{
  position:relative;
  min-height:100svh;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:#fff;
  isolation:isolate;
  overflow:hidden;
}
.hh-hero--v12 .hh-hero__scrim{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg, rgba(8,12,18,.84) 0%, rgba(8,12,18,.58) 40%, rgba(8,12,18,.18) 74%, rgba(8,12,18,.04) 100%),
    linear-gradient(180deg, rgba(8,12,18,.48) 0%, rgba(8,12,18,0) 24%, rgba(8,12,18,0) 54%, rgba(8,12,18,.66) 100%);
}
.hh-hero--v12 .hh-hero__inner{
  position:relative;z-index:2;
  display:flex;flex-direction:column;
  min-height:100svh;
  padding:26px 0 96px;
  gap:22px;
}

/* Top bar over the photo */
.hh-hero--v12 .hh-hero__bar{display:flex;align-items:center;justify-content:space-between;gap:24px}
.hh-hero--v12 .hh-logo-link{flex:0 0 auto;display:flex;align-items:center}
.hh-hero--v12 .hh-logo-img{width:188px;max-height:66px;object-fit:contain;filter:drop-shadow(0 2px 10px rgba(0,0,0,.35))}
.hh-hero--v12 .hh-hero__contacts{display:flex;align-items:center;gap:18px;margin-left:auto}
.hh-hero--v12 .hh-phone{display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:clamp(17px,1.6vw,21px);white-space:nowrap;text-shadow:0 1px 8px rgba(0,0,0,.45)}
.hh-hero--v12 .hh-phone img{width:30px;height:30px;filter:brightness(0) invert(1)}
.hh-hero--v12 .hh-telegram{display:inline-flex;align-items:center;gap:9px;background:var(--blue);color:#fff;border-radius:8px;padding:11px 20px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.hh-hero--v12 .hh-telegram img{width:20px;height:20px;filter:brightness(0) invert(1)}

/* Special badge + nav row */
.hh-hero--v12 .hh-hero__navwrap{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.hh-hero--v12 .hh-hero__navwrap .hh-nav{order:1}
.hh-hero--v12 .hh-hero__navwrap .hh-header-special{order:2}
.hh-hero--v12 .hh-header-special{display:inline-flex;align-items:center;gap:0;padding:11px 24px;background:#1F9D55;color:#fff;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border-radius:10px;white-space:nowrap;line-height:1;box-shadow:0 8px 24px rgba(31,157,85,.5);animation:hh-spec-pulse-green 2.6s ease-in-out infinite}
.hh-hero--v12 .hh-header-special:hover{background:#18814a;transform:translateY(-1px);color:#fff;animation:none}
@keyframes hh-spec-pulse-green{0%,100%{box-shadow:0 8px 24px rgba(31,157,85,.5)}50%{box-shadow:0 8px 28px rgba(31,157,85,.72),0 0 0 5px rgba(31,157,85,.16)}}
@media(prefers-reduced-motion:reduce){.hh-hero--v12 .hh-header-special{animation:none}}
.hh-hero--v12 .hh-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:14px 30px;font-size:20px;font-weight:800;border-block:1px solid rgba(255,255,255,.26);padding:14px 0;max-height:none;overflow:visible;position:static;background:none}
.hh-hero--v12 .hh-nav__break{flex-basis:100%;height:0}
.hh-hero--v12 .hh-nav a{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.45);padding:4px 0;border-bottom:2px solid transparent}
.hh-hero--v12 .hh-nav a:hover{color:#fff;border-bottom-color:var(--orange)}
.hh-hero--v12 .hh-nav a.hh-nav__2{color:#fff;font-size:20px;font-weight:800}
.hh-hero--v12 .hh-nav a.hh-nav__2:hover{color:#fff}

/* Hero content */
.hh-hero--v12 .hh-hero__content{margin-top:clamp(56px,10vh,140px);max-width:720px}
.hh-hero--v12 .hh-hero__content h1{font-size:clamp(30px,3.6vw,52px);line-height:1.1;letter-spacing:-1px;font-weight:900;margin:0 0 18px;color:#fff;text-shadow:0 2px 20px rgba(0,0,0,.5)}
.hh-hero--v12 .hh-hero__content .hh-accent{color:var(--orange)}
.hh-hero--v12 .hh-hero__content p{font-size:clamp(16px,1.5vw,19px);color:rgba(255,255,255,.93);max-width:560px;margin:0 0 26px;text-shadow:0 1px 12px rgba(0,0,0,.45)}
.hh-hero--v12 .hh-hero__actions{display:flex;gap:16px;flex-wrap:wrap}
.hh-hero--v12 .hh-hero__actions .hh-btn{font-size:17px;padding:15px 34px;min-height:54px;box-shadow:0 14px 34px rgba(255,75,22,.4)}
.hh-hero--v12 .hh-burger{border-color:rgba(255,255,255,.65)}
.hh-hero--v12 .hh-burger__line{background:#fff}
.hh-hero--v12 a:focus-visible,.hh-hero--v12 .hh-burger:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:4px}

/* Founder card overlapping the hero bottom */
.hh-founder--overlap{position:relative;z-index:5;background:transparent;padding-top:0;margin-top:clamp(-200px,-16vh,-120px)}

/* Material section: text + gas-concrete photo, two columns */
.hh-material__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,4vw,56px);align-items:center;width:min(var(--container),calc(100% - 48px))}
.hh-material__grid .hh-material__inner{max-width:none}
.hh-material__photo{min-width:0}
.hh-material__photo img{width:100%;height:100%;max-height:420px;object-fit:cover;border-radius:var(--radius);box-shadow:var(--shadow)}

/* Tablet */
@media (max-width:1180px){
  .hh-hero--v12 .hh-hero__inner{padding-bottom:90px}
  .hh-hero--v12 .hh-nav{font-size:17px;gap:12px 24px}
  .hh-hero--v12 .hh-nav a.hh-nav__2{font-size:17px}
  .hh-material__grid{grid-template-columns:1fr;gap:28px}
  .hh-material__photo img{max-height:320px}
}

/* Mobile */
@media (max-width:760px){
  .hh-hero--v12 .hh-hero__inner{padding:18px 0 84px;gap:18px}
  .hh-hero--v12 .hh-hero__scrim{background:linear-gradient(180deg, rgba(8,12,18,.55) 0%, rgba(8,12,18,.28) 30%, rgba(8,12,18,.45) 66%, rgba(8,12,18,.82) 100%)}
  .hh-hero--v12 .hh-hero__bar{gap:12px}
  .hh-hero--v12 .hh-logo-img{width:150px;max-height:54px}
  .hh-hero--v12 .hh-hero__contacts{display:none}
  .hh-hero--v12 .hh-burger{display:flex;margin-left:auto}
  .hh-hero--v12 .hh-header-special{display:inline-flex}
  .hh-hero--v12 .hh-hero__content h1{font-size:30px}
  .hh-hero--v12 .hh-hero__content p{font-size:16px}
  .hh-hero--v12 .hh-hero__actions .hh-btn{width:100%}
  .hh-founder--overlap{margin-top:-46px}
  /* Mobile nav as a dropdown panel below the hero bar */
  .hh-hero--v12 .hh-nav{position:fixed;top:72px;left:0;right:0;flex-direction:column;flex-wrap:nowrap;gap:0;border:none;padding:0;background:#fff;z-index:120;max-height:0;overflow:hidden;transition:max-height .3s ease;box-shadow:0 8px 24px rgba(16,24,40,.14)}
  .hh-hero--v12 .hh-nav.is-open{max-height:85vh;border-bottom:1px solid var(--line)}
  .hh-hero--v12 .hh-nav a,
  .hh-hero--v12 .hh-nav a.hh-nav__2{color:var(--text);text-shadow:none;border-bottom:1px solid var(--line);padding:13px 24px;font-size:15px;font-weight:700;width:100%}
  .hh-hero--v12 .hh-nav a:last-child{border-bottom:none;padding-bottom:18px}
  .hh-hero--v12 .hh-nav a:hover{color:var(--orange);border-bottom-color:var(--line)}
}
