/* ==========================================================================
   temp12 skin — airy gradients, rounded cards, flat illustrations,
   hand-drawn doodles, tilted marquee ribbons, big counters.
   Brand colours come ONLY from the engine palette (--brand, --accent, …).
   ========================================================================== */
:root {
  --t-radius: 20px;
  --t-radius-sm: 14px;
  --t-muted: #7C8394;
  --t-shadow: 0 10px 30px rgba(var(--dark-rgb), .07);
  --t-shadow-lg: 0 24px 60px rgba(var(--dark-rgb), .13);
  --t-grad: linear-gradient(120deg, var(--light) 0%, var(--soft) 48%, var(--accent-light) 100%);
  --t-brand-grad: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
  --font-h: "Outfit", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; font-family: var(--font-b); font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
svg { flex-shrink: 0; }
.ic, .lm-ico { width: 20px; height: 20px; }
.lm-ico.sm { width: 15px; height: 15px; }
.hidden { display: none !important; }
.muted { color: var(--t-muted); }
.center { text-align: center; }
.mt-50 { margin-top: 50px; }
.pt-0 { padding-top: 0 !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(var(--brand-rgb), .45); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.section { padding: 100px 0; position: relative; }
.bg-soft { background: var(--soft); }
.hl { color: var(--brand); }

/* reveal (.animate-this gets .animated from the footer observer; main.js adds a safety timeout) */
.js-ready .animate-this { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js-ready .animate-this.animated { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 100px; font-family: var(--font-h); font-weight: 600; font-size: 1rem; border: 2px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s; white-space: nowrap; line-height: 1.2; cursor: pointer; text-align: center; }
.btn .ic { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:disabled { opacity: .7; transform: none; cursor: default; }
.btn-brand, .btn-blue { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px rgba(var(--brand-rgb), .28); }
.btn-brand:hover, .btn-blue:hover { background: var(--brand-2); }
.btn-accent, .btn-orange { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px rgba(var(--accent-rgb), .3); }
.btn-accent:hover, .btn-orange:hover { background: var(--accent-2); }
.btn-outline, .btn-outline-blue { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover, .btn-outline-blue:hover { background: var(--brand); color: var(--on-brand); }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--t-shadow); }
.btn-white:hover { color: var(--brand); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--brand); }
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-grid; place-items: center; transition: background .2s, color .2s, border-color .2s; padding: 0; }
.icon-btn:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.icon-btn.soft { background: var(--light); border-color: var(--light); color: var(--brand); }
.more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-h); font-weight: 600; color: var(--brand); }
.more .ic { width: 18px; height: 18px; transition: transform .25s; }
a:hover .more .ic, .more:hover .ic { transform: translateX(4px); }
.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(--brand-rgb), .2); border-top-color: var(--brand); }
@keyframes lm-spin { to { transform: rotate(360deg); } }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; min-width: 0; }
.logo-img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.site-logo-chip.logo-img { max-width: none; }
.site-wordmark.logo-img { height: auto; font-family: var(--font-h); }

/* ---------- header (no backdrop-filter / transform: the drawer lives outside it anyway) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(var(--dark-rgb), .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 86px; }
.main-nav > ul { display: flex; gap: 4px; }
.main-nav a { display: flex; align-items: center; padding: 10px 14px; font-family: var(--font-h); font-weight: 500; font-size: 1.03rem; color: var(--ink); position: relative; }
.main-nav a:hover, .main-nav li.active > a { color: var(--brand); }
.main-nav li.active > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }
.nav-overlay { position: fixed; inset: 0; background: rgba(var(--dark-rgb), .45); opacity: 0; visibility: hidden; transition: .3s; z-index: 150; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(380px, 88vw); background: #fff; z-index: 200; transform: translateX(105%); transition: transform .35s ease; padding: 28px 28px 36px; overflow-y: auto; visibility: hidden; }
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
body.nav-open .drawer { transform: none; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.drawer-top .logo-img { height: 38px; }
.drawer-nav li { border-bottom: 1px solid var(--line); }
.drawer-nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-family: var(--font-h); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.drawer-nav a .ic { width: 18px; height: 18px; color: var(--t-muted); }
.drawer-nav li.active a { color: var(--brand); }
.drawer .btn { margin-top: 26px; }
.drawer-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .92rem; color: var(--t-muted); }
.drawer-note .ic { width: 16px; height: 16px; color: var(--accent-aa); }

/* ---------- doodles + blobs ---------- */
.doodle { position: absolute; display: block; pointer-events: none; z-index: 0; }
.doodle svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.doodle-bulb { width: 70px; height: 70px; color: var(--accent); }
.doodle-squiggle { width: 110px; height: 28px; color: var(--brand); }
.doodle-arrow { width: 110px; height: 72px; color: var(--ink); opacity: .55; }
.doodle-spark { width: 46px; height: 46px; color: var(--accent); }
.doodle-underline { width: 100%; height: 16px; color: var(--accent); }
.doodle-star { width: 34px; height: 34px; color: #FFC94D; }
.doodle-loop { width: 120px; height: 60px; color: var(--accent); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; z-index: 0; }
.blob-a { width: 420px; height: 420px; background: rgba(var(--brand-rgb), .28); top: -120px; left: -120px; }
.blob-b { width: 380px; height: 380px; background: rgba(var(--accent-rgb), .3); bottom: -100px; right: -80px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--t-grad); padding: 70px 0 80px; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.lead { font-size: 1.15rem; max-width: 560px; }
.pill-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; background: #fff; padding: 8px 18px; border-radius: 100px; font-weight: 600; font-size: .9rem; color: var(--ink); box-shadow: var(--t-shadow); margin-bottom: 22px; }
.pill-chip .dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .22); }
.pill-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge-word { display: inline-block; vertical-align: middle; font-size: .42em; background: var(--accent); color: var(--on-accent); padding: .3em .75em .35em; border-radius: 100px; transform: rotate(-8deg); letter-spacing: .05em; margin: 0 .1em; position: relative; top: -.2em; text-transform: uppercase; }
.hl-under { position: relative; display: inline-block; color: var(--brand); }
.hl-under .u-line { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 16px; z-index: -1; }
.hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.play-link { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-h); font-weight: 600; color: var(--ink); }
.play { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--accent-aa); display: grid; place-items: center; box-shadow: var(--t-shadow); transition: .25s; }
.play-link:hover .play { background: var(--accent); color: var(--on-accent); }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; left: 11%; top: 6%; border-radius: 50%; background: #fff; opacity: .75; z-index: 0; box-shadow: 0 0 0 18px rgba(255, 255, 255, .35); }
.hero-img { width: 100%; height: auto; max-height: 500px; object-fit: contain; position: relative; z-index: 1; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--t-shadow-lg); animation: floaty 5s ease-in-out infinite; }
.float-card strong { display: block; font-family: var(--font-h); color: var(--ink); font-size: 1.1rem; line-height: 1.2; }
.float-card > span:last-child { font-size: .82rem; line-height: 1.35; color: var(--t-muted); }
.fc-1 { top: 6%; left: -2%; }
.fc-2 { bottom: 4%; right: 0; animation-delay: -2.5s; }
.fc-3 { bottom: 10%; left: -4%; }
.fc-4 { bottom: 12%; left: 4%; animation-delay: -1.5s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.h1-d1 { top: 40px; right: 46%; }
.h1-d2 { bottom: 140px; left: 3%; }
.h1-d3 { top: 80px; right: 4%; }
.h1-d4 { bottom: -10px; left: -40px; transform: rotate(10deg); z-index: 2; }

/* hero search card */
.search-card { margin-top: 50px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 10px; background: #fff; padding: 12px; border-radius: 26px; box-shadow: var(--t-shadow-lg); position: relative; z-index: 2; }
.sf { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 10px 16px; transition: border-color .2s, background .2s; }
.sf:focus-within { border-color: var(--brand); background: #fff; }
.sf-label { display: flex; align-items: center; gap: 6px; font-family: var(--font-h); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-aa); }
.sf-label .ic { width: 15px; height: 15px; }
.sf input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 4px 0; font-size: 15px; outline: none; }
.sf-loc { display: flex; align-items: center; gap: 6px; }
.lm-locate { width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--light); color: var(--brand); display: grid; place-items: center; transition: .2s; padding: 0; }
.lm-locate .ic { width: 18px; height: 18px; }
.lm-locate:hover { background: var(--brand); color: var(--on-brand); }
.btn-search { border-radius: 18px; padding: 0 30px; min-height: 64px; }
.search-card .lm-dd-trigger { height: auto; padding: 4px 0; border: 0; background: transparent; box-shadow: none !important; font-size: 15px; font-weight: 400; color: var(--ink); }

/* stats */
.stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stats-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-stats { margin-top: 56px; padding-top: 40px; border-top: 1px dashed rgba(var(--dark-rgb), .18); }
.stats-row.boxed { background: #fff; border-radius: 24px; box-shadow: var(--t-shadow-lg); padding: 40px; margin-top: 80px; }
.stat { display: flex; align-items: center; gap: 18px; min-width: 0; }
.stat strong { font-family: var(--font-h); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.5rem); color: var(--ink); line-height: 1; display: flex; white-space: nowrap; }
.stat strong .pre { color: var(--accent-aa); }
.stat .lbl { font-size: 1rem; font-weight: 500; max-width: 150px; line-height: 1.4; }

/* ---------- lm-select custom dropdown (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: var(--t-radius-sm); 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; transition: border-color .2s, box-shadow .2s; }
.lm-dd-trigger .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-dd-trigger.placeholder .txt { color: var(--t-muted); }
.lm-dd-trigger .chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--t-muted); transition: transform .2s; }
.lm-dd-trigger:hover { border-color: rgba(var(--brand-rgb), .45); }
.lm-dd-trigger:focus-visible, .lm-dd.open .lm-dd-trigger { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.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-radius: 18px; box-shadow: var(--t-shadow-lg); color: var(--ink); font-family: var(--font-b); 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(--t-muted); }
.lm-dd-search input { width: 100%; height: 42px; padding: 0 12px 0 36px; border: 1px solid var(--line); border-radius: 100px; background: var(--soft); font-size: 14px; outline: none; }
.lm-dd-search input:focus { border-color: var(--brand); background: #fff; }
.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(--brand-rgb), .25); 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); color: var(--brand); }
.lm-dd-list li.sel { color: var(--brand); font-weight: 600; background: rgba(var(--brand-rgb), .08); }
.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(--t-muted); cursor: default; text-align: center; }
@keyframes lm-dd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- ribbons ---------- */
.ribbons { position: relative; height: 210px; overflow: hidden; margin: 0; }
.ribbon { position: absolute; left: -5%; width: 110%; top: 50%; padding: 16px 0; overflow: hidden; }
.ribbon-accent { background: var(--accent); color: var(--on-accent); transform: translateY(-50%) rotate(3deg); }
.ribbon-brand { background: var(--brand); color: var(--on-brand); transform: translateY(-50%) rotate(-3deg); z-index: 1; box-shadow: 0 10px 30px rgba(var(--brand-rgb), .25); }
.rb-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.ribbon[data-dir="right"] .rb-track { animation-direction: reverse; }
.rb-group { display: flex; flex-shrink: 0; }
.rb-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-h); font-weight: 600; font-size: 1.55rem; white-space: nowrap; }
.rb-star { width: 24px; height: 24px; fill: currentColor; opacity: .85; }
.ribbon-brand .rb-star { fill: var(--accent); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.sec-head { max-width: 660px; margin-bottom: 52px; position: relative; z-index: 1; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head p { font-size: 1.07rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-h); font-weight: 600; color: var(--accent-aa); font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head.center .eyebrow::after, .eyebrow.center::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: #fff; opacity: .9; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head-row .sec-head { margin-bottom: 0; }

/* icon tiles: tone-0 brand, tone-1 accent, then neutrals */
.icon-tile { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0; }
.icon-tile .ic { width: 30px; height: 30px; }
.icon-tile.sm { width: 46px; height: 46px; border-radius: 13px; }
.icon-tile.sm .ic { width: 22px; height: 22px; }
.tone-0 { background: var(--light); color: var(--brand); }
.tone-1 { background: var(--accent-light); color: var(--accent-aa); }
.tone-2 { background: #DDF7EA; color: #138A55; }
.tone-3 { background: #ECEEF4; color: var(--ink); }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--t-radius); padding: 12px; transition: transform .3s, box-shadow .3s, border-color .3s; min-width: 0; position: relative; overflow: hidden; }
.cat-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--light); opacity: 0; transition: .3s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--t-shadow-lg); border-color: transparent; }
.cat-card:hover::after { opacity: 1; }
.cat-thumb { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--soft); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card:hover .cat-thumb img { transform: scale(1.06); }
.cat-body { display: flex; flex-direction: column; padding: 16px 8px 8px; position: relative; z-index: 1; min-width: 0; }
.cat-body strong { font-family: var(--font-h); font-size: 1.2rem; color: var(--ink); }
.cat-body small { color: var(--t-muted); font-size: .92rem; margin-bottom: 10px; }

/* ---------- trending rail + chips ---------- */
.tr-d1 { top: 60px; right: 6%; }
.lm-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.category-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; padding: 10px 20px; border-radius: 100px; font-family: var(--font-h); font-weight: 500; color: var(--ink); transition: .2s; }
.category-chip svg { width: 18px; height: 18px; color: var(--accent-aa); }
.category-chip:hover { border-color: var(--brand); color: var(--brand); }
.category-chip.active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px rgba(var(--brand-rgb), .25); }
.category-chip.active svg { color: var(--on-brand); }
.lm-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; z-index: 1; }
.lm-skel { height: 400px; border-radius: var(--t-radius); background: linear-gradient(90deg, var(--light) 25%, #fff 50%, var(--light) 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; padding: 40px; background: #fff; border-radius: var(--t-radius); color: var(--t-muted); margin: 0; }

/* ---------- business card (include/ui.php lm_card) ---------- */
.lm-card { background: #fff; border-radius: var(--t-radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; min-width: 0; position: relative; }
.bg-soft .lm-card { border-color: transparent; box-shadow: var(--t-shadow); }
.lm-card:hover { transform: translateY(-6px); box-shadow: var(--t-shadow-lg); border-color: transparent; }
.lm-card.is-premium { border-color: rgba(var(--accent-rgb), .55); }
.lm-card-media { position: relative; padding: 10px 10px 0; }
.lm-cover { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; background: var(--soft); }
.lm-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
img.lm-cover-img { transition: transform .6s; }
.lm-card:hover img.lm-cover-img { transform: scale(1.06); }
.lm-badge { position: absolute; top: 22px; left: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: var(--accent); color: var(--on-accent); font-family: var(--font-h); font-weight: 600; font-size: .78rem; padding: 5px 12px; border-radius: 100px; box-shadow: 0 6px 16px rgba(var(--accent-rgb), .35); }
.lm-badge .lm-ico { fill: currentColor; }
.lm-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.lm-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lm-card-meta > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--light); color: var(--brand); font-weight: 600; font-size: .76rem; padding: 4px 10px; border-radius: 100px; }
.lm-card-meta > span.ok { background: #DDF7EA; color: #138A55; }
.lm-card-title { font-size: 1.12rem; margin: 0 0 8px; overflow-wrap: anywhere; }
.lm-card-title a:hover { color: var(--brand); }
.lm-card-addr { display: flex; gap: 6px; font-size: .88rem; color: var(--t-muted); margin: 0 0 16px; line-height: 1.45; }
.lm-card-addr .lm-ico { margin-top: 2px; color: var(--accent-aa); }
.lm-card-addr span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lm-card-actions { display: flex; gap: 8px; margin-top: auto; }
.lm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 100px; font-family: var(--font-h); font-weight: 600; font-size: .92rem; border: 0; cursor: pointer; transition: .25s; white-space: nowrap; }
.lm-btn-primary { flex: 1; background: var(--brand); color: var(--on-brand); min-width: 0; }
.lm-btn-primary:hover { background: var(--brand-2); }
.lm-btn-icon { width: 44px; padding: 0; background: var(--accent-light); color: var(--accent-aa); }
.lm-btn-icon .lm-ico { width: 18px; height: 18px; }
.lm-btn-icon:hover { background: var(--accent); color: var(--on-accent); }
.lm-stars { display: inline-flex; letter-spacing: 1px; font-size: 15px; line-height: 1; }
.lm-stars .on { color: #FFB400; }
.lm-stars .off { color: #D9DEE8; }

/* ---------- split / why ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.split.rev .split-art { order: 2; }
.split-art { position: relative; }
.split-art > img { width: 100%; max-height: 520px; object-fit: contain; position: relative; z-index: 1; }
.art-disc { position: absolute; width: 82%; aspect-ratio: 1; left: 9%; top: 50%; transform: translateY(-50%); border-radius: 50%; background: var(--t-grad); z-index: 0; }
.art-disc::after { content: ""; position: absolute; inset: -18px; border: 2px dashed rgba(var(--accent-rgb), .6); border-radius: 50%; }
.exp-badge { position: absolute; bottom: 6%; left: 0; background: var(--accent); color: var(--on-accent); border-radius: 20px; padding: 18px 22px; display: flex; align-items: center; gap: 14px; box-shadow: 0 18px 40px rgba(var(--accent-rgb), .35); z-index: 2; }
.exp-badge strong { font-family: var(--font-h); font-size: 2.4rem; line-height: 1; }
.exp-badge > span { font-weight: 600; line-height: 1.3; }
.ab-sp { top: 0; right: 8%; }
.ab-bulb { top: 2%; left: 4%; }
.split-copy .sec-head { margin-bottom: 26px; }
.check-list { display: grid; gap: 14px; margin-bottom: 30px; }
.check-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; min-width: 0; }
.check-list .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand); color: var(--on-brand); margin-top: 2px; }
.feat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 32px; }
.feat { display: flex; gap: 16px; background: #fff; padding: 20px; border-radius: 18px; box-shadow: var(--t-shadow); min-width: 0; }
.feat h3 { margin-bottom: 4px; font-size: 1.08rem; }
.feat p { margin: 0; font-size: .93rem; line-height: 1.55; }
.photo-stack { padding: 0 0 60px 0; }
.photo-stack .ps-main { width: 82%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 24px; box-shadow: var(--t-shadow-lg); }
.photo-stack .ps-small { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; border: 8px solid #fff; box-shadow: var(--t-shadow-lg); z-index: 1; }
.photo-stack .exp-badge { bottom: 40px; left: -10px; }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.process-grid::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; border-top: 2px dashed rgba(var(--brand-rgb), .3); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; padding: 0 8px; }
.step-ic { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin: 0 auto 24px; box-shadow: var(--t-shadow-lg); color: var(--brand); border: 6px solid var(--light); transition: .3s; }
.step:nth-child(even) .step-ic { color: var(--accent-aa); border-color: var(--accent-light); }
.step-ic .ic { width: 36px; height: 36px; }
.step:hover .step-ic { transform: translateY(-6px) rotate(-6deg); }
.step-num { position: absolute; top: -6px; left: calc(50% + 22px); background: var(--dark); color: #fff; font-family: var(--font-h); font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: 100px; z-index: 2; }
.step p { font-size: .97rem; }

/* ---------- owner box (pricing teaser) ---------- */
.owner-box { position: relative; overflow: hidden; border-radius: 30px; padding: 60px; color: rgba(255, 255, 255, .88); background: var(--t-brand-grad); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.owner-box h2 { color: #fff; }
.owner-box .doodle { color: rgba(255, 255, 255, .45); }
.ob-d1 { top: 26px; right: 32px; }
.ob-d2 { bottom: 18px; left: 40%; }
.owner-intro, .owner-art { position: relative; z-index: 1; min-width: 0; }
.owner-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 8px; }
.owner-ticks li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.owner-ticks .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.owner-art .art-disc { background: rgba(255, 255, 255, .14); }
.owner-art .art-disc::after { border-color: rgba(255, 255, 255, .4); }
.owner-art img { position: relative; z-index: 1; width: 100%; max-height: 420px; object-fit: contain; }

/* ---------- blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { background: #fff; border-radius: var(--t-radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; display: flex; flex-direction: column; min-width: 0; color: var(--text); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--t-shadow-lg); border-color: transparent; }
.pc-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.pc-img img.lm-cover-img { transition: transform .6s; }
.post-card:hover .pc-img img.lm-cover-img { transform: scale(1.06); }
.pc-cat { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: .8rem; padding: 4px 12px; border-radius: 100px; 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-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .87rem; color: var(--t-muted); margin-bottom: 10px; align-items: center; }
.pc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pc-meta .ic { width: 16px; height: 16px; color: var(--brand); }
.pc-body h3 { font-size: 1.2rem; overflow-wrap: anywhere; }
.pc-body h3 a:hover, .post-card:hover h3 { color: var(--brand); }
.pc-body p { font-size: .95rem; }
.pc-body .more { margin-top: auto; }

/* ---------- newsletter + footer ---------- */
.newsletter-sec { padding: 0 0 100px; }
.news-box { position: relative; overflow: hidden; background: var(--t-grad); border-radius: 28px; padding: 54px 60px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.news-text, .news-form { position: relative; z-index: 1; min-width: 0; }
.news-text h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 10px; }
.news-text p { margin: 0; }
.news-form { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 100px; box-shadow: var(--t-shadow); }
.news-form input { flex: 1; min-width: 0; border: 0; padding: 12px 20px; background: none; outline: none; }
.nb-d1 { top: 18px; left: 44%; }
.nb-d2 { bottom: 18px; left: 4%; }
.nb-d3 { top: 22px; right: 30px; }
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); padding: 86px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), .35), transparent 70%); top: -220px; right: -160px; }
.site-footer::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .18), transparent 70%); bottom: -160px; left: -120px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; position: relative; z-index: 1; }
.site-footer .logo { margin-bottom: 22px; }
.site-footer h4 { color: #fff; margin-bottom: 22px; font-size: 1.2rem; }
.f-col ul li { margin-bottom: 12px; }
.f-col ul a:hover { color: #fff; }
.f-brand p { margin-bottom: 24px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: .25s; }
.socials a:hover { background: var(--brand); color: var(--on-brand); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .ic { color: var(--accent); width: 18px; height: 18px; margin-top: 4px; }
.f-contact a, .f-contact span { overflow-wrap: anywhere; min-width: 0; }
.f-col .btn { margin-top: 6px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 60px; padding: 26px 0; font-size: .92rem; position: relative; z-index: 1; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.back-top { position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(var(--accent-rgb), .4); opacity: 0; visibility: hidden; transform: translateY(16px); transition: .3s; z-index: 90; padding: 0; }
.back-top .ic { width: 22px; height: 22px; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--brand); color: var(--on-brand); }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; background: var(--t-grad); padding: 96px 0 104px; overflow: hidden; text-align: center; }
.ph-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 900px; margin: 0 auto 14px; overflow-wrap: anywhere; }
.page-hero-sub { max-width: 640px; margin: 0 auto 22px; font-size: 1.08rem; }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; max-width: 100%; background: #fff; padding: 9px 22px; border-radius: 100px; box-shadow: var(--t-shadow); font-weight: 500; font-size: .95rem; }
.crumbs a { color: var(--brand); }
.crumbs .sep { color: var(--t-muted); }
.crumbs .cur { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.ph-d1 { top: 30px; left: 9%; }
.ph-d2 { bottom: 34px; left: 22%; }
.ph-d3 { top: 40px; right: 10%; transform: scaleX(-1); }
.ph-d4 { bottom: 40px; right: 18%; }
.page-hero.small { padding: 46px 0 50px; }
.page-hero.small h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.page-hero.small .doodle-arrow, .page-hero.small .doodle-squiggle { display: none; }

/* business hero */
.biz-hero { text-align: left; padding: 60px 0 70px; }
.biz-hero .crumbs { margin-bottom: 20px; }
.biz-hero h1 { margin: 0 0 14px; max-width: 900px; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 26px; color: var(--ink); }
.biz-meta > span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.biz-meta .ic { width: 18px; height: 18px; color: var(--accent-aa); }
.biz-acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- directory (listing.php) ---------- */
.dir-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 40px; align-items: start; }
.dir-side { display: grid; gap: 24px; position: sticky; top: 110px; }
.side-box { background: var(--soft); border-radius: var(--t-radius); padding: 28px; position: relative; overflow: hidden; min-width: 0; }
.side-box h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 20px; }
.f-group { margin-bottom: 16px; }
.f-group label, .f-title { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: 6px; }
.f-title .ic { width: 16px; height: 16px; color: var(--accent-aa); }
.f-ico { position: relative; display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--t-radius-sm); padding: 0 6px 0 14px; gap: 8px; height: 50px; transition: border-color .2s, box-shadow .2s; }
.f-ico:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.f-ico > .ic { width: 18px; height: 18px; color: var(--t-muted); }
.f-ico input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 15px; height: 100%; }
.filter-form .btn { margin-top: 6px; }
.reset-link { display: block; text-align: center; margin-top: 12px; font-size: .9rem; color: var(--t-muted); }
.reset-link:hover { color: var(--brand); }
.side-cta { background: var(--t-brand-grad); color: rgba(255, 255, 255, .88); padding-bottom: 30px; }
.side-cta h4 { color: #fff; font-size: 1.3rem; }
.side-cta .doodle { color: rgba(255, 255, 255, .4); }
.sc-d { top: 16px; right: 16px; }
.side-cta-img { width: 70%; max-height: 180px; object-fit: contain; margin: 0 auto 10px; background: rgba(255, 255, 255, .14); border-radius: 50%; aspect-ratio: 1; padding: 10px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.results-head h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0; overflow-wrap: anywhere; min-width: 0; }
.tag-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--light); color: var(--brand); font-weight: 600; font-size: .9rem; padding: 8px 16px; border-radius: 100px; max-width: 100%; min-width: 0; }
.tag-pill .ic { width: 16px; height: 16px; }
.lm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lm-loadmore { text-align: center; margin-top: 44px; }
.lm-loadmore .btn { min-width: 180px; }
.empty-state { grid-column: 1 / -1; text-align: center; background: var(--soft); border-radius: 24px; padding: 56px 24px; }
.empty-icon { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: var(--t-shadow); }
.empty-icon .ic { width: 32px; height: 32px; }
.empty-state h2 { font-size: 1.6rem; }

/* ---------- business details ---------- */
.biz-sec { padding-top: 60px; }
.td-gallery { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 200px 200px; position: relative; margin-bottom: 30px; }
.td-gallery > a, .td-gallery > div { position: relative; overflow: hidden; border-radius: var(--t-radius); background: var(--soft); display: block; }
.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 > a:not(.g-main) { grid-column: span 2; grid-row: span 2; }
.td-gallery.n3 > a:not(.g-main) { grid-column: span 2; }
.td-gallery.n4 > a:last-of-type { grid-column: span 2; }
.g-count { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; padding: 7px 14px; border-radius: 100px; box-shadow: var(--t-shadow); }
.g-count .ic { width: 16px; height: 16px; }
.td-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; background: #fff; box-shadow: var(--t-shadow-lg); border-radius: 22px; padding: 24px 28px; margin-bottom: 50px; }
.td-facts > div { display: flex; align-items: center; gap: 14px; min-width: 0; }
.td-facts > div > span:last-child { min-width: 0; }
.td-facts small { display: block; font-size: .82rem; color: var(--t-muted); }
.td-facts strong { display: block; font-family: var(--font-h); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.td-main { display: grid; gap: 26px; min-width: 0; }
.td-block { background: var(--soft); border-radius: 22px; padding: 32px; min-width: 0; }
.td-block h2 { font-size: 1.5rem; }
.td-block .desc { margin: 0; overflow-wrap: anywhere; }
.hours-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.hours-table th, .hours-table td { background: #fff; padding: 12px 18px; text-align: left; }
.hours-table th { border-radius: 12px 0 0 12px; font-weight: 600; color: var(--ink); display: table-cell; }
.hours-table th .ic { width: 16px; height: 16px; color: var(--brand); margin-right: 10px; vertical-align: -3px; }
.hours-table td { border-radius: 0 12px 12px 0; text-align: right; }
.rating-sum { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 18px; padding: 18px 22px; margin-bottom: 20px; }
.rating-sum .big { font-family: var(--font-h); font-weight: 700; font-size: 3rem; color: var(--ink); line-height: 1; }
.rating-sum .lm-stars { font-size: 20px; }
.rating-sum p { margin: 4px 0 0; font-size: .92rem; }
.lm-reviews { display: grid; gap: 14px; }
.review { display: flex; gap: 14px; background: #fff; border-radius: 16px; padding: 18px; min-width: 0; }
.review > div { min-width: 0; }
.review h4 { margin: 0 0 2px; font-size: 1rem; }
.review small { color: var(--t-muted); margin-right: 8px; }
.review p { margin: 8px 0 0; overflow-wrap: anywhere; }
.review .reply { margin-top: 10px; background: var(--soft); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 8px 12px; font-size: .92rem; }
.lm-avatar { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-h); font-weight: 700; font-size: .95rem; }
.lm-avatar.tone-4 { background: #FFF3D6; color: #9A6700; }
.lm-avatar.tone-5 { background: #EEE4FF; color: #6B3FD0; }
.lm-sticky { position: sticky; top: 110px; min-width: 0; }
.book-card { background: #fff; border-radius: 24px; box-shadow: var(--t-shadow-lg); overflow: hidden; }
.book-head { position: relative; background: var(--t-brand-grad); color: rgba(255, 255, 255, .85); padding: 26px 28px; overflow: hidden; }
.book-head h3 { color: #fff; margin: 4px 0 0; overflow-wrap: anywhere; position: relative; z-index: 1; }
.book-head .doodle { color: rgba(255, 255, 255, .4); }
.bh-d { top: 14px; right: 16px; }
.book-contact { padding: 18px 28px 6px; display: grid; gap: 12px; }
.book-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); min-width: 0; }
.book-contact li > a, .book-contact li > span { overflow-wrap: anywhere; min-width: 0; }
.book-contact .ic { width: 18px; height: 18px; color: var(--accent-aa); margin-top: 3px; }
.book-contact a:hover { color: var(--brand); }
.book-body { padding: 12px 28px 22px; }
.book-note { font-size: .93rem; }
.book-trust { display: grid; gap: 8px; padding: 16px 28px 22px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--t-muted); }
.book-trust span { display: flex; align-items: center; gap: 8px; }
.book-trust .ic { width: 16px; height: 16px; color: #138A55; }

/* ---------- forms ---------- */
.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-box .input { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: var(--t-radius-sm); padding: 14px 16px; transition: border-color .2s, box-shadow .2s; min-width: 0; }
.lm-input:focus, .lm-textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.lm-textarea { resize: vertical; min-height: 110px; }
.book-body .lm-input, .book-body .lm-textarea { background: var(--soft); }

/* ---------- blogs ---------- */
.lm-blog-filter { min-width: 260px; }
.lm-blog-filter .f-title { margin-bottom: 8px; }
.blog-card.hidden { display: none !important; }

/* ---------- fullpost ---------- */
.post-sec { padding-top: 56px; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 50px; align-items: start; }
.article { min-width: 0; }
.article-cover { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 22px; background: var(--soft); }
.article > .pc-meta { margin-bottom: 22px; }
.blog-content { font-size: 1.05rem; color: var(--text); overflow-wrap: anywhere; }
.blog-content h1, .blog-content h2, .blog-content h3 { margin-top: 1.4em; }
.blog-content h2 { font-size: 1.7rem; }
.blog-content h3 { font-size: 1.35rem; }
.blog-content img { border-radius: 16px; margin: 20px 0; height: auto; }
.blog-content a { color: var(--brand); text-decoration: underline; }
.blog-content ul, .blog-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.blog-content ul { list-style: disc; }
.blog-content li { margin-bottom: .4em; }
.blog-content blockquote { margin: 26px 0; padding: 24px 28px; background: var(--t-grad); border-left: 4px solid var(--accent); border-radius: 0 18px 18px 0; font-family: var(--font-h); font-size: 1.2rem; 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; }
.lm-comments { margin-top: 50px; border-top: 1px solid var(--line); padding-top: 40px; }
.lm-comments > h2 { font-size: 1.6rem; }
#commentsList { display: grid; gap: 14px; margin-bottom: 30px; }
.lm-comment { background: var(--soft); border-radius: 16px; padding: 18px 20px; min-width: 0; }
.lm-comment p { margin: 10px 0 0; overflow-wrap: anywhere; }
.who { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.who .lm-avatar { width: 40px; height: 40px; font-size: .85rem; }
.reply-btn { margin-top: 10px; background: none; border: 0; padding: 0; color: var(--brand); font-family: var(--font-h); font-weight: 600; }
.reply-form { display: grid; gap: 10px; margin-top: 12px; }
.replies { margin-top: 14px; padding-left: 18px; border-left: 2px dashed var(--line); display: grid; gap: 10px; }
.replies .lm-comment { background: #fff; }
.form-card { background: var(--t-grad); border-radius: 22px; padding: 32px; }
.form-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.side-stack { display: grid; gap: 24px; }
.side-search { display: flex; background: #fff; border-radius: 100px; padding: 6px; border: 1px solid var(--line); }
.side-search input { flex: 1; min-width: 0; border: 0; padding: 8px 14px; background: none; outline: none; }
.side-search button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; padding: 0; }
.side-search .ic { width: 18px; height: 18px; }
.mini-post { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; min-width: 0; }
.mini-post:last-child { margin-bottom: 0; }
.mini-post .sq { position: relative; width: 76px; height: 64px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: #fff; }
.mini-post > span:last-child { min-width: 0; }
.mini-post strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-h); color: var(--ink); font-size: .97rem; line-height: 1.35; }
.mini-post:hover strong { color: var(--brand); }
.mini-post small { color: var(--t-muted); font-size: .82rem; }

/* ---------- about ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.svc-card { background: #fff; border-radius: var(--t-radius); padding: 36px 32px; position: relative; overflow: hidden; box-shadow: var(--t-shadow); transition: transform .3s, box-shadow .3s; min-width: 0; }
.svc-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--light); opacity: 0; transition: .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--t-shadow-lg); }
.svc-card:hover::after { opacity: 1; }
.svc-card > * { position: relative; z-index: 1; }
.svc-card .icon-tile { margin-bottom: 24px; }
.cta-band { background: var(--t-brand-grad); color: rgba(255, 255, 255, .88); padding: 80px 0; position: relative; overflow: hidden; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; position: relative; }
.cta-inner > div { position: relative; z-index: 1; min-width: 0; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-d1 { right: 42%; top: -40px; color: rgba(255, 255, 255, .35); }
.cta-d2 { left: 46%; bottom: -14px; color: var(--accent); }
main:has(> .cta-band:last-child) + .newsletter-sec { padding-top: 100px; }
main:has(> .bg-soft:last-of-type) + .newsletter-sec { padding-top: 100px; }

/* ---------- pricing ---------- */
.lm-toggle { display: flex; width: max-content; max-width: 100%; margin: -16px auto 50px; background: var(--soft); border: 1px solid var(--line); border-radius: 100px; padding: 6px; gap: 4px; }
.lm-toggle button { border: 0; background: none; padding: 10px 22px; border-radius: 100px; font-family: var(--font-h); font-weight: 600; color: var(--t-muted); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lm-toggle button.on { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 18px rgba(var(--brand-rgb), .25); }
.lm-toggle .save { font-size: .76rem; background: var(--accent); color: var(--on-accent); padding: 2px 8px; border-radius: 100px; }
.lm-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: center; }
.lm-plan { background: #fff; border-radius: 24px; padding: 40px 34px; box-shadow: var(--t-shadow); position: relative; border: 1px solid var(--line); min-width: 0; }
.lm-plan.featured { background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%); color: rgba(255, 255, 255, .8); padding: 54px 34px; border: 0; box-shadow: 0 30px 60px rgba(var(--dark-rgb), .28); }
.lm-plan.featured h3, .lm-plan.featured .price { color: #fff; }
.ribbon-badge { position: absolute; top: 20px; right: 20px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: .8rem; padding: 5px 14px; border-radius: 100px; }
.plan-head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.plan-head .for { font-size: .95rem; margin-bottom: 18px; }
.price { font-family: var(--font-h); font-weight: 700; font-size: 3.2rem; color: var(--ink); line-height: 1; margin-bottom: 24px; }
.price small { font-size: 1rem; font-weight: 500; color: var(--t-muted); }
.featured .price small { color: rgba(255, 255, 255, .6); }
.lm-plan ul { display: grid; gap: 12px; margin-bottom: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.lm-plan.featured ul { border-color: rgba(255, 255, 255, .12); }
.lm-plan li { display: flex; align-items: center; gap: 10px; }
.lm-plan li .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--light); color: var(--brand); }
.lm-plan.featured li .ic { background: rgba(var(--accent-rgb), .22); color: var(--accent); }
.lm-plan li.off { opacity: .55; }
.lm-plan li.off .ic { background: #EEF0F4; color: #9AA1AE; }
.lm-table-wrap { overflow-x: auto; background: #fff; border-radius: 22px; box-shadow: var(--t-shadow); max-width: 900px; margin: 0 auto; }
.lm-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.lm-table th, .lm-table td { padding: 18px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.lm-table th { font-family: var(--font-h); color: var(--ink); font-size: 1.08rem; background: var(--light); }
.lm-table th:first-child, .lm-table td:first-child { text-align: left; color: var(--ink); font-weight: 500; }
.lm-table tr:last-child td { border-bottom: 0; }
.lm-yes, .lm-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.lm-yes { background: #DDF7EA; color: #138A55; }
.lm-no { background: #F1F2F5; color: #A3AAB8; }
.lm-dialog { border: 0; padding: 0; border-radius: 24px; width: min(520px, calc(100vw - 32px)); box-shadow: var(--t-shadow-lg); color: var(--ink); font-family: var(--font-b); }
.lm-dialog::backdrop { background: rgba(var(--dark-rgb), .6); }
.lm-dialog-head { position: relative; padding: 28px 30px 24px; color: rgba(255, 255, 255, .88); background: var(--t-brand-grad); }
.lm-dialog-head h3 { color: #fff; font-size: 1.45rem; margin: 0; }
.lm-dialog-head p { font-size: .95rem; margin: 6px 0 0; }
.lm-dialog-head .plan { display: inline-block; margin-top: 12px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: .82rem; border-radius: 100px; padding: 4px 12px; }
.lm-dialog-head .plan:empty { display: none; }
.lm-dialog-close { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; display: grid; place-items: center; padding: 0; }
.lm-dialog-close:hover { background: var(--accent); color: var(--on-accent); }
.lm-dialog-body { padding: 26px 30px 30px; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 70px; }
.c-card { background: #fff; border: 1px solid var(--line); border-radius: var(--t-radius); padding: 34px; text-align: center; transition: .3s; min-width: 0; display: block; }
.c-card:hover { box-shadow: var(--t-shadow-lg); transform: translateY(-4px); border-color: transparent; }
.c-card .icon-tile { margin: 0 auto 18px; }
.c-card h3 { margin-bottom: 6px; }
.c-card p { margin: 0; overflow-wrap: anywhere; }
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: stretch; }
.contact-form-box { background: var(--soft); border-radius: 24px; padding: 46px; min-width: 0; }
.contact-form-box .lm-form { margin-top: 26px; }
.contact-form-box .btn { justify-self: start; }
.contact-art { position: relative; border-radius: 24px; overflow: hidden; background: var(--t-grad); display: flex; align-items: flex-end; justify-content: center; min-height: 460px; padding-top: 40px; }
.contact-art .ca-img { position: relative; z-index: 1; max-height: 520px; width: auto; object-fit: contain; }
.ca-d1 { top: 26px; left: 26px; }
.ca-d2 { top: 40px; right: 30px; }

/* ---------- terms ---------- */
.lm-prose { max-width: 900px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 50px 56px; box-shadow: var(--t-shadow); overflow-wrap: anywhere; }
.lm-prose h2 { font-size: 1.9rem; }
.lm-prose h3 { margin-top: 1.4em; }
.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: 4px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.lm-prose ul.sub { padding-left: 26px; }
.lm-prose ul.sub li::before { background: var(--brand); }
.lm-prose a { color: var(--brand); text-decoration: underline; }

/* toastr on brand */
#toast-container > .toast-success { background-color: #138A55; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 9px; font-size: .98rem; }
  .main-nav li.active > a::after { left: 9px; right: 9px; }
  .hide-md { display: none; }
  .lm-rail, .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .td-layout, .blog-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-grid; }
  .hide-md { display: inline-flex; }
  .hero-grid, .split, .owner-box, .news-box, .td-layout, .blog-layout, .contact-wrap, .dir-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 620px; margin: 0 auto; width: 100%; }
  .split.rev .split-art { order: 0; }
  .split-art { max-width: 620px; margin: 0 auto; width: 100%; }
  .search-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-search { min-height: 56px; }
  .post-grid, .svc-grid, .lm-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 50px; }
  .process-grid::before { display: none; }
  .stats-row.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir-side, .lm-sticky { position: static; }
  .dir-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .lm-plan.featured { padding: 40px 34px; }
  .h1-d1 { display: none; }
  .td-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .section { padding: 70px 0; }
  .newsletter-sec { padding-bottom: 70px; }
  main:has(> .cta-band:last-child) + .newsletter-sec, main:has(> .bg-soft:last-of-type) + .newsletter-sec { padding-top: 70px; }
  .container { padding: 0 16px; }
  .header-inner { height: 70px; gap: 12px; }
  .logo-img { height: 36px; max-width: 170px; }
  .hide-md, .hide-sm { display: none; }
  .hero { padding: 44px 0 56px; }
  .page-hero { padding: 64px 0 70px; }
  .page-hero.small { padding: 26px 0 28px; }
  .page-hero.small h1 { font-size: 1.45rem; margin-bottom: 10px; }
  .page-hero.small .crumbs { padding: 6px 14px; font-size: .85rem; }
  .biz-hero { padding: 40px 0 50px; }
  .crumbs .cur { max-width: 22ch; }
  .search-card { grid-template-columns: minmax(0, 1fr); border-radius: 22px; margin-top: 36px; }
  .stats-row, .stats-row.four { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .stats-row.boxed { padding: 28px; }
  .hero-stats { margin-top: 40px; }
  .cat-grid, .lm-rail, .lm-grid, .post-grid, .svc-grid, .lm-plans, .contact-cards, .process-grid, .feat-list, .check-list.two-col, .lm-form .two, .footer-grid, .dir-side, .td-facts { grid-template-columns: minmax(0, 1fr); }
  .owner-box { padding: 36px 22px; border-radius: 22px; }
  .news-box { padding: 36px 22px; }
  .news-form { flex-direction: column; border-radius: 20px; }
  .news-form .btn { width: 100%; }
  .contact-form-box { padding: 28px 20px; }
  .lm-prose { padding: 30px 22px; }
  .td-block { padding: 22px; }
  .td-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 120px 120px; }
  .td-gallery .g-main { grid-column: span 2; grid-row: auto; }
  .td-gallery.n1 { grid-template-rows: 240px; }
  .td-gallery.n2, .td-gallery.n3, .td-gallery.n4, .td-gallery.n5 { grid-template-rows: 220px repeat(2, 120px); }
  .td-gallery > a:not(.g-main) { grid-column: auto !important; grid-row: auto !important; }
  .ribbons { height: 160px; }
  .rb-item { font-size: 1.15rem; gap: 18px; padding-right: 18px; }
  .rb-star { width: 18px; height: 18px; }
  .ribbon { padding: 12px 0; }
  .float-card { padding: 8px 12px 8px 8px; }
  .float-card strong { font-size: .95rem; }
  .fc-1 { top: 0; left: 0; }
  .doodle-arrow, .h1-d2, .ph-d2, .ph-d4 { display: none; }
  .exp-badge { padding: 14px 18px; }
  .exp-badge strong { font-size: 2rem; }
  .hero-btns { gap: 16px; }
  .lm-blog-filter { min-width: 0; width: 100%; }
  .rating-sum .big { font-size: 2.4rem; }
  .contact-art { min-height: 380px; }
  .biz-acts .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .animate-this { opacity: 1; transform: none; transition: none; }
  .rb-track, .float-card, .lm-skel { animation: none; }
  html { scroll-behavior: auto; }
}
