/* =========
   HandyHawks v1 Design System (edited)
   ========= */

:root{
  --bg: #0b0d10;
  --surface: #11151b;
  --card: #0f141a;
  --text: #e9eef6;
  --muted: rgba(233,238,246,.72);
  --line: rgba(233,238,246,.12);
  --accent: #ff7a00;
  --accent2: #ff9a3d;

  --page: #0b0d10;
  --page2: #0d1016;

  --shadow: 0 14px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 24px;

  --container: 1120px;
}

*{box-sizing:border-box; margin:0; padding:0}
html{scroll-behavior:smooth}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1200px 700px at 15% 10%, rgba(255,122,0,.12), transparent 55%),
              radial-gradient(900px 600px at 85% 20%, rgba(255,154,61,.08), transparent 55%),
              linear-gradient(180deg, var(--page), var(--page2));
  color: var(--text);
  line-height: 1.55;
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
p{color:var(--muted)}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* ===== Header ===== */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11,13,16,.78);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  height: 72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 800;
  letter-spacing: .3px;
}

.brand__name{font-size: 18px}
.brand__name span{color: var(--accent)}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}
.nav a{
  font-size: 14px;
  color: rgba(233,238,246,.86);
}
.nav a:hover{color: #fff}

.nav .active{color: var(--accent); font-weight: 650}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 11px 16px;
  border-radius: 999px;
  border:1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor:pointer;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
}
.btn:active{transform: translateY(1px)}
.btn--primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #111;
}
.btn--primary:hover{filter: brightness(1.03)}
.btn--ghost{
  background: rgba(255,255,255,.04);
  border-color: var(--line);
  color: rgba(233,238,246,.92);
}
.btn--ghost:hover{background: rgba(255,255,255,.07)}

.header__cta{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Mobile nav */
.burger{
  display:none;
  width:44px; height:44px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  cursor:pointer;
}
.burger span{
  display:block;
  width:20px; height:2px;
  background: rgba(233,238,246,.88);
  margin: 6px auto;
  border-radius: 999px;
}

.mobilepanel{
  display:none;
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
}
.mobilepanel a{
  display:block;
  padding: 12px 6px;
  border-radius: 12px;
  color: rgba(233,238,246,.9);
}
.mobilepanel a:hover{background: rgba(255,255,255,.04)}
.mobilepanel .btn{width:100%; margin-top:10px}

/* ===== Sections ===== */
.section{padding: 54px 0}
.section--tight{padding: 34px 0}
.section__title{
  font-size: 28px;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.section__lead{
  max-width: 720px;
  font-size: 15px;
}

/* ===== Hero ===== */
.hero{padding: 64px 0 18px}

.hero__grid{
  display:grid;
  gap: 26px;
  align-items:center;
  grid-template-columns: 1.2fr .8fr;
}
.hero__kicker{
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero__h1{
  font-size: 44px;
  letter-spacing: -1px;
  line-height: 1.08;
  margin-bottom: 12px;
}
.hero__p{font-size: 16px; max-width: 640px}
.hero__actions{display:flex; gap: 12px; flex-wrap: wrap; margin-top: 18px}

.hero__card{
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}
.ph{
  border-radius: 16px;
  border: 1px dashed rgba(233,238,246,.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  height: 260px;
}
.ph__cap{
  padding-top: 10px;
  font-size: 13px;
  color: rgba(233,238,246,.6);
}

.hero__trust{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.pill{
  border: none;
  background: rgba(255,255,255,.04);
}

@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr}
  .hero__h1{font-size: 38px}
}
@media (max-width: 520px){
  .hero__h1{font-size: 32px}
  .ph{height: 210px}
}

/* ===== Cards / Grid ===== */
.grid{
  display:grid;
  gap: 14px;
}
.grid--3{grid-template-columns: repeat(3, minmax(0,1fr))}
.grid--2{grid-template-columns: repeat(2, minmax(0,1fr))}
@media (max-width: 920px){.grid--3{grid-template-columns: repeat(2, minmax(0,1fr))}}
@media (max-width: 620px){.grid--3,.grid--2{grid-template-columns: 1fr}}

.card{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.card h3{
  font-size: 16px;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}
.card p{font-size: 14px}

.card--click:hover{
  border-color: rgba(255,122,0,.35);
  transform: translateY(-1px);
  transition: transform .12s ease, border-color .12s ease;
}

/* ===== Split block ===== */
.split{
  display:grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  align-items:start;
}
@media (max-width: 860px){.split{grid-template-columns: 1fr}}

.list{
  display:grid;
  gap: 10px;
  margin-top: 10px;
}
.list li{
  list-style:none;
  padding-left: 16px;
  position: relative;
  color: rgba(233,238,246,.82);
  font-size: 14px;
}
.list li::before{
  content:"";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  position:absolute;
  left: 0; top: 8px;
}

/* ===== Footer ===== */
.footer{
  border-top: 1px solid var(--line);
  padding: 30px 0 42px;
  margin-top: 42px;
}
.footer__row{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items:center;
  justify-content:space-between;
}
.footer small{color: rgba(233,238,246,.6)}
.footer a{color: rgba(233,238,246,.85)}
.footer a:hover{color:#fff}

/* ===== Page header ===== */
.pagehead{padding: 44px 0 18px}
.pagehead h1{font-size: 34px; letter-spacing: -0.7px}
.pagehead p{max-width: 820px; margin-top: 10px}

/* ===== Form ===== */
.form{
  display:grid;
  gap: 12px;
  margin-top: 14px;
}
.field label{
  display:block;
  font-size: 13px;
  font-weight: 750;
  color: rgba(233,238,246,.9);
  margin-bottom: 6px;
}
.field input, .field textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--text);
  outline: none;
}
.field textarea{min-height: 130px; resize: vertical}
.field input:focus, .field textarea:focus{
  border-color: rgba(255,122,0,.45);
}
.field select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--text);
  outline: none;
}
.field select:focus{
  border-color: rgba(255,122,0,.45);
}

/* ===== Dropdown (desktop) ===== */
.dropdown{position:relative}
.dropdown__btn{
  display:inline-flex; align-items:center; gap:8px;
  font-size:14px; color:rgba(233,238,246,.86);
  padding:10px 10px;
  border-radius:12px;
}
.dropdown__btn:hover{color:#fff; background:rgba(255,255,255,.04)}
.dropdown__menu{
  position:absolute;
  top: 44px;
  left: 0;
  min-width: 260px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(17,21,27,.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display:none;
}
.dropdown:hover .dropdown__menu{display:block}
.dropdown__menu a{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(233,238,246,.9);
}
.dropdown__menu a:hover{background: rgba(255,255,255,.05)}
@media (max-width: 860px){
  .dropdown{display:none}
}

/* ===== Hero slider (manual, no autoplay) ===== */
.slider{ position: relative; }
.slider__viewport{
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.slider__track{
  display: flex;
  transition: transform .25s ease;
  will-change: transform;
}
.slider__slide{ min-width: 100%; }
.slider__img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.slider__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(233,238,246,.16);
  color: rgba(233,238,246,.95);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  user-select: none;
}
.slider__btn:hover{ background: rgba(0,0,0,.5); }
.slider__btn--prev{ left: 10px; }
.slider__btn--next{ right: 10px; }

.slider__dots{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}
.slider__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(233,238,246,.22);
  background: rgba(233,238,246,.12);
  cursor: pointer;
}
.slider__dot.is-active{
  background: var(--accent);
  border-color: rgba(255,122,0,.55);
}

@media (max-width: 520px){
  .slider__img{ height: 210px; }
  .slider__btn{ width: 40px; height: 40px; }
}

.card__img{
  width:100%;
  height:130px;
  object-fit:cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 12px;
  display:block;
}

/* ===== Brand (Text Logo) ===== */
.brand--text{ gap: 0; }

.brand__text{
  display:flex;
  flex-direction:column;
  line-height: 1.05;
}

.brand__top{
  display:inline-flex;
  align-items:baseline;
  letter-spacing: .6px;
  font-weight: 900;
  font-size: 18px;
}

.brand__handy{ color: #fff; }
.brand__hawks{ color: var(--accent); }

.brand__sub{
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(233,238,246,.65);
}

@media (max-width: 420px){
  .brand__top{font-size: 16px}
  .brand__sub{font-size: 10px}
}

.ico{ font-size: 16px; line-height: 1; }

/* ===== Mobile header behavior (clean, single source of truth) ===== */
@media (max-width: 860px){
  .nav, .header__cta .btn--ghost{display:none}
  .burger{display:block}

  .header__cta .btn--call{
    display:inline-flex;
    padding: 10px 12px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    justify-content:center;
  }
  .header__cta .btn--estimate{
    padding: 10px 12px;
    font-size: 13px;
  }

  .mobilepanel{
    display:none;
    margin-top: 12px;
  }
  .mobilepanel.is-open{
    display:flex;
    flex-direction:column;
    gap:10px;
  }
}

.btn--call .ico{ display:none; }
.btn--call .call__text{ display:inline; }

@media (max-width: 860px){
  .btn--call{
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }
  .btn--call .ico{ display:inline; font-size: 16px; }
  .btn--call .call__text{ display:none; }
}

/* ===== Service pages: photo strip (NOT cards) ===== */
.service-gallery{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.sg{
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.sg img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
}
.sg figcaption{
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(233,238,246,.65);
  border-top: 1px solid var(--line);
}
@media (max-width: 920px){
  .service-gallery{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px){
  .service-gallery{ grid-template-columns: 1fr; }
  .sg img{ height: 210px; }
}

/* ===== Projects page header row ===== */
.projhead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}

/* ===== Projects: big slider (stable on all screen sizes) ===== */
.pslider{ position:relative; }

/* Keep arrows visible above track */
.pslider__btn{ z-index: 2; }

.pslider__track{
  display:flex;
  gap: 14px;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  align-items: stretch;
  cursor: auto;

  /* subtle left/right padding so first/last slide isn't glued to edge */
  padding-left: 6px;
  padding-right: 6px;
}

.pslider__track::-webkit-scrollbar{height:10px}
.pslider__track::-webkit-scrollbar-thumb{
  background: rgba(233,238,246,.16);
  border-radius:999px
}

/* ✅ Slides: same height, natural width by image aspect ratio (NO cropping) */
.pslide{
  flex: 0 0 auto;
  scroll-snap-align: start;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);

  height: clamp(220px, 28vw, 360px);

  display: flex;
  align-items: center;
  justify-content: center;

  max-width: 92vw;
  padding: 0;
}

/* Give images a tiny "breathing room" without changing proportions */
.pslide img{
  height: 100%;
  width: auto;
  max-width: min(900px, 92vw);

  display: block;
  object-fit: contain;
  object-position: center;

  cursor: pointer; /* clickable to open lightbox */
}

/* Drag UX */
.pslider__track.is-dragging{
  cursor: grabbing;
}
/* ✅ REMOVED pointer-events:none (it can "stick" and kill all clicks) */

.pslider__btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(11,13,16,.75);
  color: rgba(233,238,246,.9);
  font-size: 28px;
  line-height: 1;
  display:grid;
  place-items:center;
  cursor:pointer;
  backdrop-filter: blur(10px);
}
.pslider__btn:hover{background: rgba(255,255,255,.06)}
.pslider__btn--prev{left: 10px}
.pslider__btn--next{right: 10px}

/* Hide arrows on small screens (you swipe/drag anyway) */
@media (max-width: 620px){
  .pslider__btn{display:none;}
}

/* ===== Lightbox (fullscreen photo viewer) ===== */
.lightbox{
  --lb-pad: 18px;
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--lb-pad);
  background: rgba(0,0,0,.78);
  z-index: 9999;
  overflow: hidden;
  overscroll-behavior: contain;
}
.lightbox.is-open{ display:flex; }

.lightbox__stage{
  position: relative;
  width: 94vw;
  height: 92vh;
  max-width: 1100px;
  max-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.lightbox__img{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;.rw__media
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(17,21,27,.92);
}

.lightbox__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11,13,16,.72);
  color: rgba(233,238,246,.92);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
}
.lightbox__close:hover{ background: rgba(255,255,255,.06); }

.lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(11,13,16,.72);
  color: rgba(233,238,246,.92);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
}
.lightbox__nav:hover{ background: rgba(255,255,255,.06); }
.lightbox__nav--prev{ left: 10px; }
.lightbox__nav--next{ right: 10px; }

@media (max-width: 620px){
  .lightbox{ --lb-pad: 12px; }
  .lightbox__nav{ display:none; }
}

/* ===== Scroll to top button ===== */
.scrolltop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(11,13,16,.85);
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
  z-index: 80;
}
.scrolltop:hover{ background: rgba(255,255,255,.06); }

.scrolltop.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
@media (max-width: 620px){
  .scrolltop{
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}

/* ===== Recent Work feed ===== */
.rw{ display:grid; gap: 16px; }

.rw__item{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  align-items: start; /* ← КЛЮЧ */
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}


/* ✅ Stable media: no tall cards for vertical photos */
.rw__media{
  display:block;
  position:relative;
  background: rgba(255,255,255,.03);
  overflow: hidden;

  /* Use ratio to keep feed consistent */
  aspect-ratio: 16 / 10;
  min-height: unset;
}
.rw__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  display:block;
}

.rw__content{
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.rw__meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  font-size: 13px;
  color: rgba(233,238,246,.68);
}

.rw__tag{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: rgba(233,238,246,.85);
}

.rw__dot{ opacity:.5; }

.rw__title{
  font-size: 22px;
  letter-spacing: -0.4px;
  line-height: 1.15;
}
.rw__subtitle{ color: rgba(233,238,246,.78); }
.rw__desc{ color: rgba(233,238,246,.68); }

.rw__actions{
  margin-top: auto;
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
}

@media (max-width: 860px){
  .rw__item{ grid-template-columns: 1fr; }
  .rw__media{ aspect-ratio: 16 / 9; }
}

/* ===== Projects jump navigation ===== */
.jumpnav{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.jumpnav__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(233,238,246,.16);
  background: rgba(255,255,255,.04);
  color: rgba(233,238,246,.9);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer; /* they are buttons on recent-work */
}
.jumpnav__link:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,122,0,.35);
}

/* Anchor offset for sticky header (reliable) */
html{ scroll-padding-top: 96px; }
[id]{ scroll-margin-top: 96px; }

/* optional: prevent accidental image dragging/selecting */
.pslider__track img{
  user-select: none;
  -webkit-user-drag: none;
}

.jumpnav__link.is-active{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,122,0,.45);
  color: #fff;
}

.rw__titlelink{
  color: inherit;
  text-decoration: none;
}
.rw__titlelink:hover{
  text-decoration: underline;
  text-decoration-color: rgba(255,122,0,.55);
  text-underline-offset: 4px;
}

.rw__meta-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}

.rw__open{
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(233,238,246,.16);
  background: rgba(255,255,255,.04);
  display:grid;
  place-items:center;
  color: rgba(233,238,246,.92);
  font-weight: 900;
  line-height: 1;
}

.rw__open:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,122,0,.35);
}

/* ===== Project page: hero photo in split ===== */
.split--project{
  align-items: stretch; /* Scope and Hero same height */
}

.phero{
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Fixed “card-size” hero image (fills the space, no empty bars) */
.phero img{
  width: 100%;
  height: clamp(240px, 30vw, 420px);
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Caption stays below the image */
.phero__cap{
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(233,238,246,.65);
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}

@media (max-width: 860px){
  .phero img{
    height: clamp(200px, 44vw, 280px);
  }
}

/* ===== Project page: highlights / facts / FAQ / prev-next ===== */
.kicker{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(233,238,246,.62);
  margin-bottom: 8px;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 10px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(233,238,246,.14);
  background: rgba(255,255,255,.03);
  color: rgba(233,238,246,.86);
  font-size: 13px;
  font-weight: 650;
}

.facts{
  display:grid;
  gap: 10px;
  margin-top: 10px;
}
.fact{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(233,238,246,.10);
  background: rgba(0,0,0,.10);
}
.fact__label{
  min-width: 132px;
  font-size: 13px;
  color: rgba(233,238,246,.62);
}
.fact__value{
  font-size: 13px;
  color: rgba(233,238,246,.88);
}

.faq{
  display:grid;
  gap: 10px;
  margin-top: 10px;
}
.faq details{
  border-radius: 18px;
  border: 1px solid rgba(233,238,246,.12);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.faq summary{
  list-style:none;
  cursor:pointer;
  padding: 12px 14px;
  font-weight: 750;
  color: rgba(233,238,246,.92);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq details[open] summary{
  border-bottom: 1px solid rgba(233,238,246,.10);
}
.faq .faq__body{
  padding: 12px 14px 14px;
  color: rgba(233,238,246,.72);
  font-size: 14px;
}

.projnav{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:stretch;
}
.projnav a{
  flex: 1 1 260px;
  display:block;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(233,238,246,.12);
  background: rgba(255,255,255,.03);
}
.projnav a:hover{
  border-color: rgba(255,122,0,.35);
  background: rgba(255,255,255,.05);
}
.projnav__k{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(233,238,246,.58);
}
.projnav__t{
  margin-top: 6px;
  font-size: 16px;
  font-weight: 850;
  color: rgba(233,238,246,.92);
}
.projnav__m{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(233,238,246,.70);
}
/* =========================
   Bathroom service page — restyle to match site
   ========================= */

.svc-hero{
  padding: 58px 0 18px;
}
.svc-hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: center;
}

.svc-hero__copy{
  padding: 0;
}

.svc-hero__kicker{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(233,238,246,.68);
  margin: 0 0 10px;
}
.svc-hero__h1{
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.06;
  margin: 0 0 12px;
}
.svc-hero__sub{
  margin: 0 0 16px;
  color: rgba(233,238,246,.72);
  font-size: 16px;
  line-height: 1.55;
  max-width: 52ch;
}

.svc-hero__cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 14px;
}

.svc-hero__trust{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.svc-hero__trust .pill{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(233,238,246,.10);
  color: rgba(233,238,246,.78);
}

.svc-hero__media{
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(233,238,246,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 18px 48px rgba(0,0,0,.38);
}
.svc-hero__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  aspect-ratio: 16 / 11;
}

/* Typography */
.svc-h2{ margin: 0 0 10px; }
.svc-h3{ margin: 0 0 10px; color: rgba(233,238,246,.92); }
.svc-lead{
  margin: 0 0 14px;
  color: rgba(233,238,246,.70);
  line-height: 1.6;
}

/* Local trust becomes a slim line (less “boxy”) */
.card.card--soft{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(233,238,246,.10);
  box-shadow: none;
}
.svc-local{
  margin:0;
  color: rgba(233,238,246,.78);
}

/* Gallery look */
.ba-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.ba-card{
  margin:0;
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(233,238,246,.10);
  background: rgba(255,255,255,.03);
  transition: transform .15s ease, border-color .15s ease;
}
.ba-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
}
.ba-card__img img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.ba-card__cap{
  padding: 12px 12px 14px;
  font-size: 13px;
  color: rgba(233,238,246,.72);
  line-height: 1.45;
}

/* Split blocks feel less heavy */
.svc-split{
  align-items: stretch;
}
.svc-list,
.svc-bullets,
.svc-process{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(233,238,246,.82);
}
.svc-list li,
.svc-bullets li{ margin: 7px 0; }
.svc-process li{ margin: 10px 0; }

.svc-facts{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(233,238,246,.82);
  columns: 2;
  column-gap: 26px;
}
.svc-facts li{
  margin: 8px 0;
  break-inside: avoid;
}

/* Proof block — more subtle */
.svc-proof{
  display:flex;
  gap: 12px;
  align-items:center;
}
.svc-proof__sub{
  font-size: 13px;
  color: rgba(233,238,246,.62);
  margin-top: 2px;
}

/* Final CTA — like a premium panel */
.svc-final{
  padding: 38px 0 22px;
}
.svc-final__inner{
  border: 1px solid rgba(233,238,246,.12);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 22px;
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.svc-final__p{
  margin: 0 0 14px;
  color: rgba(233,238,246,.72);
  line-height: 1.6;
}

/* Mobile sticky CTA — clean */
.svc-sticky{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display:none;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(10,10,14,.78);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(233,238,246,.10);
  z-index: 999;
}
.svc-sticky__btn{
  flex: 1;
  text-align:center;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration:none;
  border: 1px solid rgba(233,238,246,.14);
}
.svc-sticky__btn--primary{
  background: var(--accent);
  color: #0b0d10;
  border-color: transparent;
}
.svc-sticky__btn--ghost{
  background: rgba(255,255,255,.06);
  color: rgba(233,238,246,.92);
}

@media (max-width: 980px){
  .svc-hero__grid{ grid-template-columns: 1fr; }
  .ba-grid{ grid-template-columns: 1fr; }
  .svc-facts{ columns: 1; }
}

@media (max-width: 620px){
  .svc-hero{ padding-top: 44px; }
  .svc-sticky{ display:flex; }
  body{ padding-bottom: 62px; }
}
.inline-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.inline-link:hover {
  text-decoration: underline;
}
/* Make image wrapper button look like a normal block */
.ba-card__img{
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

/* optional: hover hint */
.ba-card__img:hover img{
  transform: scale(1.01);
}
.ba-card__img img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .18s ease;
}

/* ===== Lightbox (dialog) ===== */
.lb{
  border: 0;
  padding: 0;
  width: min(1100px, calc(100vw - 32px));
  background: rgba(17,21,27,.92);
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

.lb::backdrop{
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
}

.lb__figure{
  margin: 0;
}

.lb__img{
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
  object-fit: contain;
  background: #000;
}

.lb__cap{
  padding: 12px 14px;
  font-size: 14px;
  color: rgba(233,238,246,.78);
  border-top: 1px solid rgba(233,238,246,.10);
}

.lb__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(233,238,246,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.lb__close:hover{
  background: rgba(0,0,0,.55);
}
.trust-google--compact{
  padding: 14px 16px;
}

.trust-google__grid{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items:center;
}

.trust-google__left{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap: 10px;
  min-width: 0;
}

.trust-google__icon{
  font-size: 18px;
  line-height: 1;
}

.trust-google__title{
  font-weight: 850;
  letter-spacing: -0.2px;
  color: rgba(233,238,246,.95);
}

.trust-google__sep{
  color: rgba(233,238,246,.35);
}

.trust-google__meta{
  color: rgba(233,238,246,.72);
  font-size: 14px;
  white-space: nowrap;
}

.trust-google__meta strong{
  color: rgba(233,238,246,.95);
}

.trust-google__actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* Mobile */
@media (max-width: 620px){
  .trust-google__grid{
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .trust-google__actions{
    justify-content: flex-start;
  }

  .trust-google__actions .btn{
    width: 100%;
  }
}

/* ✅ keep it aligned with the site container */
.trust-google{
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.svc-form h3{
  margin-bottom: 4px;
}

.svc-form__sub{
  font-size: 13px;
  color: rgba(233,238,246,.65);
  margin-bottom: 10px;
}

.svc-form__grid{
  display:grid;
  gap:10px;
}

.svc-form__grid input{
  width:100%;
  padding:12px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  color:var(--text);
}
.svc-pricegrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
@media (max-width: 900px){
  .svc-pricegrid{ grid-template-columns:1fr; }
}
.svc-pricecard{
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:14px;
  background:rgba(255,255,255,.03);
}
.svc-price{ margin:8px 0 0; font-size:1.05rem; }

.svc-note{ margin-top:10px; opacity:.8; }

.svc-hr{
  border:0;
  height:1px;
  background:rgba(255,255,255,.08);
  margin:16px 0;
}

.svc-faq{
  border-top:1px solid rgba(255,255,255,.08);
  padding:10px 0;
}
.svc-faq summary{
  cursor:pointer;
  font-weight:700;
}
.svc-faq p{ margin:8px 0 0; opacity:.9; }
.svc-cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0 6px;
}
.svc-pricing-layout--3{
  display:grid;
  grid-template-columns: 1fr 1.2fr .9fr; /* центр шире */
  gap:16px;
  margin-top:14px;
  align-items:start;
}

@media (max-width: 900px){
  .svc-pricing-layout--3{
    grid-template-columns: 1fr;
  }
}

.svc-pricing-box{
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:14px;
  background:rgba(255,255,255,.03);
}

.svc-pricing-box--main{
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.12);
}
/* pricing columns - plain text (no card look) */
.svc-pricing-plain{
  border:0;
  background:transparent;
  padding:0;
  border-radius:0;
}

.svc-pricing-plain--muted{
  opacity:.9;
}

/* optional: make the right column slightly smaller text */
.svc-pricing-col--right .svc-note{
  font-size: .95rem;
}
.svc-cta-row--left{
  justify-content:flex-start;
  margin-top:14px;
  margin-bottom:0;
}
.svc-pricing-col--right{
  opacity:.92;
}
.svc-pricing-col--right .svc-note{
  line-height:1.45;
}
.cookiebar{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}

.cookiebar__inner{
  max-width: var(--container);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(18,20,24,.92);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 14px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookiebar__text{
  margin: 0;
  font-size: 14px;
  color: rgba(233,238,246,.85);
}

.cookiebar__text a{
  color: rgba(255,255,255,.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookiebar__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 640px){
  .cookiebar__inner{
    flex-direction: column;
    align-items: stretch;
  }
  .cookiebar__actions{
    justify-content: stretch;
  }
  .cookiebar__btn{
    width: 100%;
  }
}
