/* ART-STROY Dark Elegance v4 — public-site visual system */
body.as-public {
 --as-bg:#17181b; --as-deep:#131518; --as-panel:#1e2024;
 --as-card:#222429; --as-raised:#282a2f; --as-line:rgba(232,226,215,.14);
 --as-text:#eeece6; --as-muted:#b7b4ad; --as-bronze:#b69a70;
 background:var(--as-bg)!important; color:var(--as-text)!important;
}
body.as-public, body.as-public .body-inner {background:var(--as-bg)!important;color:var(--as-text)!important}
body.as-public p,body.as-public li,body.as-public label{color:var(--as-muted)}
body.as-public h1,body.as-public h2,body.as-public h3,body.as-public h4,body.as-public h5,body.as-public h6{color:var(--as-text)}
body.as-public #top-bar,body.as-public .top-bar{background:#141619!important;border-color:var(--as-line)!important}
body.as-public #header,body.as-public .header,body.as-public .header-one,body.as-public .site-navigation,body.as-public .navbar,
body.as-public #header .bg-white,body.as-public .header .bg-white,body.as-public .bg-white{
 background:#1d1e22!important;color:var(--as-text)!important
}
body.as-public .navbar a,body.as-public .site-navigation a,body.as-public .nav-link{color:#e8e5de!important}
body.as-public .dropdown-menu{background:#222429!important;border:1px solid var(--as-line)!important;border-radius:10px}
body.as-public .dropdown-menu a{color:var(--as-text)!important}
body.as-public section.content,body.as-public section.banner-area{background-color:var(--as-bg)}
body.as-public .solid-bg,body.as-public .gray-bg,body.as-public .bg-gray{background:#1c1e22!important}
body.as-public .column-title,body.as-public .widget-title{color:var(--as-text)!important}
body.as-public .text-primary,body.as-public .section-sub-title{color:var(--as-bronze)!important}

/* Exact homepage components — no more white inline cards */
body.as-public .as-home-intro-card,
body.as-public .as-service-direction-card{
 background:#222429!important;color:var(--as-text)!important;
 border:1px solid var(--as-line)!important;border-left:4px solid var(--as-bronze)!important;
 border-radius:12px!important;box-shadow:0 18px 42px rgba(0,0,0,.22)!important;
}
body.as-public .as-home-intro-card h2,
body.as-public .as-home-intro-card p,
body.as-public .as-home-intro-card span,
body.as-public .as-service-direction-card h3,
body.as-public .as-service-direction-card p,
body.as-public .as-service-direction-card a,
body.as-public .as-service-direction-card span{color:var(--as-text)!important}
body.as-public .as-home-intro-card p,
body.as-public .as-service-direction-card p{color:var(--as-muted)!important}
body.as-public .as-service-direction-card{transition:transform .2s ease,border-color .2s ease}
body.as-public .as-service-direction-card:hover{transform:translateY(-3px);border-color:rgba(182,154,112,.55)!important}

/* Every hardcoded white surface inside public pages */
body.as-public [style*="background:#eeece6"],
body.as-public [style*="background: #eeece6"],
body.as-public [style*="background:#fff"],
body.as-public [style*="background: #fff"],
body.as-public [style*="background:#ffffff"],
body.as-public [style*="background: #ffffff"],
body.as-public [style*="background:white"],
body.as-public [style*="background: white"]{background:#222429!important;color:var(--as-text)!important}
body.as-public [style*="background-color:#fff"],
body.as-public [style*="background-color: #fff"]{background:#222429!important;color:var(--as-text)!important}

/* Keep inline dark blocks, but harmonize them */
body.as-public [style*="background:#1a1c20"],
body.as-public [style*="background: #1a1c20"]{background:#1b1c20!important}
body.as-public [style*="color:#222"],
body.as-public [style*="color: #222"],
body.as-public [style*="color:#333"],
body.as-public [style*="color: #333"],
body.as-public [style*="color:#000"],
body.as-public [style*="color: #000"]{color:var(--as-text)!important}

/* Shared cards, content blocks and forms */
body.as-public .service-box,body.as-public .service-item,body.as-public .service-card,
body.as-public .project-item,body.as-public .feature-box,body.as-public .post,
body.as-public .article-card,body.as-public .review-card,body.as-public .contact-info-card,
body.as-public .faq-item,body.as-public .card{
 background:#222429!important;color:var(--as-muted)!important;
 border:1px solid var(--as-line)!important;border-radius:12px!important
}
body.as-public .card-title,body.as-public .service-box h3,body.as-public .service-item h3,
body.as-public .service-card h3{color:var(--as-text)!important}
body.as-public input,body.as-public select,body.as-public textarea,body.as-public .form-control{
 background:#1e2024!important;color:var(--as-text)!important;border:1px solid var(--as-line)!important;border-radius:8px!important
}
body.as-public input::placeholder,body.as-public textarea::placeholder{color:#92918b!important}
body.as-public input:focus,body.as-public select:focus,body.as-public textarea:focus{border-color:var(--as-bronze)!important;box-shadow:0 0 0 3px rgba(182,154,112,.13)!important}

/* Buttons */
body.as-public .btn,body.as-public .btn-primary,body.as-public a.btn,body.as-public button.btn{
 background:var(--as-bronze)!important;border:1px solid var(--as-bronze)!important;color:#17181b!important;
 border-radius:8px!important;box-shadow:none!important
}
body.as-public .btn:hover,body.as-public .btn-primary:hover,body.as-public a.btn:hover{background:#c5aa82!important;border-color:#c5aa82!important;color:#17181b!important}

/* Footer and readable schedule */
body.as-public .footer{background:#111316!important;color:var(--as-muted)!important}
body.as-public .footer h3,body.as-public .footer .widget-title{color:var(--as-text)!important}
body.as-public .copyright{background:#1c1e22!important;color:var(--as-muted)!important;border-top:1px solid var(--as-line)}
body.as-public .working-hours-list{display:flex;flex-direction:column;gap:0;margin:0;padding:0;list-style:none}
body.as-public .working-hours-list li{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:9px 0!important;border-bottom:1px solid var(--as-line);list-style:none}
body.as-public .working-hours-list .as-day{color:#dedbd4!important;white-space:normal}
body.as-public .working-hours-list .as-hours{min-width:108px;text-align:right;color:var(--as-bronze)!important;white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}
body.as-public .working-hours-list .is-day-off .as-hours{color:var(--as-muted)!important}
@media(max-width:767px){body.as-public .working-hours-list li{gap:10px;font-size:13px}body.as-public .working-hours-list .as-hours{min-width:95px}}


/* v6 — direct fixes based on the supplied source HTML */
body.as-public #header,
body.as-public #header *,
body.as-public .header,
body.as-public .header *,
body.as-public .top-bar,
body.as-public .top-bar * {
  color: #eeece6 !important;
}
body.as-public #header a,
body.as-public .header a,
body.as-public .top-bar a { color: #eeece6 !important; }
body.as-public .banner-area,
body.as-public section.content { color: #eeece6; }
body.as-public .banner-area p,
body.as-public section.content p { color: #b7b4ad; }
body.as-public .banner-area h1,
body.as-public section.content h2,
body.as-public section.content h3 { color: #eeece6 !important; }

/* The homepage cards now have dark inline backgrounds in index.html.
   These rules cover their descendants and the FAQ/review/process panels. */
body.as-public section.content [style*="background:#222429"],
body.as-public section.content [style*="background:#282a2f"] {
  color: #eeece6 !important;
  border-color: rgba(232,226,215,.14) !important;
}
body.as-public section.content [style*="background:#222429"] p,
body.as-public section.content [style*="background:#282a2f"] p {
  color: #b7b4ad !important;
}
body.as-public section.content [style*="background:#222429"] h2,
body.as-public section.content [style*="background:#222429"] h3,
body.as-public section.content [style*="background:#282a2f"] h2,
body.as-public section.content [style*="background:#282a2f"] h3 {
  color: #eeece6 !important;
}


/* ART-STROY Dark Elegance v8 — one neutral graphite palette */
body.as-public {
  --as-bg: #18191c;
  --as-deep: #141518;
  --as-panel: #202226;
  --as-card: #25272b;
  --as-raised: #2b2d31;
  --as-line: rgba(238,236,230,.12);
  --as-text: #eeece6;
  --as-muted: #b7b4ad;
  --as-bronze: #b69a70;
  background: var(--as-bg) !important;
  color: var(--as-text) !important;
}
body.as-public,
body.as-public .body-inner,
body.as-public main,
body.as-public section,
body.as-public section.content,
body.as-public .content,
body.as-public .banner-area,
body.as-public .solid-bg,
body.as-public .gray-bg,
body.as-public .bg-gray {
  background-color: var(--as-bg) !important;
  color: var(--as-text);
}
body.as-public .banner-area { background-color: #1b1c20 !important; }
body.as-public .footer,
body.as-public footer,
body.as-public .footer-main {
  background: #141518 !important;
  color: var(--as-muted) !important;
}
body.as-public .copyright,
body.as-public .copyright-bar {
  background: #1d1f23 !important;
  color: var(--as-muted) !important;
  border-top: 1px solid var(--as-line) !important;
}
body.as-public .as-home-intro-card,
body.as-public .as-service-direction-card,
body.as-public .service-box,
body.as-public .service-item,
body.as-public .service-card,
body.as-public .project-item,
body.as-public .feature-box,
body.as-public .post,
body.as-public .article-card,
body.as-public .review-card,
body.as-public .contact-info-card,
body.as-public .faq-item,
body.as-public .card {
  background: var(--as-card) !important;
  color: var(--as-muted) !important;
  border-color: var(--as-line) !important;
}
body.as-public .as-home-intro-card h1,
body.as-public .as-home-intro-card h2,
body.as-public .as-home-intro-card h3,
body.as-public .as-home-intro-card strong,
body.as-public .as-service-direction-card h1,
body.as-public .as-service-direction-card h2,
body.as-public .as-service-direction-card h3,
body.as-public .as-service-direction-card strong,
body.as-public .card h1,
body.as-public .card h2,
body.as-public .card h3,
body.as-public .card-title {
  color: var(--as-text) !important;
}
body.as-public p,
body.as-public li,
body.as-public label,
body.as-public .as-home-intro-card p,
body.as-public .as-service-direction-card p {
  color: var(--as-muted);
}
body.as-public .text-primary,
body.as-public .section-sub-title,
body.as-public .as-eyebrow {
  color: var(--as-bronze) !important;
}
body.as-public .btn,
body.as-public .btn-primary,
body.as-public a.btn,
body.as-public button.btn {
  background: var(--as-bronze) !important;
  border-color: var(--as-bronze) !important;
  color: #17181b !important;
}
body.as-public .top-info,
body.as-public .top-info a,
body.as-public .header,
body.as-public .header a,
body.as-public .header .top-info,
body.as-public .header .top-info a {
  color: var(--as-text) !important;
}
/* Catch any remaining inline light surfaces without changing images. */
body.as-public [style*="background:#fff"],
body.as-public [style*="background: #fff"],
body.as-public [style*="background:#ffffff"],
body.as-public [style*="background: #ffffff"],
body.as-public [style*="background:#f3f3f3"],
body.as-public [style*="background: #f3f3f3"],
body.as-public [style*="background:#f7f7f7"],
body.as-public [style*="background: #f7f7f7"] {
  background: var(--as-card) !important;
  color: var(--as-text) !important;
}




/* ART-STROY v10 — one uniform near-black canvas, separation by structure */
body.as-public,
body.as-public main,
body.as-public section,
body.as-public section.content,
body.as-public section.banner-area,
body.as-public .content-area,
body.as-public .site-content,
body.as-public .footer,
body.as-public footer,
body.as-public .footer-main {
  background-color: #111316 !important;
  background-image: none !important;
}

/* Separate page sections without alternating background colors */
body.as-public section.content,
body.as-public section.banner-area {
  border-top: 1px solid rgba(238,236,230,.14) !important;
  border-bottom: 1px solid rgba(238,236,230,.08) !important;
  position: relative;
}

/* Cards remain on the same black canvas; outlines and spacing define them */
body.as-public .as-home-intro-card,
body.as-public .as-service-direction-card,
body.as-public .service-box,
body.as-public .service-item,
body.as-public .service-card,
body.as-public .project-item,
body.as-public .feature-box,
body.as-public .post,
body.as-public .article-card,
body.as-public .review-card,
body.as-public .contact-info-card,
body.as-public .faq-item,
body.as-public .card {
  background: transparent !important;
  border: 1px solid rgba(238,236,230,.20) !important;
  box-shadow: none !important;
}

/* Consistent internal spacing makes blocks read as separate units */
body.as-public section.content .container {
  position: relative;
}
body.as-public section.content .container > .row {
  row-gap: 28px;
}
body.as-public .footer,
body.as-public footer,
body.as-public .footer-main {
  border-top: 1px solid rgba(182,154,112,.48) !important;
}
body.as-public .copyright,
body.as-public .copyright-bar {
  background: #111316 !important;
  border-top: 1px solid rgba(238,236,230,.16) !important;
}


/* ART-STROY v11 — remove light panels on every public page */
body.as-public .bg-white,
body.as-public .bg-light,
body.as-public .white-bg,
body.as-public .light-bg,
body.as-public .contact-hours,
body.as-public .working-hours-card,
body.as-public .contact-info,
body.as-public .contact-info-box,
body.as-public .materials-search,
body.as-public .materials-empty,
body.as-public .project-card,
body.as-public .project-content,
body.as-public .project-info,
body.as-public .info-card,
body.as-public .schedule-card {
  background: #111316 !important;
  color: #eeece6 !important;
  border-color: rgba(238,236,230,.18) !important;
  box-shadow: none !important;
}

/* Inline cream / white panels used by older page templates */
body.as-public [style*="background:#f"],
body.as-public [style*="background: #f"],
body.as-public [style*="background-color:#f"],
body.as-public [style*="background-color: #f"],
body.as-public [style*="background:#e"],
body.as-public [style*="background: #e"],
body.as-public [style*="background-color:#e"],
body.as-public [style*="background-color: #e"] {
  background: #111316 !important;
  color: #eeece6 !important;
  border-color: rgba(238,236,230,.18) !important;
  box-shadow: none !important;
}

/* Keep text readable inside former light panels */
body.as-public .bg-white *,
body.as-public .bg-light *,
body.as-public .white-bg *,
body.as-public .light-bg *,
body.as-public .contact-hours *,
body.as-public .working-hours-card *,
body.as-public .materials-search *,
body.as-public .materials-empty *,
body.as-public .project-card *,
body.as-public .project-content *,
body.as-public .project-info *,
body.as-public .info-card *,
body.as-public .schedule-card * {
  color: #b7b4ad !important;
}
body.as-public .bg-white h1,
body.as-public .bg-white h2,
body.as-public .bg-white h3,
body.as-public .bg-light h1,
body.as-public .bg-light h2,
body.as-public .bg-light h3,
body.as-public .project-card h1,
body.as-public .project-card h2,
body.as-public .project-card h3,
body.as-public .materials-empty h1,
body.as-public .materials-empty h2,
body.as-public .materials-empty h3 {
  color: #eeece6 !important;
}

/* Keep the form controls and Cloudflare widget visually distinct */
body.as-public input,
body.as-public select,
body.as-public textarea {
  background: #1e2024 !important;
  color: #eeece6 !important;
}
body.as-public .cf-turnstile {
  background: transparent !important;
}



/* =========================================================
   ART-STROY — RESPONSIVE LAYOUT
   Mobile/tablet adaptation; preserves the existing dark/bronze design.
========================================================= */

/* Prevent accidental horizontal scrolling from decorative elements and long content. */
html,
body.as-public,
body.as-public .body-inner {
  max-width: 100%;
  overflow-x: hidden;
}

body.as-public img,
body.as-public video,
body.as-public iframe {
  max-width: 100%;
}

body.as-public input,
body.as-public select,
body.as-public textarea,
body.as-public button {
  max-width: 100%;
}

/* Tablet and below */
@media (max-width: 991.98px) {
  body.as-public #top-bar .row {
    align-items: center;
  }

  body.as-public #top-bar .top-info {
    margin-bottom: 0;
    text-align: center;
  }

  body.as-public #top-bar .top-social {
    text-align: center !important;
  }

  body.as-public #header .logo-area > .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 14px;
    padding: 18px 0;
  }

  body.as-public #header .logo {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    text-align: center !important;
  }

  body.as-public #header .header-right {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  body.as-public #header .top-info-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 22px;
    margin: 0;
    padding: 0;
  }

  body.as-public #header .top-info-box > li {
    margin: 0;
    min-width: 0;
  }

  body.as-public #header .top-info-box .info-box {
    margin: 0;
  }

  body.as-public #header .top-info-box .info-box-subtitle,
  body.as-public #header .top-info-box .info-box-subtitle a {
    overflow-wrap: anywhere;
  }

  body.as-public .site-navigation .navbar {
    min-height: 54px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  body.as-public .site-navigation .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
    padding: 9px 12px;
    border: 1px solid rgba(238,236,230,.25);
    border-radius: 4px;
    color: #eeece6;
    outline: none;
  }

  body.as-public .site-navigation .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    padding: 8px 0 14px;
  }

  body.as-public .site-navigation .navbar-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }

  body.as-public .site-navigation .navbar-nav > li {
    width: 100%;
    border-top: 1px solid rgba(238,236,230,.09);
  }

  body.as-public .site-navigation .navbar-nav > li > a {
    display: block;
    padding: 12px 8px;
  }

  body.as-public .site-navigation .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    padding: 4px 0 8px 14px;
    border: 0;
    box-shadow: none;
    background: #191b1e;
  }

  body.as-public .site-navigation .dropdown-menu a {
    display: block;
    padding: 10px 12px;
    white-space: normal;
  }

  body.as-public .nav-search {
    margin-left: auto;
  }

  body.as-public .search-block {
    z-index: 1005;
    max-width: calc(100vw - 24px);
  }
}

/* Phones */
@media (max-width: 767.98px) {
  body.as-public .container {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  body.as-public section.content,
  body.as-public section.banner-area {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  body.as-public .banner-area {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  body.as-public .banner-area h1 {
    font-size: clamp(34px, 9vw, 46px) !important;
    line-height: 1.08 !important;
    overflow-wrap: break-word;
  }

  body.as-public .banner-area h2 {
    font-size: clamp(23px, 6vw, 30px) !important;
  }

  body.as-public h1 {
    font-size: clamp(29px, 7.5vw, 40px);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  body.as-public h2 {
    font-size: clamp(23px, 6vw, 32px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  body.as-public h3 {
    overflow-wrap: anywhere;
  }

  body.as-public p {
    overflow-wrap: anywhere;
  }

  body.as-public .banner-area .row {
    align-items: stretch !important;
  }

  body.as-public .banner-area .col-lg-7,
  body.as-public .banner-area .col-lg-5 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  body.as-public .banner-area .col-lg-5 {
    margin-top: 34px !important;
  }

  body.as-public .banner-area .col-lg-5 > div {
    padding: 24px !important;
  }

  body.as-public .banner-area a.btn,
  body.as-public section a.btn,
  body.as-public section button.btn {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  body.as-public .banner-area a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px 10px 0 !important;
    padding: 12px 16px;
  }

  body.as-public .banner-area a.btn + a.btn {
    margin-left: 0 !important;
  }

  body.as-public .row {
    row-gap: 22px;
  }

  body.as-public .row > [class*="col-"] {
    min-width: 0;
  }

  body.as-public .column-title {
    font-size: 26px;
    line-height: 1.2;
  }

  body.as-public .gap-30 {
    height: 18px;
  }

  body.as-public .top-info-box {
    gap: 10px 14px !important;
  }

  body.as-public .top-info-box .info-box-title {
    margin-bottom: 3px;
    font-size: 12px;
  }

  body.as-public .top-info-box .info-box-subtitle,
  body.as-public .top-info-box .info-box-subtitle a {
    font-size: 13px;
  }

  body.as-public .header-get-a-quote {
    width: 100%;
    text-align: center;
  }

  body.as-public .header-get-a-quote .btn {
    display: inline-flex;
    justify-content: center;
    width: auto;
  }

  body.as-public .search-block {
    position: absolute;
    right: 0;
    left: auto;
    width: min(360px, calc(100vw - 36px));
  }

  body.as-public .search-block input {
    min-width: 0;
    width: 100%;
  }

  body.as-public .footer .row,
  body.as-public footer .row {
    row-gap: 26px;
  }

  body.as-public .footer,
  body.as-public footer {
    overflow-wrap: anywhere;
  }

  body.as-public .footer-social a,
  body.as-public .artstroy-social-list a {
    margin-right: 10px;
  }

  body.as-public table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.as-public .cf-turnstile {
    max-width: 100%;
    overflow: hidden;
  }
}

/* Narrow phones */
@media (max-width: 575.98px) {
  body.as-public .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  body.as-public #top-bar {
    padding: 8px 0;
  }

  body.as-public #top-bar .top-info {
    font-size: 12px;
  }

  body.as-public #header .logo a {
    font-size: 27px !important;
  }

  body.as-public #header .top-info-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: center;
  }

  body.as-public #header .top-info-box > li {
    min-width: 0;
  }

  body.as-public #header .top-info-box > li:nth-child(3) {
    grid-column: 1 / -1;
  }

  body.as-public #header .top-info-box .info-box-subtitle,
  body.as-public #header .top-info-box .info-box-subtitle a {
    font-size: 12px;
    word-break: break-word;
  }

  body.as-public .banner-area h1 {
    font-size: 34px !important;
  }

  body.as-public .banner-area .col-lg-5 > div {
    padding: 20px !important;
  }

  body.as-public .banner-area a.btn {
    display: flex;
    width: 100%;
    margin: 0 0 10px !important;
  }

  body.as-public .site-search-main-form {
    flex-direction: column;
  }

  body.as-public .site-search-main-form button {
    min-height: 46px;
  }

  body.as-public .site-search-results {
    grid-template-columns: 1fr;
  }

  body.as-public .working-hours-list li {
    gap: 12px;
  }

  body.as-public .working-hours-list li span,
  body.as-public .working-hours-list li strong {
    font-size: 13px;
  }

  body.as-public .footer,
  body.as-public footer {
    font-size: 14px;
  }
}


/* =========================================================
   MOBILE HEADER REWORK — compact, readable, no oversized masthead
========================================================= */
@media (max-width: 575.98px) {
  body.as-public #top-bar {
    min-height: 0;
    padding: 7px 0 5px !important;
  }

  body.as-public #top-bar .container,
  body.as-public #top-bar .row {
    padding-top: 0;
    padding-bottom: 0;
  }

  body.as-public #top-bar .top-info li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin: 0;
  }

  body.as-public #top-bar .top-info .info-text {
    margin: 0;
    line-height: 1.3;
  }

  body.as-public #top-bar .top-social {
    margin-top: 4px;
  }

  body.as-public #top-bar .top-social ul,
  body.as-public #top-bar .top-social li {
    margin: 0;
  }

  body.as-public #header .bg-white {
    padding: 0 !important;
  }

  body.as-public #header .logo-area > .row {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 13px 0 12px !important;
    margin: 0;
  }

  body.as-public #header .logo {
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
    margin: 0 !important;
    line-height: 1;
  }

  body.as-public #header .logo a {
    font-size: 26px !important;
    line-height: 1.1 !important;
  }

  body.as-public #header .header-right {
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  body.as-public #header .top-info-box {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    gap: 8px 10px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.as-public #header .top-info-box > li {
    display: block;
    min-width: 0;
    width: auto;
    margin: 0 !important;
    padding: 0;
    text-align: center;
  }

  body.as-public #header .top-info-box > li:nth-child(3) {
    display: none !important;
  }

  body.as-public #header .top-info-box .info-box,
  body.as-public #header .top-info-box .info-box-content {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.as-public #header .top-info-box .info-box-title {
    margin: 0 0 2px !important;
    font-size: 11px !important;
    line-height: 1.25;
  }

  body.as-public #header .top-info-box .info-box-subtitle,
  body.as-public #header .top-info-box .info-box-subtitle a {
    display: inline-block;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.3;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  body.as-public #header .top-info-box > li.header-get-a-quote {
    grid-column: 1 / -1;
    text-align: center;
  }

  body.as-public #header .header-get-a-quote .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 18px !important;
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.2;
  }

  body.as-public #header .site-navigation {
    min-height: 52px;
  }

  body.as-public #header .site-navigation > .container {
    display: flex;
    align-items: center;
    min-height: 52px;
  }

  body.as-public #header .site-navigation .row {
    flex: 1 1 auto;
    width: auto;
    margin: 0;
  }

  body.as-public #header .site-navigation .row > [class*="col-"] {
    padding: 0;
  }

  body.as-public #header .site-navigation .navbar {
    min-height: 52px;
    margin: 0;
    padding: 0 !important;
  }

  body.as-public #header .site-navigation .navbar-toggler {
    width: 42px;
    height: 40px;
    margin: 0;
    padding: 7px 10px;
  }

  body.as-public #header .site-navigation .nav-search {
    position: static;
    flex: 0 0 auto;
    margin: 0 0 0 12px !important;
    padding: 0;
  }

  body.as-public #header .site-navigation .search-block {
    top: 100%;
    right: 15px;
    left: 15px;
    width: auto;
    max-width: none;
  }
}

/* Slightly roomier contact layout on larger phones and small tablets */
@media (min-width: 576px) and (max-width: 991.98px) {
  body.as-public #header .logo-area > .row {
    padding: 14px 0 !important;
    row-gap: 12px;
  }

  body.as-public #header .top-info-box {
    gap: 9px 16px;
  }

  body.as-public #header .top-info-box > li:nth-child(3) {
    flex-basis: 100%;
  }
}


/* Keep mobile search icon in the navigation's top row,
   independent of the expanded/collapsed menu height. */
@media (max-width: 991.98px) {
  body.as-public .site-navigation > .container {
    position: relative;
  }

  body.as-public .site-navigation .nav-search {
    position: absolute !important;
    top: 8px;
    right: 18px;
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.as-public .site-navigation .nav-search #search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  body.as-public .site-navigation .search-block {
    top: 54px;
    right: 18px;
    left: 18px;
    width: auto;
    max-width: none;
  }
}


/* MAX icon: match VK and Telegram in the dark header/footer */
body.as-public .top-social .artstroy-max-icon,
body.as-public .footer .artstroy-social-list .artstroy-max-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  color: inherit;
  vertical-align: middle;
  flex: 0 0 17px;
}


/* MAX social link: solid white message icon, matching VK and Telegram */
body.as-public .top-social .artstroy-max-icon,
body.as-public .footer .artstroy-social-list .artstroy-max-icon {
  display: inline-block;
  width: 17px;
  height: auto;
  flex: 0 0 17px;
  color: #f2f2f2;
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
}

/* ART-STROY MAX icon alignment */
body.as-public .top-social .artstroy-max-icon,
body.as-public .footer .artstroy-social-list .artstroy-max-icon {
    display: inline-block;
    width: 17px;
    height: 17px;
    min-width: 17px;
    flex: 0 0 17px;
    vertical-align: middle;
    fill: currentColor;
    stroke: none;
    position: relative;
    top: 0;
    margin: 0;
    padding: 0;
}

/* ART-STROY: выравнивание MAX в социальных ссылках */
body.as-public .footer .artstroy-social-list a[aria-label="ART-STROY в MAX"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    text-align: center !important;
}

body.as-public .footer .artstroy-social-list a[aria-label="ART-STROY в MAX"] .artstroy-max-icon {
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    margin: 0 auto !important;
    position: static !important;
    flex: 0 0 17px !important;
}

body.as-public .footer .artstroy-social-list a[aria-label="ART-STROY в MAX"] span {
    display: block !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* ART-STROY: MAX button matches VK and Telegram */
body.as-public .footer .artstroy-social-list a[aria-label="ART-STROY в MAX"] {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 10px 12px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

body.as-public .footer .artstroy-social-list a[aria-label="ART-STROY в MAX"] .artstroy-max-icon {
    display: inline-block !important;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    flex: 0 0 17px !important;
    margin: 0 !important;
    position: static !important;
    vertical-align: middle !important;
}

body.as-public .footer .artstroy-social-list a[aria-label="ART-STROY в MAX"] span {
    display: inline !important;
    margin: 0 !important;
    line-height: normal !important;
}
