/* temp27 "Balay" - fixed left sidebar, full-height photo hero with an accent caption box, Quicksand, lots of air.
   Brand colours come only from the engine palette (--brand, --accent, --dark, --on-accent ...). */
:root {
  --side: 270px;
  --font: "Quicksand", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --muted: #8b8a99;
  --paper: #fff;
  --hero-shade: rgba(var(--dark-rgb), .08);
  --shadow: 0 24px 50px -26px rgba(var(--dark-rgb), .28);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.75; color: var(--text); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s, background .25s, border-color .25s; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
.lm-ico { width: 20px; height: 20px; flex: none; }
.lm-ico.sm { width: 15px; height: 15px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--accent); color: var(--on-accent); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* reveal (.animate-this gets .animated from the footer observer; main.js adds a safety timeout) */
.js-ready .animate-this { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-ready .animate-this.animated { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-ready .animate-this { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- layout ---------- */
.main { margin-left: var(--side); min-width: 0; }
.wrap, .container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 760px; }
.section { padding: 110px 0; }
.section-tight { padding: 80px 0 100px; }
.section-alt { background: var(--soft); }
.kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.bar { display: block; width: 48px; height: 3px; background: var(--accent); margin: 0 0 26px; }
.sec-head { margin-bottom: 56px; min-width: 0; }
.sec-head h2 { margin-bottom: 18px; }
.sec-head.center { text-align: center; }
.sec-head.center .bar { margin-left: auto; margin-right: auto; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: 56px; }
.head-row .sec-head { margin-bottom: 0; }
.head-row .bar { margin-bottom: 0; }
.intro { max-width: 620px; margin: -6px auto 30px; }
.lead { font-size: 18px; color: var(--ink); font-weight: 500; opacity: .85; }
.center-link { text-align: center; margin-top: 54px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 30px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; border: 2px solid transparent; border-radius: 0; background: none; transition: all .3s var(--ease); line-height: 1.2; text-align: center; }
.btn .lm-ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .lm-ico { transform: translateX(4px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--dark); color: #fff; }
.btn-dark, .btn-blue { background: var(--dark); color: #fff; }
.btn-dark:hover, .btn-blue:hover { background: #fff; color: var(--dark); border-color: var(--dark); }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: var(--dark); color: #fff; }
.btn-outline { border-color: var(--dark); color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.text-link .lm-ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover { color: var(--accent-aa); }
.text-link:hover .lm-ico { transform: translateX(4px); }
.text-link.light { color: #fff; }
.text-link.light:hover { color: var(--accent); }

/* ---------- sidebar (desktop) ---------- */
.sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: var(--side); z-index: 50; background: var(--dark); color: rgba(255, 255, 255, .7); display: flex; flex-direction: column; }
.brand-plate { display: flex; align-items: center; justify-content: center; background: #fff; padding: 30px 26px; min-height: 110px; border-bottom: 3px solid var(--accent); }
.logo-img { height: 42px; width: auto; max-width: 100%; object-fit: contain; }
.site-logo-chip.logo-img { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 4px; height: 46px; }
.site-logo-chip .site-logo-chip-img { height: 100%; width: auto; }
.site-wordmark.logo-img { height: auto; font-weight: 700; font-size: 24px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.site-wordmark.on-dark { color: #fff; }
.side-panel { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 30px 34px 32px; overflow-y: auto; }
.side-nav { flex: 1; display: flex; align-items: center; padding: 20px 0; }
.side-nav ul { list-style: none; margin: 0; padding: 0; width: 100%; }
.side-nav li + li { margin-top: 4px; }
.side-nav a { position: relative; display: block; padding: 10px 0; font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.side-nav a::before { content: ""; position: absolute; left: -34px; top: 50%; width: 0; height: 2px; background: var(--accent); transition: width .3s var(--ease); }
.side-nav a:hover, .side-nav a.active { color: var(--accent); }
.side-nav a:hover::before, .side-nav a.active::before { width: 22px; }
.side-bottom { font-size: 13px; }
.side-cta { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 18px; border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.side-cta .lm-ico { width: 18px; height: 18px; color: var(--accent); }
.side-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.side-cta:hover .lm-ico { color: var(--on-accent); }
.side-loc { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 16px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.side-loc .lm-ico { margin-top: 3px; color: var(--accent); }
.side-loc b { color: #fff; font-weight: 600; }
.side-social { display: flex; gap: 8px; margin-bottom: 16px; }
.side-social a { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: rgba(255, 255, 255, .8); }
.side-social a .lm-ico { width: 15px; height: 15px; }
.side-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.side-copy { font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .45); margin: 0; }
.burger, .panel-close, .nav-overlay { display: none; }

/* ---------- home hero slider ---------- */
.hero { position: relative; height: 100vh; min-height: 680px; max-height: 960px; overflow: hidden; background: var(--light); }
.slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; transform: scale(1); transition: opacity 1.2s ease, transform 7s linear; z-index: 1; }
.slide-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-shade), transparent 40%); }
.hero-dots { position: absolute; z-index: 3; left: 40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; transition: all .3s; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.dot.is-active { background: var(--accent); border-color: var(--accent); height: 30px; border-radius: 8px; }
.hero-box { position: absolute; z-index: 4; right: 0; bottom: 0; width: 540px; max-width: 100%; background: var(--accent); color: var(--on-accent); padding: 46px 50px 50px; }
.slide-num { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 14px; opacity: .72; }
.hero-box h1 { font-size: clamp(28px, 2.6vw, 38px); color: var(--on-accent); margin-bottom: 12px; }
.hero-box > p { font-size: 15px; margin-bottom: 26px; opacity: .85; }
.hero-search { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero-search .hs-wide, .hero-search .btn { grid-column: 1 / -1; }
.hs-field { display: block; background: #fff; padding: 9px 14px 6px; min-width: 0; color: var(--ink); }
.hs-label { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.hs-field input { width: 100%; border: 0; outline: 0; padding: 3px 0 6px; font-size: 15px; font-weight: 600; color: var(--ink); background: transparent; min-width: 0; }
.hs-field input::placeholder { color: #a5a4b2; font-weight: 500; }
.hs-loc { display: flex; align-items: center; gap: 8px; }
.hero-search .lm-dd-trigger { height: auto; padding: 3px 0 6px; border: 0; background: transparent; box-shadow: none !important; font-weight: 600; }
.hero-search .btn { margin-top: 4px; }
.lm-locate { flex: none; width: 34px; height: 34px; border: 0; display: grid; place-items: center; background: var(--soft); color: var(--dark); transition: .25s; }
.lm-locate .lm-ico { width: 17px; height: 17px; }
.lm-locate:hover { background: var(--dark); color: #fff; }

/* ---------- lm-select (generated by js/lm-select.js) ---------- */
.lm-dd { position: relative; min-width: 0; }
.lm-dd > select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.lm-dd-trigger { width: 100%; height: 50px; padding: 0 12px 0 14px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; font-size: 15px; color: var(--ink); cursor: pointer; border-radius: 0; transition: border-color .2s; }
.lm-dd-trigger .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-dd-trigger.placeholder .txt { color: #a5a4b2; }
.lm-dd-trigger .chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: transform .2s; }
.lm-dd-trigger:hover, .lm-dd.open .lm-dd-trigger { border-color: var(--accent); outline: none; }
.lm-dd.open .chev { transform: rotate(180deg); color: var(--accent-aa); }
.lm-dd-panel { position: fixed; z-index: 1000; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: var(--shadow); color: var(--ink); font-family: var(--font); animation: lm-dd-in .16s ease; }
.lm-dd-search { position: relative; padding: 10px; border-bottom: 1px solid var(--line); }
.lm-dd-search svg { position: absolute; left: 22px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); }
.lm-dd-search input { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 1px solid var(--line); background: var(--soft); font-size: 14px; outline: none; font-family: var(--font); }
.lm-dd-search input:focus { border-color: var(--accent); background: #fff; }
.lm-dd-list { overflow-y: auto; padding: 6px; overscroll-behavior: contain; margin: 0; list-style: none; }
.lm-dd-list li { position: relative; padding: 9px 34px 9px 12px; font-size: 14.5px; cursor: pointer; line-height: 1.35; font-weight: 500; }
.lm-dd-list li.act { background: var(--soft); color: var(--brand); }
.lm-dd-list li.sel { color: var(--brand); font-weight: 700; background: rgba(var(--brand-rgb), .07); }
.lm-dd-list li.sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 10px; height: 5px; border-left: 2px solid var(--accent-aa); border-bottom: 2px solid var(--accent-aa); transform: translateY(-70%) rotate(-45deg); }
.lm-dd-list li[hidden] { display: none; }
.lm-dd-list .lm-dd-empty { color: var(--muted); cursor: default; text-align: center; }
@keyframes lm-dd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- split (welcome / owner) ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 90px; align-items: center; }
.split-rev .split-media { order: 2; }
.split-media { position: relative; min-width: 0; }
.split-media > img { width: 100%; height: 600px; object-fit: cover; }
.split-text { min-width: 0; }
.split-badge { position: absolute; right: -30px; bottom: 40px; background: var(--accent); color: var(--on-accent); padding: 24px 30px; display: flex; align-items: center; gap: 14px; }
.split-badge.left { right: auto; left: -30px; }
.split-badge strong { font-size: 44px; line-height: 1; font-weight: 700; }
.split-badge span { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.ticks { list-style: none; padding: 0; margin: 0 0 34px; }
.ticks li { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: var(--ink); font-weight: 600; min-width: 0; }
.ticks .lm-ico { width: 20px; height: 20px; padding: 3px; color: var(--on-accent); background: var(--accent); border-radius: 50%; stroke-width: 3; }
.ticks-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.teaser-price { display: flex; align-items: baseline; gap: 10px; margin: -8px 0 30px; color: var(--ink); }
.teaser-price span { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.teaser-price strong { font-size: 46px; line-height: 1; }
.teaser-price small { font-size: 15px; color: var(--muted); }

/* ---------- category photo grid ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.proj-card { position: relative; min-width: 0; }
.proj-media { display: block; position: relative; height: 320px; overflow: hidden; background: var(--light); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 28px; background: linear-gradient(to top, rgba(var(--dark-rgb), .82), rgba(var(--dark-rgb), 0) 62%); color: #fff; }
.proj-cat { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: 4px 10px; margin-bottom: 12px; opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.proj-title { display: block; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.proj-more { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); max-height: 0; opacity: 0; overflow: hidden; transition: all .4s var(--ease); }
.proj-more .lm-ico { width: 16px; height: 16px; }
.proj-media:hover img, .proj-media:focus-visible img { transform: scale(1.07); }
.proj-media:hover .proj-cat, .proj-media:focus-visible .proj-cat { opacity: 1; transform: none; }
.proj-media:hover .proj-more, .proj-media:focus-visible .proj-more { max-height: 30px; opacity: 1; }
.proj-grid-feature .proj-card:nth-child(1) { grid-column: span 2; }
.proj-grid-feature .proj-card:nth-child(1) .proj-media, .proj-grid-feature .proj-card:nth-child(2) .proj-media { height: 440px; }

/* ---------- trending rail / filters ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 8px; margin: -16px 0 46px; }
.filter { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.filter:hover { color: var(--ink); }
.filter.active { color: var(--ink); border-color: var(--accent); }
.lm-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lm-skel { height: 400px; background: linear-gradient(90deg, var(--soft) 25%, var(--light) 50%, var(--soft) 75%); background-size: 200% 100%; animation: lm-shimmer 1.3s infinite; }
@keyframes lm-shimmer { to { background-position: -200% 0; } }
.lm-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; margin: 0; }
.lm-spinner { display: inline-block; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: lm-spin .8s linear infinite; }
.lm-spinner.dark { border-color: rgba(var(--dark-rgb), .2); border-top-color: var(--dark); }
@keyframes lm-spin { to { transform: rotate(360deg); } }
.lm-loadmore { text-align: center; margin-top: 46px; }
.lm-loadmore .btn { min-width: 200px; }

/* ---------- business card ---------- */
.lm-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.lm-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); transition: width .4s var(--ease); }
.lm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.lm-card:hover::after, .lm-card.is-premium::after { width: 100%; }
.lm-card-media { position: relative; }
.lm-cover { position: relative; display: block; height: 210px; overflow: hidden; background: var(--light); }
.lm-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lm-card:hover .lm-cover-img { transform: scale(1.05); }
.lm-badge { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 5px 11px; }
.lm-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 22px; min-width: 0; }
.lm-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.lm-card-meta span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.lm-card-meta .ok { color: var(--brand); }
.lm-card-meta .lm-ico { width: 13px; height: 13px; }
.lm-card-title { font-size: 18px; margin: 0 0 8px; overflow-wrap: anywhere; }
.lm-card-title a:hover { color: var(--accent-aa); }
.lm-card-addr { display: flex; gap: 7px; font-size: 14px; line-height: 1.55; margin: 0 0 18px; color: var(--text); }
.lm-card-addr .lm-ico { margin-top: 3px; color: var(--accent-aa); }
.lm-card-addr span { min-width: 0; overflow-wrap: anywhere; }
.lm-card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.lm-more { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.lm-more:hover { color: var(--accent-aa); }
.lm-btn-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: var(--dark); color: #fff; flex: none; }
.lm-btn-icon .lm-ico { width: 18px; height: 18px; }
.lm-btn-icon:hover { background: var(--accent); color: var(--on-accent); }
.lm-btn { font-family: var(--font); }
.lm-stars { display: inline-flex; letter-spacing: 1px; font-size: 15px; line-height: 1; }
.lm-stars .on { color: #F5B301; }
.lm-stars .off { color: #DCDBE3; }

/* ---------- counters ---------- */
.counters { background: var(--dark); padding: 90px 0; color: rgba(255, 255, 255, .75); }
.counter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.counter { text-align: center; position: relative; }
.counter + .counter::before { content: ""; position: absolute; left: -15px; top: 15%; height: 70%; width: 1px; background: rgba(255, 255, 255, .15); }
.counter .num { display: block; font-size: clamp(38px, 4vw, 54px); font-weight: 700; color: var(--accent); line-height: 1.1; margin-bottom: 8px; }
.counter .lbl { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.svc-card { position: relative; background: #fff; padding: 46px 40px 40px; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; min-width: 0; }
.svc-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); transition: width .4s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-card:hover::after { width: 100%; }
.svc-icon { display: block; width: 54px; height: 54px; margin-bottom: 24px; color: var(--dark); }
.svc-icon .lm-ico { width: 54px; height: 54px; stroke-width: 1.1; }
.svc-card h3 { margin-bottom: 12px; }
.svc-card p { font-size: 15px; margin: 0; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { background: var(--soft); padding: 42px 36px; border-top: 3px solid var(--accent); min-width: 0; }
.step-n { display: block; font-size: 48px; font-weight: 700; color: rgba(var(--dark-rgb), .12); line-height: 1; margin-bottom: 18px; }
.step p { font-size: 15px; margin: 0; }

/* ---------- blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow .35s, transform .35s var(--ease); min-width: 0; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post-media { display: block; position: relative; height: 240px; overflow: hidden; background: var(--light); }
.post-media .lm-cover-img { transition: transform .8s var(--ease); }
.post-card:hover .post-media .lm-cover-img { transform: scale(1.06); }
.post-tag { position: absolute; z-index: 2; left: 20px; top: 20px; background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 5px 12px; max-width: calc(100% - 40px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 28px 30px 32px; min-width: 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta .lm-ico { width: 15px; height: 15px; color: var(--accent-aa); }
.post-body h3 { font-size: 19px; margin-bottom: 12px; overflow-wrap: anywhere; }
.post-body h3 a:hover, .blog-card:hover h3 { color: var(--accent-aa); }
.post-body p { font-size: 15px; }
.post-body .text-link { margin-top: auto; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--accent); padding: 80px 0; color: var(--on-accent); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px 40px; flex-wrap: wrap; }
.cta-band .kicker { color: var(--on-accent); opacity: .7; }
.cta-band h2 { margin: 0; max-width: 620px; color: var(--on-accent); }
.cta-actions { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; min-width: 0; }
.cta-mail { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--on-accent); font-size: 16px; overflow-wrap: anywhere; min-width: 0; }
.cta-mail:hover { text-decoration: underline; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 90px 0 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 50px; }
.f-logo { display: inline-block; margin-bottom: 22px; }
.f-about p { font-size: 15px; max-width: 320px; }
.site-footer h4 { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 22px; }
.f-links, .f-contact { list-style: none; margin: 0; padding: 0; }
.f-links li { padding: 4px 0; font-size: 15px; }
.f-links a:hover, .f-contact a:hover { color: var(--accent-aa); }
.f-contact li { display: flex; gap: 12px; padding: 6px 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; min-width: 0; }
.f-contact .lm-ico { width: 18px; height: 18px; color: var(--accent-aa); margin-top: 4px; }
.footer-base { display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 70px; padding-top: 26px; padding-bottom: 26px; font-size: 14px; }
.footer-base p { margin: 0; }
.footer-base a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); }
.back-top { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 48px; height: 48px; border: 0; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--dark); color: #fff; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; height: 460px; background: var(--light); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(var(--dark-rgb), .12); }
.page-hero-box { position: absolute; z-index: 2; left: 0; bottom: 0; background: var(--accent); color: var(--on-accent); padding: 40px 60px 36px; min-width: 440px; max-width: min(760px, 100%); }
.page-hero-box .kicker { color: var(--on-accent); opacity: .7; }
.page-hero-box h1 { font-size: clamp(30px, 3.4vw, 46px); color: var(--on-accent); margin-bottom: 8px; overflow-wrap: anywhere; }
.page-hero-sub { font-size: 15px; margin: 0 0 12px; opacity: .85; max-width: 560px; }
.crumbs { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-accent); overflow-wrap: anywhere; }
.crumbs a { opacity: .7; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.crumbs .sep { margin: 0 8px; opacity: .5; }
.page-hero.is-short { height: 380px; }
.page-hero.is-short .page-hero-box h1 { font-size: clamp(24px, 2.6vw, 36px); }

/* ---------- listing ---------- */
.list-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 50px; align-items: start; max-width: 1240px; }
.list-side { position: sticky; top: 30px; display: grid; gap: 24px; min-width: 0; }
.side-box { background: var(--soft); padding: 34px 30px; }
.side-box h3, .detail-side h3 { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--accent); }
.field { display: block; margin-bottom: 18px; min-width: 0; }
.field > span:first-child { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.field input, .lm-input, .lm-textarea { width: 100%; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); padding: 13px 15px; border: 1px solid var(--line); background: #fff; border-radius: 0; outline: none; transition: border-color .25s; min-width: 0; }
.field input:focus, .lm-input:focus, .lm-textarea:focus { border-color: var(--accent); }
.lm-textarea { resize: vertical; min-height: 110px; }
.field-loc { position: relative; display: block; }
.field-loc input { padding-right: 52px; }
.field-loc .lm-locate { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.reset-link { display: block; text-align: center; margin-top: 14px; font-size: 13px; color: var(--muted); text-decoration: underline; }
.side-dark { background: var(--dark); color: rgba(255, 255, 255, .72); padding: 32px 30px; }
.side-dark .kicker { color: var(--accent); }
.side-dark h4 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.side-dark p { font-size: 14.5px; }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 30px; flex-wrap: wrap; margin-bottom: 36px; }
.results-head > div { min-width: 0; }
.results-head h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; overflow-wrap: anywhere; }
.results-head h2 span { color: var(--accent-aa); }
.results-head .bar { margin: 0; }
.results-loc { display: inline-flex; align-items: center; gap: 8px; background: var(--soft); padding: 9px 16px; font-size: 13px; font-weight: 700; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.results-loc .lm-ico { width: 16px; height: 16px; color: var(--accent-aa); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 30px; background: var(--soft); }
.empty-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; background: var(--accent); color: var(--on-accent); }
.empty-icon .lm-ico { width: 28px; height: 28px; }
.empty-state h2 { font-size: 26px; }

/* ---------- business details ---------- */
.biz-hero { height: 560px; }
.page-hero-bg.under { z-index: 0; }
.biz-hero .page-hero-box { max-width: min(860px, 100%); }
.biz-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; background: var(--dark); color: #fff; padding: 5px 12px; margin: 16px 0 14px; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; margin-bottom: 22px; }
.biz-meta span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
.biz-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.biz-acts .btn { min-height: 46px; padding: 11px 20px; font-size: 11.5px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; align-items: start; }
.detail-main { min-width: 0; }
.gallery { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 56px; }
.gallery > a, .gallery > div { position: relative; display: block; overflow: hidden; background: var(--light); height: 110px; }
.gallery .g-main { grid-column: 1 / -1; height: 460px; }
.gallery.n2 .g-thumb { grid-column: 1 / -1; height: 200px; }
.gallery.n3 .g-thumb { grid-column: span 2; height: 160px; }
.gallery.n4 .g-thumb:nth-child(4) { grid-column: span 2; }
.gallery .g-thumb { border-bottom: 3px solid transparent; transition: border-color .3s; }
.gallery .g-thumb:hover { border-color: var(--accent); }
.g-count { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 6px 12px; z-index: 2; }
.detail-block { margin-bottom: 56px; }
.detail-block h2 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 16px; }
.desc { font-size: 16px; overflow-wrap: anywhere; }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.specs th, .specs td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; overflow-wrap: anywhere; }
.specs th { color: var(--ink); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 11.5px; width: 38%; padding-right: 12px; }
.specs td a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); }
.hours-table th { width: 45%; }
.rating-sum { display: flex; align-items: center; gap: 22px; padding: 24px 28px; background: var(--soft); margin-bottom: 26px; }
.rating-sum .big { font-size: 52px; font-weight: 700; line-height: 1; color: var(--ink); }
.rating-sum p { margin: 6px 0 0; font-size: 14px; }
.rating-sum .lm-stars { font-size: 20px; }
.lm-reviews { display: grid; gap: 0; }
.review { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.review > div { min-width: 0; }
.review h4 { margin: 0 0 2px; font-size: 16px; }
.review small { color: var(--muted); margin-right: 8px; }
.review p { margin: 10px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.reply { margin-top: 12px; padding: 12px 16px; background: var(--soft); border-left: 3px solid var(--accent); font-size: 14px; }
.lm-avatar { flex: none; width: 48px; height: 48px; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; background: var(--dark); }
.lm-avatar.tone-1 { background: var(--brand); }
.lm-avatar.tone-2 { background: var(--accent); color: var(--on-accent); }
.lm-avatar.tone-3 { background: var(--brand-3); }
.lm-avatar.tone-4 { background: var(--accent-aa); }
.lm-avatar.tone-5 { background: var(--dark-2); }
.detail-side { position: sticky; top: 30px; background: var(--soft); padding: 38px 32px; min-width: 0; }
.detail-side h3 ~ h3 { margin-top: 10px; }
.book-note { font-size: 14.5px; }
.lm-form { display: grid; gap: 12px; }
.lm-form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.side-trust { display: grid; gap: 8px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.side-trust span { display: flex; gap: 8px; align-items: flex-start; }
.side-trust .lm-ico { margin-top: 4px; color: var(--accent-aa); }

/* ---------- blogs / fullpost ---------- */
.blog-filter { min-width: 260px; }
.blog-filter .hs-label { margin-bottom: 8px; }
.blog-card { color: inherit; }
.page-post .page-hero-box { max-width: min(900px, 100%); }
.article { min-width: 0; }
.article-meta { margin-bottom: 22px; }
.article-cover { position: relative; height: 440px; overflow: hidden; background: var(--light); margin-bottom: 40px; }
.blog-content { font-size: 17px; line-height: 1.85; color: var(--text); overflow-wrap: anywhere; }
.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4 { margin: 1.4em 0 .6em; }
.blog-content h2 { font-size: 28px; }
.blog-content img { height: auto; margin: 24px 0; }
.blog-content a { color: var(--ink); border-bottom: 2px solid var(--accent); }
.blog-content blockquote { margin: 34px 0; padding: 24px 30px; border-left: 4px solid var(--accent); background: var(--soft); font-size: 19px; font-weight: 600; color: var(--ink); }
.blog-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.blog-content td, .blog-content th { border: 1px solid var(--line); padding: 8px 12px; }
.blog-content pre { overflow-x: auto; background: var(--soft); padding: 16px; }
.lm-comments { margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--line); }
.lm-comment { padding: 20px 0; border-bottom: 1px solid var(--line); }
.lm-comment .who { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--ink); }
.lm-comment .lm-avatar { width: 40px; height: 40px; font-size: 13px; }
.lm-comment p { margin: 0 0 8px; overflow-wrap: anywhere; }
.reply-btn { background: none; border: 0; padding: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--accent); }
.reply-form { display: grid; gap: 10px; margin-top: 14px; }
.replies { margin: 14px 0 0 26px; padding-left: 20px; border-left: 2px solid var(--line); }
.replies .lm-comment:last-child { border-bottom: 0; }
.form-card { margin-top: 40px; padding: 40px; background: var(--soft); }
.form-card h3 { margin-bottom: 6px; }
.side-search { display: flex; margin-bottom: 34px; }
.side-search .lm-input { flex: 1; }
.side-search .btn { min-height: 0; padding: 0 16px; }
.recent { list-style: none; margin: 0 0 30px; padding: 0; }
.mini-post { display: flex; gap: 14px; align-items: center; padding: 10px 0; }
.mini-post .sq { position: relative; flex: none; width: 78px; height: 64px; overflow: hidden; background: var(--light); }
.mini-post > span:last-child { min-width: 0; }
.mini-post strong { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.mini-post small { color: var(--muted); }
.mini-post:hover strong { color: var(--accent-aa); }

/* ---------- pricing ---------- */
.lm-toggle { display: inline-flex; border: 1px solid var(--line); background: #fff; padding: 4px; }
.lm-toggle button { border: 0; background: none; padding: 11px 22px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lm-toggle button.on { background: var(--dark); color: #fff; }
.lm-toggle .save { color: var(--accent-aa); margin-left: 4px; }
.lm-toggle button.on .save { color: var(--accent); }
.lm-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: stretch; }
.lm-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); padding: 46px 38px 38px; min-width: 0; }
.lm-plan.featured { background: var(--dark); border-color: var(--dark); color: rgba(255, 255, 255, .78); }
.lm-plan.featured h3, .lm-plan.featured .price { color: #fff; }
.ribbon { position: absolute; top: 0; right: 0; background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 6px 14px; }
.plan-head { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.lm-plan.featured .plan-head { border-color: rgba(255, 255, 255, .15); }
.plan-head h3 { font-size: 15px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 4px; }
.plan-head .for { font-size: 14px; margin-bottom: 18px; }
.price { font-size: 46px; font-weight: 700; line-height: 1; color: var(--ink); }
.price small { font-size: 15px; font-weight: 600; opacity: .6; }
.lm-plan ul { list-style: none; margin: 0 0 30px; padding: 0; flex: 1; }
.lm-plan li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 15px; }
.lm-plan li .lm-ico { width: 18px; height: 18px; color: var(--accent-aa); }
.lm-plan.featured li .lm-ico { color: var(--accent); }
.lm-plan li.off { opacity: .45; text-decoration: line-through; }
.lm-plan.featured .btn-accent:hover { background: #fff; color: var(--dark); }
.lm-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
.lm-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.lm-table th, .lm-table td { padding: 18px 24px; text-align: center; border-bottom: 1px solid var(--line); }
.lm-table th { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); background: var(--soft); }
.lm-table td:first-child, .lm-table th:first-child { text-align: left; font-weight: 700; color: var(--ink); }
.lm-yes, .lm-no { display: inline-grid; place-items: center; width: 28px; height: 28px; }
.lm-yes { background: var(--accent); color: var(--on-accent); }
.lm-no { background: var(--soft); color: var(--muted); }
.lm-dialog { border: 0; padding: 0; width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow); color: var(--ink); font-family: var(--font); border-radius: 0; }
.lm-dialog::backdrop { background: rgba(var(--dark-rgb), .6); }
.lm-dialog-head { position: relative; padding: 30px 32px 26px; background: var(--accent); color: var(--on-accent); }
.lm-dialog-head h3 { color: var(--on-accent); font-size: 23px; margin-bottom: 6px; padding-right: 40px; }
.lm-dialog-head p { font-size: 15px; margin: 0; opacity: .85; }
.lm-dialog-head .plan { display: inline-block; margin-top: 12px; background: var(--dark); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .1em; padding: 5px 12px; }
.lm-dialog-close { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border: 0; background: rgba(255, 255, 255, .5); color: var(--dark); display: grid; place-items: center; }
.lm-dialog-close:hover { background: var(--dark); color: #fff; }
.lm-dialog-body { padding: 28px 32px 32px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 34px 0 0; }
.info-list li { display: flex; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-ico { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); flex: none; }
.info-list strong { display: block; color: var(--ink); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; }
.info-list li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.info-list a { color: var(--ink); font-weight: 600; }
.info-list a:hover { color: var(--accent-aa); }
.contact-form { background: var(--soft); padding: 50px; min-width: 0; }
.contact-form .lm-form .btn { justify-self: start; }
.contact-band { position: relative; height: 440px; overflow: hidden; background: var(--light); }
.contact-band-img { width: 100%; height: 100%; object-fit: cover; }
.contact-band-box { position: absolute; right: 0; bottom: 0; background: var(--dark); color: rgba(255, 255, 255, .75); padding: 40px 50px; max-width: 460px; }
.contact-band-box .kicker { color: var(--accent); }
.contact-band-box h3 { color: #fff; font-size: 26px; }
.contact-band-box p { margin: 0; }

/* ---------- terms ---------- */
.lm-prose { max-width: 860px; font-size: 16px; }
.lm-prose h2 { margin-bottom: 24px; }
.lm-prose h3 { margin-top: 34px; }
.lm-prose ul { padding-left: 22px; margin: 0 0 22px; }
.lm-prose li { margin-bottom: 10px; }
.lm-prose li::marker { color: var(--accent-aa); }
.lm-prose ul.sub { padding-left: 46px; }
.lm-prose a { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--accent); overflow-wrap: anywhere; }

/* toastr in the skin's type */
#toast-container > div { font-family: var(--font); border-radius: 0; opacity: 1; box-shadow: var(--shadow); }

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  .lm-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: 60px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .list-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 1180px) {
  .lm-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-box { width: 480px; padding: 38px 40px 42px; }
}
@media (max-width: 991px) {
  :root { --side: 0px; }
  .sidebar { bottom: auto; right: 0; width: auto; height: 70px; flex-direction: row; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); padding: 0 12px 0 0; transition: box-shadow .3s; }
  .sidebar.scrolled { box-shadow: 0 10px 30px -18px rgba(var(--dark-rgb), .35); }
  .brand-plate { min-height: 0; height: 69px; padding: 0 20px; border-bottom: 0; background: transparent; }
  .logo-img { height: 34px; max-width: 200px; }
  .site-logo-chip.logo-img { height: 40px; }
  .site-wordmark.logo-img { font-size: 20px; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; background: var(--dark); border: 0; padding: 12px; }
  .burger span { display: block; height: 2px; background: #fff; width: 100%; }
  .burger span:nth-child(2) { width: 70%; background: var(--accent); }
  .side-panel { position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: 320px; max-width: 86vw; background: var(--dark); padding: 80px 34px 34px; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; z-index: 80; }
  body.nav-open .side-panel { transform: none; visibility: visible; }
  .side-nav { flex: none; padding: 0 0 30px; }
  .side-bottom { margin-top: auto; }
  .panel-close { display: flex; position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: #fff; }
  .panel-close .lm-ico { width: 26px; height: 26px; }
  .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(var(--dark-rgb), .55); z-index: 45; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .main { margin-left: 0; padding-top: 70px; }
  .wrap, .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .section-tight { padding: 60px 0 80px; }
  /* hero: photo band on top, caption box with the search below */
  .hero { height: auto; min-height: 0; max-height: none; padding-top: 340px; overflow: visible; }
  .slide { bottom: auto; height: 340px; overflow: hidden; }
  .hero-dots { top: 24px; transform: none; left: 24px; height: auto; }
  .hero-box { position: relative; width: auto; padding: 36px 24px 40px; }
  .split, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .split-rev .split-media { order: 0; }
  .split-media > img { height: 480px; }
  .split-badge { right: 16px; }
  .split-badge.left { left: 16px; }
  .svc-grid, .proj-grid, .blog-grid, .lm-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-plans .lm-plan:last-child { grid-column: 1 / -1; }
  .proj-grid-feature .proj-card:nth-child(2) .proj-media { height: 320px; }
  .counter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 50px; }
  .counter:nth-child(3)::before { display: none; }
  .steps.three { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid, .list-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-side, .list-side { position: static; }
  .page-hero { height: 360px; }
  .biz-hero { height: auto; padding-top: 220px; }
  .biz-hero .page-hero-box { position: relative; }
  .page-hero-box { min-width: 0; right: 24px; padding: 30px 32px 28px; }
  .contact-band-box { position: relative; max-width: none; }
  .contact-band { height: auto; }
  .contact-band-img { height: 300px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap, .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0 64px; }
  .hero { padding-top: 260px; }
  .slide { height: 260px; }
  .hero-dots { flex-direction: row; top: auto; bottom: auto; left: 16px; top: 16px; }
  .dot.is-active { height: 12px; width: 30px; }
  .hero-box { padding: 30px 16px 34px; }
  .hero-search { grid-template-columns: minmax(0, 1fr); }
  .hero-search .hs-field, .hero-search .btn { grid-column: auto; }
  .svc-grid, .proj-grid, .blog-grid, .counter-grid, .footer-grid, .lm-rail, .lm-plans, .ticks-2, .lm-form .two, .gallery { grid-template-columns: minmax(0, 1fr); }
  .lm-plans .lm-plan:last-child { grid-column: auto; }
  .gallery > a, .gallery > div, .gallery .g-thumb { grid-column: auto !important; height: 200px !important; }
  .gallery .g-main { height: 260px !important; }
  .gallery .g-thumb:nth-child(n+4) { display: none; }
  .proj-grid-feature .proj-card:nth-child(1) { grid-column: auto; }
  .proj-grid-feature .proj-card .proj-media, .proj-media { height: 260px !important; }
  .counter + .counter::before { display: none; }
  .split-media > img { height: 380px; }
  .split-badge, .split-badge.left { right: 0; left: auto; bottom: 0; padding: 16px 20px; }
  .split-badge strong { font-size: 34px; }
  .svc-card { padding: 34px 26px; }
  .step { padding: 32px 24px; }
  .page-hero { height: 300px; }
  .page-hero-box { right: 0; padding: 24px 16px 20px; }
  .page-hero-box h1 { font-size: 28px; }
  .page-hero.is-short { height: auto; padding-top: 110px; }
  .page-hero.is-short .page-hero-box { position: relative; }
  .page-hero.is-short .page-hero-box h1 { font-size: 23px; }
  .biz-hero { padding-top: 160px; }
  .biz-acts .btn { flex: 1 1 calc(50% - 10px); }
  .detail-side, .side-box, .side-dark { padding: 28px 20px; }
  .contact-form, .form-card { padding: 28px 18px; }
  .article-cover { height: 220px; margin-bottom: 26px; }
  .blog-content { font-size: 16px; }
  .cta-band { padding: 60px 0; }
  .head-row, .sec-head { margin-bottom: 40px; }
  .blog-filter { min-width: 0; width: 100%; }
  .rating-sum { padding: 20px; gap: 16px; }
  .replies { margin-left: 8px; padding-left: 12px; }
  .contact-band-box { padding: 30px 20px; }
  .back-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
