/* Next-gen concept sites: shared building blocks. Each page sets its theme with variables. */
:root { --r: 24px; --r-sm: 14px; --gutter: clamp(18px, 4vw, 56px); --max: 1240px; }
body { background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--body); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; transition: transform 0.2s, filter 0.2s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--line-strong, currentColor); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn svg { width: 16px; height: 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-fg, var(--ink)); font: 500 13px/1.2 var(--body); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: #3BB273; box-shadow: 0 0 0 4px rgb(59 178 115 / 0.2); }
.eyebrow { margin: 0 0 14px; color: var(--muted); font: 600 12px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.nav__links { display: flex; gap: 28px; font-size: 15px; }
.nav__links a { text-decoration: none; opacity: 0.78; transition: opacity 0.2s; }
.nav__links a:hover { opacity: 1; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; }

/* sections */
.sec { padding-block: clamp(56px, 8vw, 112px); }
.sh { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(26px, 3vw, 42px); }
.sh h2 { margin: 0; font: var(--h2-weight, 400) clamp(2.1rem, 1.2rem + 2.8vw, 3.6rem)/1.02 var(--display); letter-spacing: var(--h-track, -0.02em); text-transform: var(--h-case, none); text-wrap: balance; }
.sh p { margin: 0; max-width: 30rem; color: var(--muted); }
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: var(--card); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
a.ph:hover img, .prod:hover .ph img { transform: scale(1.03); }

/* product cards */
.prods { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.prod { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.prod .ph { aspect-ratio: 4 / 5; }
.prod__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.prod b { display: block; font-weight: 600; }
.prod small { color: var(--muted); font-size: 14px; }
.add { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); transition: background-color 0.2s, transform 0.2s; }
.add svg { width: 16px; height: 16px; }
.add[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); transform: rotate(45deg); }
.tag { position: absolute; z-index: 1; top: 14px; left: 14px; }

/* AI concierge */
.ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ai__copy h2 { margin: 0; font: var(--h2-weight, 400) clamp(2.1rem, 1.2rem + 2.8vw, 3.6rem)/1.02 var(--display); letter-spacing: var(--h-track, -0.02em); text-transform: var(--h-case, none); }
.ai__copy p { max-width: 30rem; color: var(--muted); }
.ai__list { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.ai__list li { display: flex; align-items: center; gap: 12px; }
.ai__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.chat { overflow: hidden; border-radius: var(--r); background: var(--card); box-shadow: 0 40px 80px -50px rgb(0 0 0 / 0.55), 0 0 0 1px var(--line); }
.chat__top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat__ava { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.chat__ava svg { width: 20px; height: 20px; }
.chat__top b { display: block; font-size: 15px; line-height: 1.2; }
.chat__top small { color: var(--muted); font-size: 12.5px; }
.chat__top .chip { margin-left: auto; padding: 6px 10px; font-size: 12px; background: var(--bubble); }
.chat__body { display: grid; align-content: start; gap: 10px; min-height: 250px; padding: 18px; }
.msg { max-width: 84%; margin: 0; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; }
.msg--me { justify-self: end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.msg--ai { background: var(--bubble); border-bottom-left-radius: 6px; }
.msg.is-typing { letter-spacing: 0.2em; color: var(--muted); }
.chat__sugg { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.chat__sugg button { padding: 8px 12px; border: 1px solid var(--line-strong, var(--line)); border-radius: 999px; background: transparent; font-size: 13px; transition: background-color 0.2s; }
.chat__sugg button:hover { background: var(--bubble); }
.chat__in { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 18px 18px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 14px; }
.chat__in span:last-child { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.chat__in svg { width: 15px; height: 15px; }

/* visit */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; }
.card { padding: 26px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.card h3 { margin: 0 0 12px; font: 500 20px/1.2 var(--body); }
.card p, .card dl { margin: 0; color: var(--muted); }
.card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.card dt { color: var(--ink); font-weight: 500; }
.map { position: relative; overflow: hidden; min-height: 250px; border-radius: var(--r); background: var(--map-bg); color: var(--map-line); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin { position: absolute; left: 54%; top: 46%; transform: translate(-50%, -100%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--accent); box-shadow: 0 10px 24px -8px rgb(0 0 0 / 0.5); }
.map .pin::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); }

/* footer */
.foot { padding-block: 40px 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.foot a { text-decoration: none; }

/* phone: a docked action bar replaces the nav links */
.dock { display: none; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .prods, .ai, .visit { grid-template-columns: minmax(0, 1fr); }
  .dock { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; gap: 8px; padding: 7px; border-radius: 999px; background: var(--dock-bg, var(--ink)); box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.55); }
  .dock .btn { flex: 1; min-height: 46px; }
  .dock .btn--ghost { color: var(--dock-fg, var(--bg)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3); }
  body { padding-bottom: 84px; }
}
