/* ==========================================================
   temp21 – soft neo-brutalist directory skin
   black borders, hard offset shadows, bold Archivo headings, doodles, highlighted words.
   Brand colours come ONLY from the engine palette (var(--brand), var(--accent) …).
   ========================================================== */
:root {
  --k: var(--ink);                                     /* border / shadow ink */
  --bg: var(--light);                                  /* page tint (the template's peach, from the palette) */
  --bg-2: color-mix(in srgb, var(--brand) 9%, var(--light));
  --paper: #FFFFFF;
  --muted: var(--text);
  --ok: #3DBE74;                                       /* status green (ticks) */
  --star: #F5B700;                                     /* rating stars */
  --bw: 2px;
  --line-k: var(--bw) solid var(--k);
  --sh: 4px 4px 0 var(--k);
  --sh-lg: 8px 8px 0 var(--k);
  --r: 18px;
  --r-lg: 28px;
  --ff-h: "Archivo", "Arial Black", Arial, sans-serif;
  --ff-b: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--k); font-family: var(--ff-b); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--ff-h); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--k); }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.section { padding: 96px 0; position: relative; }
.pt-0 { padding-top: 0 !important; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ----- icons & doodles (explicit sizes) ----- */
.ico, .ic, .lm-ico { width: 20px; height: 20px; flex: none; }
.lm-ico.sm { width: 15px; height: 15px; }
.soc-ico { width: 18px; height: 18px; display: block; }
.doodle { position: absolute; pointer-events: none; z-index: 1; color: var(--k); }
.doodle .d-fill { fill: var(--accent); stroke: var(--k); }
.doodle-arrow { width: 120px; height: 80px; }
.doodle-squiggle { width: 140px; height: 30px; }
.doodle-star { width: 40px; height: 40px; }
.doodle-lines { width: 50px; height: 50px; }
.doodle-circle { width: 60px; height: 60px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(-4deg); } }

/* ----- highlight & tags ----- */
.mark { display: inline-block; background: var(--brand); color: var(--on-brand); padding: .02em .22em .1em; border-radius: 10px; transform: rotate(-2deg); line-height: 1.05; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-h); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; background: var(--paper); color: var(--k); border: var(--line-k); border-radius: 999px; padding: 6px 16px; margin-bottom: 18px; box-shadow: 3px 3px 0 var(--k); }
.tag .ico { width: 16px; height: 16px; }
.tag .doodle, .tag-star { position: static; width: 18px; height: 18px; }
.tag-dark { background: var(--k); color: #fff; box-shadow: 3px 3px 0 var(--brand); }
.pill-sm { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--accent); color: var(--on-accent); border: var(--line-k); border-radius: 999px; padding: 3px 12px; }

/* ----- buttons ----- */
.btn, .lm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--ff-h); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; padding: 14px 26px; border-radius: 999px; border: var(--line-k); box-shadow: var(--sh); transition: transform .2s, box-shadow .2s, background .2s; background: var(--paper); color: var(--k); white-space: nowrap; cursor: pointer; line-height: 1.2; }
.btn:hover, .lm-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--k); }
.btn:active, .lm-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--k); }
.btn:disabled { opacity: .7; cursor: wait; }
.btn-primary, .btn-blue, .btn-orange, .lm-btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover, .btn-blue:hover, .btn-orange:hover, .lm-btn-primary:hover { background: var(--brand-2); }
.btn-dark { background: var(--k); color: #fff; box-shadow: 4px 4px 0 var(--brand); }
.btn-dark:hover { box-shadow: 6px 6px 0 var(--brand); }
.btn-outline, .btn-outline-blue, .btn-ghost { background: transparent; }
.btn-outline:hover, .btn-outline-blue:hover, .btn-ghost:hover { background: var(--paper); }
.btn-sm { padding: 10px 18px; font-size: .8rem; }
.btn-block { width: 100%; }
.btn .ico, .lm-btn .ico, .btn .ic { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.round-dark { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--k); color: #fff; flex: none; transition: transform .25s; }
.call-line { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-h); font-weight: 800; font-size: 1.05rem; }
.call-line em { display: block; font-style: normal; font-family: var(--ff-b); font-weight: 500; font-size: .85rem; color: var(--muted); }
.call-line:hover .round-dark { transform: rotate(-12deg); background: var(--brand); color: var(--on-brand); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; border-bottom: 2px solid var(--k); padding-bottom: 2px; align-self: flex-start; }
.link-more .ico { width: 16px; height: 16px; transition: transform .2s; }
a:hover .link-more .ico, .link-more:hover .ico { transform: translateX(3px); }
.lm-spinner { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }

/* ----- header ----- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 2px solid transparent; transition: border-color .25s; }
.site-header.scrolled { border-bottom-color: var(--k); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 86px; }
.logo { display: inline-flex; align-items: center; min-width: 0; }
.logo-img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.logo .site-wordmark { font-family: var(--ff-h); font-size: 28px; height: auto; }
.logo .site-logo-chip { height: 46px; }
.main-nav > ul { display: flex; gap: 4px; }
.main-nav a { display: inline-flex; align-items: center; padding: 9px 15px; font-weight: 600; border-radius: 999px; border: 2px solid transparent; transition: border-color .2s, background .2s; }
.main-nav a:hover, .main-nav li.active a { border-color: var(--k); background: var(--paper); }
.main-nav li.active a { box-shadow: 3px 3px 0 var(--k); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; width: 50px; height: 50px; border-radius: 50%; border: var(--line-k); background: var(--brand); color: var(--on-brand); place-items: center; box-shadow: 3px 3px 0 var(--k); transition: transform .2s; }
.menu-btn:hover { transform: rotate(90deg); }
.menu-btn .ico { width: 22px; height: 22px; }

/* ----- drawer (outside the header) ----- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(var(--dark-rgb), .5); z-index: 90; opacity: 0; visibility: hidden; transition: .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); background: var(--bg); border-left: var(--line-k); z-index: 100; transform: translateX(105%); transition: transform .35s ease; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; visibility: hidden; }
body.nav-open { overflow: hidden; }
body.nav-open .drawer { transform: none; visibility: visible; }
body.nav-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-head .logo-img { height: 38px; }
.drawer-close { width: 46px; height: 46px; border-radius: 50%; border: var(--line-k); background: var(--paper); display: grid; place-items: center; flex: none; }
.drawer-nav { display: flex; flex-direction: column; border-top: var(--line-k); }
.dn-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(var(--dark-rgb), .2); font-family: var(--ff-h); font-weight: 700; font-size: 1.12rem; }
.dn-link .ico { width: 18px; height: 18px; transition: transform .2s; }
.dn-link:hover .ico, .dn-link.on .ico { transform: translateX(4px); }
.dn-link.on { color: var(--brand); }
.drawer-info { display: flex; flex-direction: column; gap: 14px; }
.drawer-info > a:not(.btn) { display: flex; align-items: center; gap: 10px; font-weight: 600; overflow-wrap: anywhere; }
.drawer-lead { margin: 0; }

/* ----- home hero ----- */
.hero { position: relative; padding: 46px 0 50px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 20px; }
.hero-title .mark { margin-top: 6px; }
.hero-text { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-lines { left: 50%; top: 40px; }
.hero-squiggle { left: 2%; bottom: 20px; opacity: .8; }

.search-card { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.search-card .sf { display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; min-width: 0; }
.search-card .sf-q, .search-card .sf-cat { border-bottom: var(--line-k); }
.search-card .sf-q, .search-card .sf-loc-wrap { border-right: var(--line-k); }
.sf-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-h); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sf-label .ico { width: 15px; height: 15px; color: var(--brand); }
.search-card input[type="text"] { width: 100%; border: 0; outline: none; background: transparent; font: inherit; font-size: 1rem; color: var(--k); padding: 6px 0; min-width: 0; }
.search-card input::placeholder { color: var(--muted); opacity: .8; }
.sf-loc { display: flex; align-items: center; gap: 8px; }
.location-btn, .lm-locate { flex: none; width: 38px; height: 38px; border-radius: 50%; border: var(--line-k); background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: 2px 2px 0 var(--k); transition: transform .2s; padding: 0; }
.location-btn:hover { transform: rotate(45deg); }
.location-btn .ico { width: 18px; height: 18px; }
.search-card .btn-search { margin: 12px; border-radius: 18px; }
.search-card .lm-dd-trigger { height: auto; padding: 6px 0; border: 0; background: transparent; box-shadow: none !important; font-size: 1rem; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: .95rem; }
.avatars { display: flex; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; border: var(--line-k); object-fit: cover; margin-left: -12px; background: var(--accent-light); }
.avatars img:first-child { margin-left: 0; }

.hero-visual { position: relative; height: 560px; }
.hv-rect { position: absolute; left: 8%; right: 0; bottom: 0; height: 82%; background: var(--accent); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.hv-rect::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(0, 0, 0, .2) 1.4px, transparent 1.6px); background-size: 18px 18px; opacity: .55; }
.hv-person { position: absolute; bottom: 2px; left: 54%; transform: translateX(-50%); height: 98%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; z-index: 2; }
.hv-prop { position: absolute; width: 120px; height: auto; left: -4px; bottom: 34px; z-index: 3; animation: floaty 4s ease-in-out infinite; filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, .15)); }
.hv-arrow { left: -8%; top: 4%; transform: rotate(10deg); }
.hv-star { right: 4%; top: 0; width: 46px; height: 46px; animation: spin 10s linear infinite; }
.hv-badge { position: absolute; right: -6px; top: 20%; width: 124px; height: 124px; border-radius: 50%; background: var(--k); border: 3px solid var(--bg); z-index: 4; display: grid; place-items: center; }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge-ring text { fill: #fff; font-family: var(--ff-h); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.badge-spark { position: static; width: 38px; height: 38px; }
.hv-chip { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; background: var(--paper); border: var(--line-k); border-radius: 16px; box-shadow: var(--sh); padding: 10px 14px; font-size: .88rem; line-height: 1.25; max-width: 210px; }
.hv-chip b { font-family: var(--ff-h); display: block; font-size: 1.05rem; }
.hv-chip .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; border: var(--line-k); background: var(--brand); color: var(--on-brand); }
.hv-chip-1 { left: 2%; top: 32%; }
.hv-chip-2 { right: 2%; bottom: 8%; }
.hv-chip-2 .ico { background: var(--ok); color: var(--k); }

/* ----- stats ----- */
.stats-wrap { padding: 18px 0; position: relative; z-index: 3; }
.stats-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--accent); color: var(--on-accent); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.stat { padding: 32px 22px; text-align: center; border-right: var(--line-k); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--ff-h); font-weight: 800; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1; margin-bottom: 8px; }
.stat > span { font-weight: 600; }

/* ----- section heads ----- */
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.sec-head-left { text-align: left; margin-left: 0; margin-bottom: 30px; }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 46px; flex-wrap: wrap; }
.sec-row .sec-head { margin-bottom: 0; }

/* ----- grids ----- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.c-brand { background: var(--brand); color: var(--on-brand); }
.c-accent { background: var(--accent); color: var(--on-accent); }
.c-light { background: var(--accent-light); }
.c-white { background: var(--paper); }

/* ----- categories ----- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.cat-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.cat-card:hover { transform: translate(-4px, -4px); box-shadow: var(--sh-lg); }
.cat-img { display: block; height: 210px; border-bottom: var(--line-k); overflow: hidden; background: var(--accent-light); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-body { padding: 18px 70px 20px 20px; min-width: 0; }
.cat-body strong { display: block; font-family: var(--ff-h); font-size: 1.2rem; }
.cat-body small { color: var(--muted); font-size: .9rem; }
.cat-go { position: absolute; right: 16px; bottom: 20px; width: 42px; height: 42px; border-radius: 50%; border: var(--line-k); display: grid; place-items: center; background: var(--paper); transition: background .2s, transform .2s; }
.cat-go .ico { width: 18px; height: 18px; }
.cat-card:hover .cat-go { background: var(--brand); color: var(--on-brand); transform: rotate(-45deg); }
.cat-card:nth-child(4n+2) .cat-img { background: var(--light); }

/* ----- marquee ----- */
.marquee { background: var(--brand); color: var(--on-brand); border-top: var(--line-k); border-bottom: var(--line-k); overflow: hidden; padding: 18px 0; transform: rotate(-1.5deg); margin: 10px -20px; position: relative; z-index: 2; }
.mq-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.mq-row { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.mq-row span { font-family: var(--ff-h); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 2rem); text-transform: uppercase; white-space: nowrap; }
.mq-star { position: static; width: 32px; height: 32px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----- trending rail ----- */
.trend-sec { background: var(--bg-2); border-bottom: var(--line-k); margin-top: -30px; padding-top: 126px; }
.lm-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.category-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: var(--line-k); border-radius: 999px; background: var(--paper); font-weight: 700; font-size: .92rem; box-shadow: 3px 3px 0 var(--k); transition: transform .2s, background .2s, box-shadow .2s; }
.category-chip svg { width: 18px; height: 18px; flex: none; }
.category-chip:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--k); }
.category-chip.active { background: var(--k); color: #fff; box-shadow: 3px 3px 0 var(--brand); }
.lm-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.lm-skel { height: 390px; border: var(--line-k); border-radius: var(--r-lg); background: linear-gradient(100deg, var(--paper) 30%, var(--light) 50%, var(--paper) 70%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }
.lm-empty { grid-column: 1 / -1; text-align: center; background: var(--paper); border: var(--line-k); border-radius: var(--r); padding: 30px; box-shadow: var(--sh); margin: 0; }

/* ----- business card ----- */
.lm-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.lm-card:hover { transform: translate(-4px, -4px); box-shadow: var(--sh-lg); }
.lm-card.is-premium { box-shadow: 4px 4px 0 var(--brand), 4px 4px 0 2px var(--k); }
.lm-card.is-premium:hover { box-shadow: 8px 8px 0 var(--brand), 8px 8px 0 2px var(--k); }
.lm-card-media { position: relative; }
.lm-cover { position: relative; display: block; height: 190px; overflow: hidden; border-bottom: var(--line-k); background: var(--accent-light); }
.lm-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
img.lm-cover-img { transition: transform .5s; }
.lm-card:hover img.lm-cover-img { transform: scale(1.05); }
.lm-badge { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: var(--accent); color: var(--on-accent); border: var(--line-k); border-radius: 999px; padding: 4px 12px; font-family: var(--ff-h); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; box-shadow: 2px 2px 0 var(--k); }
.lm-badge .lm-ico { width: 13px; height: 13px; fill: currentColor; }
.lm-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; min-width: 0; }
.lm-card-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 10px; }
.lm-card-meta span { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border: 1.5px solid var(--k); border-radius: 999px; padding: 2px 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-card-meta span.ok { background: var(--ok); }
.lm-card-title { font-size: 1.14rem; margin: 0 0 8px; overflow-wrap: anywhere; }
.lm-card-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.lm-card-addr { display: flex; gap: 6px; color: var(--muted); font-size: .9rem; line-height: 1.45; margin: 0 0 16px; flex: 1; min-width: 0; }
.lm-card-addr .lm-ico { margin-top: 2px; color: var(--brand); }
.lm-card-addr span { overflow-wrap: anywhere; }
.lm-card-actions { display: flex; align-items: center; gap: 10px; }
.lm-card-actions .lm-btn-primary { flex: 1; padding: 11px 16px; font-size: .8rem; box-shadow: 3px 3px 0 var(--k); }
.lm-btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; flex: none; background: var(--accent); color: var(--on-accent); box-shadow: 3px 3px 0 var(--k); }
.lm-btn-icon .lm-ico { width: 18px; height: 18px; }

/* ----- about / why ----- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.about-media { position: relative; padding: 0 30px 30px 0; }
.am-frame { border: var(--line-k); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); background: var(--accent-light); aspect-ratio: 5 / 4; }
.am-frame img { width: 100%; height: 100%; object-fit: cover; }
.am-chip { position: absolute; right: 0; bottom: 0; background: var(--brand); color: var(--on-brand); border: var(--line-k); border-radius: var(--r); box-shadow: var(--sh); padding: 16px 22px; max-width: 230px; }
.am-chip.alt { background: var(--accent); color: var(--on-accent); }
.am-chip strong { display: block; font-family: var(--ff-h); font-size: 2.3rem; line-height: 1; }
.am-chip span { font-weight: 600; font-size: .92rem; }
.am-star { left: -18px; top: -18px; width: 54px; height: 54px; animation: spin 12s linear infinite; }
.about-grid.rev .about-media { order: 2; }
.ticks { display: grid; gap: 12px; margin-bottom: 30px; }
.ticks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; min-width: 0; }
.ticks .ico { width: 24px; height: 24px; padding: 3px; border: var(--line-k); border-radius: 50%; background: var(--ok); color: var(--k); stroke-width: 3; margin-top: 1px; }
.ticks li.off { color: var(--muted); font-weight: 500; text-decoration: line-through; }
.ticks li.off .ico { background: var(--paper); }
.mini-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 26px; }
.mini { border: var(--line-k); border-radius: var(--r); padding: 22px; box-shadow: var(--sh); }
.mini h3 { font-size: 1.1rem; color: inherit; }
.mini p { margin: 0; }

/* ----- services (about) ----- */
.services-sec { background: var(--bg-2); border-top: var(--line-k); border-bottom: var(--line-k); }
.svc-card { background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--sh); transition: transform .25s, box-shadow .25s; }
.svc-card:hover { transform: translate(-4px, -4px); box-shadow: var(--sh-lg); }
.svc-card p { color: var(--muted); margin: 0; }
.svc-icon { display: grid; place-items: center; width: 64px; height: 64px; border: var(--line-k); border-radius: 18px; margin-bottom: 22px; box-shadow: 3px 3px 0 var(--k); flex: none; transition: transform .25s; }
.svc-icon .ico { width: 28px; height: 28px; }
.svc-card:hover .svc-icon { transform: rotate(-8deg); }

/* ----- process ----- */
.process-sec { overflow: hidden; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.step { position: relative; background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--sh); }
.step:nth-child(2), .step:nth-child(4) { margin-top: 30px; }
.step-no { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: var(--line-k); font-family: var(--ff-h); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; background: var(--accent); color: var(--on-accent); }
.step:nth-child(2) .step-no { background: var(--accent-light); color: var(--k); }
.step:nth-child(3) .step-no { background: var(--brand); color: var(--on-brand); }
.step:nth-child(4) .step-no { background: var(--ok); color: var(--k); }
.step-ic { position: absolute; right: 22px; top: 30px; color: var(--muted); opacity: .5; }
.step-ic .ico { width: 30px; height: 30px; }
.step p { color: var(--muted); margin: 0; }
.pr-squiggle { right: 6%; top: 60px; }

/* ----- cta ----- */
.cta-sec { padding-top: 20px; }
.cta-box { position: relative; background: var(--accent-light); border: var(--line-k); border-radius: 36px; box-shadow: var(--sh-lg); padding: 64px 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 30px; align-items: center; overflow: hidden; }
.cta-box h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-text p { font-size: 1.08rem; max-width: 560px; color: var(--muted); margin-bottom: 24px; }
.cta-plans { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.cta-plans li { background: var(--paper); border: var(--line-k); border-radius: 14px; padding: 8px 16px; box-shadow: 3px 3px 0 var(--k); line-height: 1.3; }
.cta-plans li.hot { background: var(--brand); color: var(--on-brand); }
.cta-plans b { display: block; font-family: var(--ff-h); }
.cta-plans span { font-size: .85rem; }
.cta-prop { width: 100%; max-width: 300px; height: auto; justify-self: center; animation: floaty 5s ease-in-out infinite; }
.cta-arrow { right: 30%; top: 26px; }
.cta-lines { left: 22px; top: 16px; }

/* ----- blog cards ----- */
.blog-sec { background: var(--bg-2); border-top: var(--line-k); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.post-card { background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; min-width: 0; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translate(-4px, -4px); box-shadow: var(--sh-lg); }
.pc-img { position: relative; display: block; height: 220px; overflow: hidden; border-bottom: var(--line-k); background: var(--accent-light); flex: none; }
.post-card:hover img.lm-cover-img { transform: scale(1.05); }
.pc-cat { position: absolute; left: 16px; top: 16px; z-index: 2; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--accent); color: var(--on-accent); border: var(--line-k); border-radius: 999px; padding: 3px 12px; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pc-body h3 { font-size: 1.18rem; overflow-wrap: anywhere; }
.pc-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.pc-body p { color: var(--muted); flex: 1; overflow-wrap: anywhere; }
.pc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .86rem; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.pc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pc-meta .ico { width: 16px; height: 16px; color: var(--brand); }

/* ----- newsletter + footer ----- */
.newsletter { padding: 40px 0 0; position: relative; z-index: 2; margin-bottom: -90px; }
.nl-box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; background: var(--accent); color: var(--on-accent); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 40px 48px; }
.nl-box h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: inherit; margin-bottom: 8px; }
.nl-box p { margin: 0; }
.nl-box .tag { margin-bottom: 14px; }
.nl-lines { right: 18px; top: 12px; color: var(--k); }
.nl-star { left: -16px; bottom: -16px; width: 46px; height: 46px; animation: spin 12s linear infinite; }
.nl-form { display: flex; gap: 12px; background: var(--paper); border: var(--line-k); border-radius: 999px; padding: 6px; box-shadow: var(--sh); min-width: 0; }
.nl-form input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; padding: 0 16px; color: var(--k); }
.nl-form .btn { box-shadow: none; padding: 12px 22px; }
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .78); padding-top: 160px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.2fr); gap: 46px; padding-bottom: 56px; }
.f-logo { background: var(--paper); border: 2px solid #fff; border-radius: 18px; padding: 12px 18px; box-shadow: 4px 4px 0 var(--brand); margin-bottom: 22px; }
.f-logo .logo-img { height: 40px; }
.f-brand p { max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 20px; }
.f-col ul { display: grid; gap: 10px; }
.f-col a:hover { color: var(--accent); }
.f-contact li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.f-contact a, .f-contact span { overflow-wrap: anywhere; }
.f-contact .ico { color: var(--accent); margin-top: 3px; width: 18px; height: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); color: #fff; transition: background .2s, border-color .2s, color .2s; }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 22px; padding-bottom: 26px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom span { opacity: .4; margin: 0 6px; }
.footer-bottom a:hover { color: var(--accent); }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: var(--on-accent); border: var(--line-k); box-shadow: 3px 3px 0 var(--k); display: grid; place-items: center; z-index: 40; opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ----- inner page hero ----- */
.page-hero { position: relative; padding: 64px 0 74px; overflow: hidden; border-bottom: var(--line-k); background: var(--bg) radial-gradient(rgba(var(--dark-rgb), .12) 1.3px, transparent 1.5px) 0 0 / 22px 22px; }
.ph-card { position: relative; z-index: 2; max-width: 840px; margin: 0 auto; background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 40px 40px 36px; text-align: center; }
.ph-card h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); margin-bottom: 14px; overflow-wrap: anywhere; }
.ph-card .tag { margin-bottom: 16px; }
.ph-sub { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto 20px; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; background: var(--accent); color: var(--on-accent); border: var(--line-k); border-radius: 999px; padding: 5px 18px; font-weight: 600; font-size: .92rem; max-width: 100%; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: .6; }
.breadcrumb [aria-current] { overflow-wrap: anywhere; }
.ph-arrow { left: 6%; top: 36px; }
.ph-squiggle { right: 7%; bottom: 30px; }
.ph-star { right: 13%; top: 36px; width: 50px; height: 50px; animation: spin 12s linear infinite; }
.ph-star2 { left: 12%; bottom: 36px; width: 30px; height: 30px; }
.ph-circle { left: 3%; top: 55%; }
.page-hero.compact { padding: 36px 0 40px; }
.page-hero.compact .ph-card { padding: 28px 30px 26px; }
.page-hero.compact .ph-card h1 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.page-hero.compact .ph-arrow, .page-hero.compact .ph-circle { display: none; }

/* ----- forms (shared) ----- */
.lm-form { display: grid; gap: 14px; }
.lm-form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lm-input, .lm-textarea, .side-search .input { width: 100%; font: inherit; color: var(--k); background: var(--bg); border: var(--line-k); border-radius: 14px; padding: 13px 16px; outline: none; transition: box-shadow .2s, background .2s; min-width: 0; }
.lm-textarea { resize: vertical; min-height: 110px; }
.lm-input:focus, .lm-textarea:focus, .side-search .input:focus { background: var(--paper); box-shadow: 3px 3px 0 var(--brand); }
.form-card { position: relative; background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 38px; }
.form-card > h3 { font-size: 1.6rem; }

/* ----- lm-select (engine 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 14px 0 16px; border-radius: 14px; border: var(--line-k); background: var(--bg); display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; font-size: 1rem; color: var(--k); cursor: pointer; transition: box-shadow .2s, background .2s; }
.lm-dd-trigger .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-dd-trigger.placeholder .txt { color: var(--muted); }
.lm-dd-trigger .chev { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s; }
.lm-dd-trigger:focus-visible, .lm-dd.open .lm-dd-trigger { outline: none; background: var(--paper); box-shadow: 3px 3px 0 var(--brand); }
.lm-dd.open .chev { transform: rotate(180deg); color: var(--brand); }
.lm-dd-panel { position: fixed; z-index: 1000; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: var(--line-k); border-radius: 16px; box-shadow: var(--sh); color: var(--k); font-family: var(--ff-b); animation: lm-dd-in .16s ease; }
.lm-dd-search { position: relative; padding: 10px; border-bottom: var(--line-k); }
.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: var(--line-k); border-radius: 10px; background: var(--bg); font-size: 14px; outline: none; }
.lm-dd-search input:focus { background: var(--paper); }
.lm-dd-list { overflow-y: auto; padding: 6px; overscroll-behavior: contain; margin: 0; list-style: none; }
.lm-dd-list::-webkit-scrollbar { width: 8px; }
.lm-dd-list::-webkit-scrollbar-thumb { background: rgba(var(--dark-rgb), .3); border-radius: 8px; border: 2px solid #fff; }
.lm-dd-list li { position: relative; padding: 9px 34px 9px 12px; border-radius: 10px; font-size: 15px; cursor: pointer; line-height: 1.35; }
.lm-dd-list li.act { background: var(--light); }
.lm-dd-list li.sel { font-weight: 700; background: var(--accent-light); }
.lm-dd-list li.sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 10px; height: 5px; border-left: 2px solid var(--k); border-bottom: 2px solid var(--k); 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; } }

/* ----- listing page ----- */
.list-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 40px; align-items: start; }
.list-side { display: grid; gap: 26px; position: sticky; top: 108px; }
.side-box { position: relative; background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 26px; min-width: 0; }
.side-box > h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.side-box > h3 .ico { color: var(--brand); }
.filters { display: grid; gap: 16px; }
.filters h3 { margin: 0; }
.f-group { display: grid; gap: 6px; min-width: 0; }
.f-group label, .f-title { font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.f-ico { position: relative; display: flex; align-items: center; }
.f-ico > .ico { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.f-ico input { width: 100%; height: 50px; font: inherit; color: var(--k); background: var(--bg); border: var(--line-k); border-radius: 14px; padding: 0 14px 0 42px; outline: none; min-width: 0; }
.f-ico input:focus { background: var(--paper); box-shadow: 3px 3px 0 var(--brand); }
.f-ico .location-btn { position: absolute; right: 6px; width: 38px; height: 38px; }
.f-ico .location-input { padding-right: 52px; }
.reset-link { justify-self: center; font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.side-cta { background: var(--accent-light); overflow: hidden; padding-right: 26px; }
.side-cta h3 { font-size: 1.2rem; margin: 6px 0 8px; display: block; max-width: 70%; }
.side-cta p { font-size: .92rem; color: var(--muted); max-width: 70%; }
.side-cta .tag { margin-bottom: 4px; }
.side-prop { position: absolute; right: -16px; bottom: 6px; width: 120px; height: auto; pointer-events: none; }
.lm-results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 30px; }
.lm-results-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; overflow-wrap: anywhere; min-width: 0; }
.pill-loc { display: inline-flex; align-items: center; gap: 6px; border: var(--line-k); border-radius: 999px; background: var(--paper); padding: 6px 14px; font-weight: 600; font-size: .9rem; box-shadow: 3px 3px 0 var(--k); max-width: 100%; }
.pill-loc .ico { width: 16px; height: 16px; color: var(--brand); flex: none; }
.lm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.lm-loadmore { text-align: center; margin-top: 40px; }
.lm-loadmore .btn { min-width: 200px; }
.empty-state { position: relative; grid-column: 1 / -1; max-width: 640px; margin: 0 auto; text-align: center; background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 50px 34px; }
.empty-state p { color: var(--muted); }
.empty-icon { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; border: var(--line-k); background: var(--accent); color: var(--on-accent); box-shadow: var(--sh); margin-bottom: 18px; }
.empty-icon .ico, .empty-icon .ic { width: 32px; height: 32px; }
.es-star { right: 24px; top: -20px; width: 46px; height: 46px; }

/* ----- business details ----- */
.biz-card { max-width: 980px; text-align: left; }
.biz-card .breadcrumb { margin-bottom: 18px; justify-content: flex-start; }
.biz-card .tag { margin-bottom: 12px; }
.biz-card h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.biz-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 500; margin-bottom: 22px; }
.biz-meta span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.biz-meta .ico { width: 18px; height: 18px; color: var(--brand); flex: none; }
.biz-meta b { color: var(--k); }
.biz-acts { display: flex; flex-wrap: wrap; gap: 14px; }
.lm-stars { display: inline-flex; letter-spacing: 1px; font-size: 1rem; line-height: 1; }
.lm-stars .on { color: var(--star); }
.lm-stars .off { color: rgba(0, 0, 0, .18); }
.td-gallery { position: relative; display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 200px 200px; margin-bottom: 36px; }
.td-gallery > a, .td-gallery > div { position: relative; display: block; overflow: hidden; border: var(--line-k); border-radius: var(--r); box-shadow: var(--sh); background: var(--accent-light); }
.td-gallery .g-main { grid-column: span 2; grid-row: span 2; }
.td-gallery.n1 { grid-template-columns: minmax(0, 1fr); grid-template-rows: 380px; }
.td-gallery.n1 .g-main { grid-column: auto; grid-row: auto; }
.td-gallery.n2 { grid-template-rows: 380px; }
.td-gallery.n2 .g-main { grid-row: auto; grid-column: span 2; }
.td-gallery.n2 > a:not(.g-main) { grid-column: span 2; }
.td-gallery.n3 > a:not(.g-main) { grid-column: span 2; }
.td-gallery.n4 > a:nth-child(4) { grid-column: span 2; }
.g-count { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: var(--k); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .85rem; }
.g-count .ico { width: 16px; height: 16px; }
.td-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: var(--line-k); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--sh); margin-bottom: 46px; overflow: hidden; }
.td-facts > div { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-right: var(--line-k); min-width: 0; }
.td-facts > div:last-child { border-right: 0; }
.td-facts > div > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; border: var(--line-k); background: var(--accent-light); flex: none; }
.td-facts > div.big { background: var(--accent); color: var(--on-accent); }
.td-facts > div.big > .ico { background: var(--paper); color: var(--k); }
.td-facts span { min-width: 0; }
.td-facts small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; opacity: .75; }
.td-facts strong { font-family: var(--ff-h); font-size: 1.12rem; overflow-wrap: anywhere; }
.td-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.td-main { display: grid; gap: 28px; min-width: 0; }
.td-block { background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 30px 32px; min-width: 0; }
.td-block h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 18px; }
.td-block .desc { color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 11px 4px; border-bottom: 1.5px dashed rgba(var(--dark-rgb), .3); text-align: left; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.hours-table th .ico { width: 18px; height: 18px; color: var(--brand); }
.hours-table td { text-align: right; color: var(--muted); }
.rating-sum { display: flex; align-items: center; gap: 18px; background: var(--accent-light); border: var(--line-k); border-radius: var(--r); padding: 16px 20px; margin-bottom: 22px; }
.rating-sum .big { font-family: var(--ff-h); font-weight: 800; font-size: 3rem; line-height: 1; }
.rating-sum p { margin: 4px 0 0; color: var(--muted); }
.lm-reviews { display: grid; gap: 16px; }
.review { display: flex; gap: 14px; padding: 18px; border: var(--line-k); border-radius: var(--r); background: var(--bg); min-width: 0; }
.review > div { min-width: 0; }
.review h4 { margin: 0 0 2px; font-size: 1rem; }
.review small { color: var(--muted); margin-right: 8px; }
.review p { margin: 8px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.reply { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--brand); background: var(--paper); border-radius: 0 10px 10px 0; font-size: .92rem; }
.lm-avatar { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: var(--line-k); font-family: var(--ff-h); font-weight: 800; font-size: .95rem; flex: none; background: var(--accent); color: var(--on-accent); }
.lm-avatar.tone-1, .lm-avatar.tone-4 { background: var(--brand); color: var(--on-brand); }
.lm-avatar.tone-2, .lm-avatar.tone-5 { background: var(--accent-light); color: var(--k); }
.lm-sticky { position: sticky; top: 108px; min-width: 0; }
.book-card { background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.book-head { background: var(--brand); color: var(--on-brand); padding: 22px 26px; border-bottom: var(--line-k); }
.book-head small { font-weight: 600; opacity: .85; }
.book-head h3 { color: inherit; margin: 2px 0 0; font-size: 1.35rem; overflow-wrap: anywhere; }
.book-contact { display: grid; gap: 10px; padding: 20px 26px 0; }
.book-contact li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; min-width: 0; }
.book-contact li > * { overflow-wrap: anywhere; min-width: 0; }
.book-contact .ico { width: 18px; height: 18px; color: var(--brand); margin-top: 3px; }
.book-contact a:hover { text-decoration: underline; }
.book-body { padding: 18px 26px 22px; }
.book-note { color: var(--muted); font-size: .94rem; }
.book-trust { display: grid; gap: 8px; padding: 16px 26px; border-top: var(--line-k); background: var(--accent-light); font-size: .86rem; font-weight: 600; }
.book-trust span { display: flex; align-items: center; gap: 8px; }
.book-trust .ico { width: 16px; height: 16px; }

/* ----- blogs ----- */
.lm-blog-filter { display: grid; gap: 8px; min-width: 260px; }
.lm-blog-filter .lm-dd-trigger { background: var(--paper); box-shadow: 3px 3px 0 var(--k); }

/* ----- fullpost ----- */
.post-sec { padding-top: 56px; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
.lm-article { background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 30px 34px 36px; min-width: 0; }
.article-cover { position: relative; height: 380px; border: var(--line-k); border-radius: var(--r); overflow: hidden; margin: 6px 0 28px; background: var(--accent-light); }
.blog-content { font-size: 1.04rem; overflow-wrap: anywhere; }
.blog-content img { height: auto; border-radius: 14px; border: var(--line-k); }
.blog-content h2, .blog-content h3 { margin-top: 1.4em; }
.blog-content a { color: var(--brand); text-decoration: underline; }
.blog-content ul, .blog-content ol { padding-left: 1.3em; margin: 0 0 1em; }
.blog-content ul { list-style: disc; }
.blog-content table { max-width: 100%; display: block; overflow-x: auto; }
.blog-content pre { overflow-x: auto; }
.blog-content blockquote { margin: 1.4em 0; padding: 20px 24px; background: var(--accent-light); border: var(--line-k); border-radius: var(--r); box-shadow: var(--sh); font-family: var(--ff-h); font-weight: 700; }
.lm-comments { margin-top: 40px; padding-top: 30px; border-top: 2px dashed var(--k); }
.lm-comments > h2 { font-size: 1.6rem; }
#commentsList { display: grid; gap: 14px; margin-bottom: 26px; }
.lm-comment { border: var(--line-k); border-radius: var(--r); padding: 16px 18px; background: var(--bg); min-width: 0; }
.lm-comment p { margin: 8px 0 0; overflow-wrap: anywhere; }
.lm-comment .who { display: flex; align-items: center; gap: 10px; }
.lm-comment .who .lm-avatar { width: 38px; height: 38px; font-size: .8rem; }
.reply-btn { margin-top: 10px; background: var(--paper); border: var(--line-k); border-radius: 999px; padding: 3px 14px; font-weight: 700; font-size: .82rem; }
.reply-form { display: grid; gap: 10px; margin-top: 12px; }
.replies { display: grid; gap: 10px; margin-top: 12px; padding-left: 20px; border-left: 3px solid var(--brand); }
.replies .lm-comment { background: var(--paper); }
.lm-comments .form-card { box-shadow: var(--sh); padding: 28px; }
.lm-comments .form-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.post-side { display: grid; gap: 26px; }
.side-search { display: flex; gap: 10px; }
.side-search .btn { padding: 0; width: 50px; height: 50px; flex: none; box-shadow: 3px 3px 0 var(--k); }
.mini-post { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1.5px dashed rgba(var(--dark-rgb), .25); min-width: 0; }
.mini-post:last-of-type { border-bottom: 0; }
.mini-post .sq { position: relative; width: 78px; height: 66px; border-radius: 12px; border: var(--line-k); overflow: hidden; flex: none; background: var(--accent-light); }
.mini-post > span:last-child { min-width: 0; }
.mini-post strong { display: block; font-family: var(--ff-h); font-weight: 700; line-height: 1.3; font-size: .95rem; overflow-wrap: anywhere; }
.mini-post small { color: var(--muted); }
.mini-post:hover strong { text-decoration: underline; }

/* ----- pricing ----- */
.lm-toggle { display: inline-flex; gap: 4px; margin-top: 26px; padding: 5px; background: var(--paper); border: var(--line-k); border-radius: 999px; box-shadow: 3px 3px 0 var(--k); }
.lm-toggle button { border: 0; background: transparent; border-radius: 999px; padding: 9px 20px; font-family: var(--ff-h); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.lm-toggle button.on { background: var(--k); color: #fff; }
.lm-toggle .save { font-size: .72rem; background: var(--ok); color: var(--k); border: 1.5px solid var(--k); border-radius: 999px; padding: 1px 8px; }
.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: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 36px 30px; min-width: 0; }
.lm-plan.featured { background: var(--accent); color: var(--on-accent); box-shadow: var(--sh-lg); transform: translateY(-14px); }
.lm-plan.featured.animate-this { translate: 0 0; }
.lm-plan.featured h3 { color: inherit; }
.lm-plan.featured .for, .lm-plan.featured .price small { color: inherit; opacity: .85; }
.ribbon { position: absolute; top: -16px; right: 24px; background: var(--k); color: #fff; font-family: var(--ff-h); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; padding: 6px 14px; border-radius: 999px; }
.plan-head h3 { font-size: 1.45rem; margin-bottom: 4px; }
.plan-head .for { color: var(--muted); margin: 0; }
.lm-plan .price { font-family: var(--ff-h); font-weight: 800; font-size: 3.1rem; line-height: 1; padding: 18px 0 22px; margin-bottom: 22px; border-bottom: 2px dashed currentColor; }
.lm-plan .price small { font-family: var(--ff-b); font-size: 1rem; font-weight: 600; color: var(--muted); }
.lm-plan .ticks { flex: 1; align-content: start; }
.lm-plan.featured .ticks li.off { color: inherit; opacity: .7; }
.compare-sec { background: var(--bg-2); border-top: var(--line-k); }
.lm-table-wrap { max-width: 860px; margin: 0 auto; overflow-x: auto; background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh); }
.lm-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.lm-table th, .lm-table td { padding: 16px 20px; text-align: center; border-bottom: var(--line-k); }
.lm-table th:first-child, .lm-table td:first-child { text-align: left; font-weight: 700; }
.lm-table thead th { font-family: var(--ff-h); background: var(--k); color: #fff; }
.lm-table tbody tr:last-child td { border-bottom: 0; }
.lm-yes, .lm-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: var(--line-k); }
.lm-yes { background: var(--ok); }
.lm-no { background: var(--paper); opacity: .6; }
.lm-dialog { width: min(520px, calc(100vw - 32px)); padding: 0; border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh-lg); background: var(--paper); color: var(--k); }
.lm-dialog::backdrop { background: rgba(var(--dark-rgb), .55); }
.lm-dialog-head { position: relative; background: var(--accent); color: var(--on-accent); padding: 26px 28px 22px; border-bottom: var(--line-k); }
.lm-dialog-head h3 { color: inherit; font-size: 1.5rem; margin-bottom: 6px; }
.lm-dialog-head p { margin: 0 0 12px; padding-right: 30px; }
.lm-dialog-head .plan { display: inline-block; background: var(--k); color: #fff; border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: .88rem; }
.lm-dialog-close { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; border: var(--line-k); background: var(--paper); color: var(--k); display: grid; place-items: center; }
.lm-dialog-body { padding: 24px 28px 28px; }

/* ----- contact ----- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
.info-cards { display: grid; gap: 16px; }
.info-card { display: flex; align-items: center; gap: 16px; background: var(--paper); border: var(--line-k); border-radius: var(--r); box-shadow: var(--sh); padding: 16px 18px; font-family: var(--ff-h); font-weight: 700; min-width: 0; transition: transform .2s, box-shadow .2s; }
a.info-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--k); }
.info-card > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.info-card .svc-icon { width: 52px; height: 52px; margin: 0; border-radius: 14px; }
.info-card .svc-icon .ico { width: 24px; height: 24px; }
.info-card em { display: block; font-style: normal; font-family: var(--ff-b); font-weight: 500; color: var(--muted); font-size: .85rem; }
.form-person { position: absolute; right: 18px; top: -86px; width: 120px; height: auto; pointer-events: none; }
.contact-sec .form-card { margin-top: 60px; }
.map-sec { padding-bottom: 60px; }
.map-box { position: relative; height: 400px; border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; background: var(--bg-2); }
.map-box::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(var(--dark-rgb), .06) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(var(--dark-rgb), .06) 1px, transparent 1px) 0 0 / 40px 40px; }
.map-road { position: absolute; background: var(--paper); border: 2px solid rgba(var(--dark-rgb), .25); }
.r1 { left: -5%; right: -5%; top: 42%; height: 26px; transform: rotate(-6deg); }
.r2 { top: -10%; bottom: -10%; left: 30%; width: 22px; transform: rotate(8deg); }
.r3 { top: -10%; bottom: -10%; left: 72%; width: 18px; transform: rotate(-12deg); }
.r4 { left: -5%; right: -5%; top: 78%; height: 16px; transform: rotate(4deg); }
.map-block { position: absolute; border: 2px solid rgba(var(--dark-rgb), .3); border-radius: 10px; }
.b1 { left: 8%; top: 10%; width: 16%; height: 22%; background: var(--accent-light); }
.b2 { left: 40%; top: 56%; width: 22%; height: 16%; background: var(--paper); }
.b3 { left: 80%; top: 12%; width: 14%; height: 24%; background: var(--accent-light); }
.map-park { position: absolute; left: 44%; top: 8%; width: 20%; height: 26%; background: #BFEBCD; border-radius: 40% 60% 50% 50%; border: 2px solid rgba(var(--dark-rgb), .3); }
.map-pin { position: absolute; left: 52%; top: 46%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 2; }
.map-pin .ico { width: 54px; height: 54px; color: var(--k); fill: var(--brand); animation: bounce 1.8s ease-in-out infinite; }
.map-pin span { background: var(--k); color: #fff; font-family: var(--ff-h); font-weight: 700; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.map-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: var(--line-k); }
.d1 { left: 20%; top: 60%; } .d2 { left: 66%; top: 28%; } .d3 { left: 84%; top: 70%; }
@keyframes bounce { 50% { transform: translateY(-10px); } }

/* ----- terms ----- */
.lm-prose { position: relative; max-width: 900px; margin: 0 auto; background: var(--paper); border: var(--line-k); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 48px 52px; overflow-wrap: anywhere; }
.lm-prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lm-prose h3 { margin-top: 1.4em; }
.lm-prose p, .lm-prose li { color: var(--muted); }
.lm-prose ul { display: grid; gap: 10px; margin: 0 0 1.2em; }
.lm-prose ul li { position: relative; padding-left: 26px; }
.lm-prose ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 4px; background: var(--accent); border: 1.5px solid var(--k); }
.lm-prose ul.sub { padding-left: 26px; }
.lm-prose ul.sub li::before { background: var(--paper); border-radius: 50%; }
.lm-prose a { color: var(--brand); text-decoration: underline; }

/* ----- reveal (footer IntersectionObserver adds .animated) ----- */
.js-ready .animate-this { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s ease, transform .25s, box-shadow .25s, background .25s; }
.js-ready .animate-this.animated { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-ready .animate-this { opacity: 1; translate: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .main-nav a { padding: 9px 11px; }
  .cat-grid, .lm-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(n) { margin-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 30px; }
  .lm-grid { grid-template-columns: minmax(0, 1fr); }
  .td-layout, .blog-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; }
}
@media (max-width: 1024px) {
  .main-nav, .header-cta { display: none; }
  .menu-btn { display: grid; }
  .section { padding: 80px 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-visual { height: 480px; max-width: 560px; width: 100%; margin: 0 auto; }
  .grid-3, .post-grid, .lm-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .about-grid.rev .about-media { order: 0; }
  .list-layout, .td-layout, .blog-layout { grid-template-columns: minmax(0, 1fr); }
  .list-side, .lm-sticky { position: static; }
  .lm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-bar, .td-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2), .td-facts > div:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2), .td-facts > div:nth-child(-n+2) { border-bottom: var(--line-k); }
  .cta-box { grid-template-columns: minmax(0, 1fr); padding: 50px 36px; text-align: center; }
  .cta-text p { margin-left: auto; margin-right: auto; }
  .cta-box .btn-row, .cta-plans { justify-content: center; }
  .cta-prop { max-width: 200px; }
  .lm-plan.featured { transform: none; }
  .nl-box { grid-template-columns: minmax(0, 1fr); }
  .contact-sec .form-card { margin-top: 90px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .header-inner { height: 72px; }
  .logo-img { height: 36px; max-width: 170px; }
  .logo .site-wordmark { font-size: 22px; }
  .logo .site-logo-chip { height: 38px; }
  .menu-btn { width: 46px; height: 46px; }
  .hero { padding-top: 26px; }
  .hero-title { font-size: clamp(2.1rem, 10vw, 3rem); }
  .search-card { grid-template-columns: minmax(0, 1fr); }
  .search-card .sf-q, .search-card .sf-loc-wrap { border-right: 0; }
  .search-card .sf-loc-wrap { border-bottom: var(--line-k); }
  .hero-visual { height: 380px; }
  .hv-badge { width: 92px; height: 92px; right: 0; top: 8%; }
  .badge-spark { width: 28px; height: 28px; }
  .hv-prop { width: 86px; bottom: 16px; }
  .hv-arrow, .hero-lines { display: none; }
  .hv-chip { font-size: .8rem; padding: 8px 10px; max-width: 170px; }
  .hv-chip .ico { width: 28px; height: 28px; padding: 5px; }
  .hv-chip-1 { left: 0; top: 30%; }
  .hv-chip-2 { right: 0; bottom: 4%; }
  .cat-grid, .lm-rail, .grid-3, .post-grid, .lm-plans, .process-grid, .ticks-2, .mini-cards, .footer-grid, .lm-grid, .lm-form .two { grid-template-columns: minmax(0, 1fr); }
  .cat-img { height: 190px; }
  .stat { padding: 22px 10px; }
  .stat > span { font-size: .86rem; }
  .sec-head { margin-bottom: 38px; }
  .marquee { padding: 12px 0; }
  .trend-sec { padding-top: 100px; }
  .about-media { padding: 0 16px 24px 0; }
  .cta-box { padding: 40px 20px; border-radius: 26px; }
  .page-hero { padding: 40px 0 48px; }
  .ph-card { padding: 28px 18px 24px; }
  .ph-arrow, .ph-circle, .ph-squiggle { display: none; }
  .page-hero.compact { padding: 22px 0 26px; }
  .page-hero.compact .ph-card { padding: 20px 16px; }
  .page-hero.compact .ph-card h1 { font-size: 1.5rem; margin-bottom: 10px; }
  .page-hero.compact .ph-star { width: 32px; height: 32px; right: 4%; top: 6px; }
  .page-hero.compact .ph-star2 { display: none; }
  .post-sec { padding-top: 28px; }
  .lm-article { padding: 20px 18px 26px; }
  .article-cover { height: 210px; }
  .td-gallery, .td-gallery.n2, .td-gallery.n3, .td-gallery.n4, .td-gallery.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px; grid-auto-rows: 120px; }
  .td-gallery .g-main { grid-column: 1 / -1; grid-row: auto; }
  .td-gallery > a:not(.g-main) { grid-column: auto !important; }
  .td-gallery.n1 { grid-template-rows: 240px; }
  .td-facts { grid-template-columns: minmax(0, 1fr); }
  .td-facts > div { border-right: 0 !important; border-bottom: var(--line-k); }
  .td-facts > div:last-child { border-bottom: 0; }
  .td-block { padding: 22px 18px; }
  .form-card { padding: 26px 18px; }
  .lm-prose { padding: 30px 20px; }
  .nl-box { padding: 30px 20px; }
  .nl-form { flex-direction: column; border-radius: 20px; }
  .nl-form input { height: 46px; }
  .side-cta h3, .side-cta p { max-width: 64%; }
  .map-box { height: 300px; }
  .site-footer { padding-top: 140px; }
  .btn { padding: 13px 20px; }
  .lm-blog-filter { min-width: 0; width: 100%; }
  .biz-acts .btn { flex: 1 1 auto; }
}
