/* Anna 鍾彥平 V2 — 預覽站
   沿用霧玫瑰、手機先讀。多區塊骨架，沒資料的位置留空。 */

:root {
  --paper: #f4f2f4;
  --sheet: #fffcfd;
  --ink: #2c2629;
  --ink-soft: #5a5256;
  --mute: #6a6267;
  --line: #e6dfe2;
  --rose: #8a4554;
  --rose-soft: #c98996;
  --rose-wash: #f6e8eb;
  --shadow: 0 16px 36px rgba(90, 54, 62, 0.08);
  --radius: 18px;
  --max: 26.5rem;
  --nav-h: 3.4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #e8eef3;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: #eef3f6;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 252, 253, 0.18) 0,
      rgba(255, 252, 253, 0.42) 16rem,
      rgba(244, 242, 244, 0.88) 34rem,
      var(--paper) 48rem
    ),
    url("media/city-up.webp");
  background-repeat: no-repeat;
  background-size: auto, 180% auto;
  background-position: 0 0, 50% var(--nav-h);
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 11rem;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(0deg, rgba(238, 243, 246, 0.55), rgba(238, 243, 246, 0.92)),
    url("media/city-wide.webp") center bottom / cover no-repeat;
  opacity: 0.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--rose);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 1.6rem, var(--max));
  margin-inline: auto;
}

header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: calc(0.35rem + env(safe-area-inset-top)) 0.5rem 0.4rem 0.35rem;
  background: rgba(255, 252, 253, 0.96);
  border-bottom: 1px solid var(--line);
}

.topnav-links {
  display: flex;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
  gap: 0.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.topnav-links::-webkit-scrollbar {
  display: none;
}

.topnav-links a {
  flex: 0 0 auto;
  padding: 0.32rem 0.55rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

section[id],
#know {
  scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top) + 0.55rem);
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: 17.2rem;
  object-fit: cover;
  object-position: 50% 18%;
}

.hero {
  padding: 1.35rem 0 1.8rem;
}

.brand {
  margin: 0;
  color: var(--rose);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.role {
  margin: 0.15rem 0 0.45rem;
  color: var(--mute);
  font-size: 0.82rem;
  font-weight: 600;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 8vw, 2.15rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.sub {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-line {
  background: var(--rose);
  color: #fffafb;
}

.btn-tel {
  background: var(--sheet);
  color: var(--ink);
  border-color: var(--line);
}

.btn-num {
  display: none;
}

.line-id {
  margin: 0.8rem 0 0;
  color: var(--mute);
  font-size: 0.86rem;
}

.line-id button {
  margin-left: 0.3rem;
  border: 1px solid var(--line);
  background: var(--sheet);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

section {
  padding: 2.1rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.subhead {
  margin: 1.35rem 0 0.55rem;
}

.lead {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  overflow-wrap: break-word;
}

.about-grid,
.service-cols,
.review-grid,
.stat-row,
.listings {
  display: grid;
  gap: 0.7rem;
}

.about-grid article,
.service-cols article,
.review,
.faq-item {
  min-width: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 0.35rem;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.guide-list {
  display: grid;
  gap: 0.7rem;
}

.guide {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.guide summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 2.4rem 0.95rem 1.05rem;
  font-weight: 700;
}

.guide summary::-webkit-details-marker {
  display: none;
}

.guide summary::after {
  content: "";
  position: absolute;
  right: 1.05rem;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid var(--rose);
  border-bottom: 1.5px solid var(--rose);
  transform: translateY(-70%) rotate(45deg);
}

.guide[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.guide summary:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.guide-body {
  padding: 0.15rem 1.05rem 1.05rem;
  border-top: 1px solid var(--line);
}

.guide-q {
  margin: 0.9rem 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.guide-a {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.about-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.service-cols article:not(.slot-card) {
  padding: 1rem 1.05rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-cols p {
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.service-cols p:last-child {
  margin-bottom: 0;
}

.skill-line {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line);
}

.skill-line li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  font-weight: 700;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.why-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.why-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.service-board {
  margin: 0;
  width: 106%;
  margin-inline: -3%;
  border-radius: var(--radius);
  overflow: hidden;
}

.service-board img {
  width: 100%;
  height: auto;
}

.service-grid {
  display: grid;
  gap: 0.7rem;
}

.service-grid article {
  min-width: 0;
  padding: 1.05rem 1.05rem 1.1rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-ico {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 0 0.55rem;
  object-fit: contain;
}

.service-grid h3 {
  margin: 0 0 0.3rem;
}

.service-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.coop {
  display: grid;
  gap: 0.9rem;
}

.coop-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.coop-photo img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.listing-link,
.slot-card {
  display: block;
  min-width: 0;
  padding: 1rem 1.05rem 1.05rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.listing-link {
  transition: background 0.2s ease, border-color 0.2s ease;
}

.listing-link:hover,
.listing-link:focus-visible {
  background: var(--rose-wash);
  border-color: var(--rose-soft);
}

.listing-link:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.listing-link strong,
.slot-card strong {
  display: block;
  margin: 0.55rem 0 0.15rem;
  font-size: 1.02rem;
}

.listing-where,
.listing-meta {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.listing-go {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--rose);
  font-size: 0.86rem;
  font-weight: 600;
}

.listing-photo,
.slot-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 8.4rem;
  border-radius: 12px;
  background: #f7f3f4;
  overflow: hidden;
}

.listing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.review-avatar {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center 20%;
  background: var(--rose-wash);
}

.review {
  margin: 0;
  padding: 1rem 1.05rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.review blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.review-who {
  display: grid;
  line-height: 1.35;
}

.review-who b {
  font-size: 0.9rem;
}

.review-who span {
  color: var(--mute);
  font-size: 0.76rem;
}

.license {
  margin: 0 0 1.6rem;
  padding: 1.15rem 1.15rem 1.05rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.license-role {
  margin: 0 0 0.15rem;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 600;
}

.license-name {
  margin: 0 0 0.2rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.license-no {
  margin: 0 0 0.95rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 600;
}

.license dl,
.contact-facts,
.footer-facts {
  margin: 0;
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: 0.4rem 0.65rem;
  font-size: 0.92rem;
}

.contact-facts {
  grid-template-columns: 5.6rem 1fr;
}

.license dl {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.license dt,
.contact-facts dt,
.footer-facts dt {
  color: var(--mute);
}

.license dd,
.contact-facts dd,
.footer-facts dd {
  margin: 0;
}

.contact-facts {
  margin-bottom: 0.4rem;
}

.contact-map {
  grid-column: 1 / -1;
  margin-top: 0.15rem;
}

.contact-facts a,
.footer-facts a {
  color: var(--ink);
  text-decoration: none;
}

.contact-facts a:hover,
.footer-facts a:hover,
.contact-facts a:focus-visible,
.footer-facts a:focus-visible {
  color: var(--rose);
}

.lead-form {
  display: grid;
  gap: 0.75rem;
}

.lead-form label {
  display: grid;
  gap: 0.3rem;
  color: var(--mute);
  font-size: 0.82rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sheet);
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.8rem;
}

.lead-form input:focus-visible,
.lead-form textarea:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  color: var(--mute);
  font-size: 0.82rem;
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  height: 14rem;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.slot,
.slot-short,
.slot-stat,
.slot-inline {
  background: rgba(255, 252, 253, 0.55);
  border: 1px dashed #d5c9cd;
  border-radius: 14px;
}

.slot {
  min-height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
}

.slot-short {
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
}

.slot-stat {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 5.8rem;
  padding: 1rem 0.8rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-card strong {
  color: var(--rose);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.stat-card span {
  margin-top: 0.25rem;
  color: var(--mute);
  font-size: 0.82rem;
}

.slot-inline {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0.1rem 0.45rem;
  border-radius: 8px;
}

.slot-card {
  background: rgba(255, 252, 253, 0.55);
  border-style: dashed;
  box-shadow: none;
}

.slot-label {
  color: var(--mute);
  font-size: 0.78rem;
}

.site-footer {
  padding: 1.8rem 0 6.6rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.site-footer .co {
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.site-footer p {
  margin: 0 0 0.2rem;
}

.footer-reach {
  margin-top: 0.75rem;
}

.footer-reach a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.footer-reach a:hover,
.footer-reach a:focus-visible {
  color: var(--rose);
}

.footer-reach a:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 252, 253, 0.94);
  border-top: 1px solid var(--line);
}

.dock .btn {
  min-height: 2.8rem;
}

@media (min-width: 720px) {
  :root {
    --max: 46rem;
    --nav-h: 3.5rem;
  }

  body {
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 252, 253, 0.12) 0,
        rgba(255, 252, 253, 0.38) 20rem,
        rgba(244, 242, 244, 0.86) 46rem,
        var(--paper) 64rem
      ),
      url("media/city-wide.webp");
    background-size: auto, cover;
    background-position: 0 0, 50% 0;
  }

  .topnav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.45rem max(1rem, calc(50vw - 26rem));
  }

  .topnav-links {
    display: flex;
    flex-wrap: nowrap;
    overflow: visible;
    margin-top: 0;
    padding: 0;
    gap: 0.75rem;
    font-size: 0.82rem;
  }

  .topnav-links a {
    padding: 0;
    color: var(--ink-soft);
    font-size: 0.82rem;
    text-decoration: none;
  }

  .topnav-links a:hover {
    color: var(--rose);
  }

  header {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 1.4rem;
    width: min(100% - 2rem, 52rem);
    margin: 1.2rem auto 0;
  }

  .hero-photo {
    order: 2;
  }

  .hero-photo img {
    height: 28rem;
    border-radius: 1.6rem;
    object-position: 50% 16%;
  }

  .hero {
    order: 1;
    width: 100%;
    padding: 1.8rem 0 0.4rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  .cta-row {
    grid-template-columns: 14rem 14rem;
    max-width: 30rem;
  }

  .btn-num {
    display: inline;
  }

  .listings,
  .review-grid,
  .stat-row,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .skill-line {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .skill-line li {
    padding: 0.75rem 0.4rem;
    text-align: center;
  }

  .skill-line li + li {
    border-left: 1px solid var(--line);
  }



  .coop {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.3rem;
    align-items: start;
  }

  .coop-photo img {
    height: 100%;
    min-height: 18rem;
  }

  .site-footer {
    padding-bottom: 2.2rem;
  }

  .dock {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
