/* Business site on top of the marketing base: iCloud-style depth.
   The page is a quiet gray, every card is a lighter raised surface with a
   hairline and a soft shadow, in light and dark alike. */

:root {
  --white: #f5f5f7;          /* page */
  --tile: #ffffff;           /* raised card */
  --hero: #ffffff;
  --card-line: rgba(0,0,0,.06);
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 32px rgba(0,0,0,.07);
  --shadow-up: 0 1px 2px rgba(0,0,0,.06), 0 16px 48px rgba(0,0,0,.12);
  --inv-pill: rgba(255,255,255,.14);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --white: #141416; --tile: #1c1c1e; --hero: #1c1c1e;
    --card-line: rgba(255,255,255,.08);
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 10px 32px rgba(0,0,0,.45);
    --shadow-up: 0 1px 2px rgba(0,0,0,.6), 0 16px 48px rgba(0,0,0,.6);
    --band-bg: #1c1c1e; --inv-pill: rgba(255,255,255,.1);
  }
}
:root[data-theme="dark"] {
  --white: #141416; --tile: #1c1c1e; --hero: #1c1c1e;
  --card-line: rgba(255,255,255,.08);
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 10px 32px rgba(0,0,0,.45);
  --shadow-up: 0 1px 2px rgba(0,0,0,.6), 0 16px 48px rgba(0,0,0,.6);
  --band-bg: #1c1c1e; --inv-pill: rgba(255,255,255,.1);
}

.tile { box-shadow: var(--shadow), inset 0 0 0 1px var(--card-line); }
.tile-dark { box-shadow: var(--shadow-up), inset 0 0 0 1px rgba(255,255,255,.08); }
.tile .pill { background: var(--white); }
.tile .pill-dark { background: var(--inv-pill); color: var(--accent-fg); }
.band-dark { box-shadow: var(--shadow-up), inset 0 0 0 1px rgba(255,255,255,.06); }

/* nav: the business name is text, like the brand rule */
.nav-name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; padding: 9px 16px; background: var(--tile); border-radius: 100px; box-shadow: var(--shadow); justify-self: start; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-pill, .nav-right, .nav-burger { background: var(--tile); }
/* an uploaded logo stands alone: no capsule, no frame, the owner's artwork as is */
.nav-brand { display: inline-flex; justify-self: start; pointer-events: auto; }
.nav-logo { display: block; width: 44px; height: 44px; object-fit: contain; }
.hero-logo { margin-bottom: 24px; }
.hero-logo-img { display: inline-block; width: 120px; height: 120px; object-fit: contain; vertical-align: top; }
.logo-mask { background: var(--ink); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.row-multi { display: flex; flex-direction: column; gap: 4px; }
#new-here .tile-step p { margin-top: 16px; color: inherit; font-size: 18px; }

/* hero */
.hero { max-width: 980px; }
.hero-photo { width: 100%; margin: 56px auto 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-up), inset 0 0 0 1px var(--card-line); background: var(--tile); animation: rise .6s .1s cubic-bezier(.2,.7,.2,1) both; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-strip { padding-top: 32px; }

/* prices */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-1 { grid-template-columns: minmax(0, 560px); }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.price h3 { margin-top: 18px; font-size: 24px; }
.price .amount-soft { font-size: 22px; color: var(--gray); }
.price .amount-slot { margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--gray); }
.price .btn { margin-top: 24px; width: 100%; }
.price ul li { color: var(--gray); }
.addons li { display: flex; justify-content: space-between; gap: 12px; }
.addons b { font-weight: 600; }

/* gallery */
.gallery figure { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow), inset 0 0 0 1px var(--card-line); background: var(--tile); }
.gallery img { width: min(420px, 78vw); aspect-ratio: 4 / 3; object-fit: cover; }

/* reviews */
.rating { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rating b { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.rating span { color: var(--gray); font-size: 15px; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stars { color: #f5b301; font-size: 15px; letter-spacing: 1px; }
.stars span { opacity: .25; }
.review-date { font-size: 13px; color: var(--gray-2); }
.review p { margin-top: 14px; color: var(--ink); }
.reply { margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: var(--white); }
.reply b { display: block; font-size: 13px; color: var(--gray); font-weight: 600; }
.reply p { margin-top: 4px; font-size: 15px; color: var(--ink); }

/* contact band */
.contact { max-width: var(--max); margin: 0 auto; padding: 96px 28px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.contact h2 { font-size: clamp(40px, 6vw, 72px); }
.rows { margin-top: 32px; display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--inv-line); font-size: 17px; }
.row:last-child { border-bottom: 1px solid var(--inv-line); }
.row span { color: var(--band-soft-2); font-size: 15px; padding-top: 2px; }
.row a { color: var(--band-fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--inv-line); }
.contact .actions { justify-content: flex-start; margin-top: 28px; }
/* the white card holds only the code (scanners want dark on light); the words sit on the band */
.qr { display: flex; flex-direction: column; align-items: center; justify-self: center; color: var(--band-fg); text-decoration: none; }
.qr-card { display: block; padding: 24px; border-radius: 32px; background: #fff; box-shadow: var(--shadow-up), inset 0 0 0 1px rgba(0,0,0,.04); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.qr:hover .qr-card { transform: translateY(-3px); }
.qr-svg { display: block; width: 232px; height: 232px; }
.qr-label { margin-top: 24px; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.qr-url { margin-top: 4px; font-size: 15px; color: var(--band-soft-2); text-align: center; }

/* footer */
.footer { padding-top: 40px; }
.foot-fine { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--gray); }
.foot-fine a { text-decoration: underline; text-underline-offset: 4px; }
.foot-fine a:first-child { text-decoration: none; }
.foot-logo { height: 24px; }

@media (max-width: 860px) {
  .nav-name { max-width: 56vw; font-size: 16px; }
  .nav-logo { width: 36px; height: 36px; }
  .hero-logo-img { width: 96px; height: 96px; }
  .qr-svg { width: 200px; height: 200px; }
  .grid-2, .grid-1 { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 64px 24px; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .rating { align-items: flex-start; }
  .hero-photo { margin-top: 36px; border-radius: 26px; }
}
