@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

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

:root {
  --navy: #0b2f66;
  --blue: #0f63c9;
  --blue-700: #0a4ea5;
  --blue-100: #eaf4ff;
  --blue-50: #f5faff;
  --cyan-100: #dff5ff;
  --green: #2fb463;
  --green-100: #e9f8ef;
  --red: #dd4b3e;
  --red-100: #fff0ee;
  --text: #17263b;
  --muted: #5f7083;
  --soft: #8ea2b5;
  --line: #dce8f3;
  --white: #fff;
  --shadow: 0 16px 44px rgba(11, 47, 102, 0.11);
  --shadow-sm: 0 8px 24px rgba(11, 47, 102, 0.09);
  --radius: 8px;
  --sans: 'Noto Sans TC', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { max-width: 1520px; margin: 0 auto; padding: 0 44px; }
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-blue { background: linear-gradient(180deg, var(--blue-50), #fff); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--blue); }
.section-title {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
  font-weight: 900;
}
.section-title span { color: var(--blue); }
.section-lead {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.navbar-inner {
  max-width: none;
  height: 100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-symbol {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #fff;
}
.logo-symbol svg { width: 44px; height: 44px; stroke-width: 2.4; }
.logo-name strong {
  display: block;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}
.logo-name span { display: none; }
.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  list-style: none;
}
.nav-links a {
  position: relative;
  padding: 10px 4px;
  color: #26364a;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-links a.active, .nav-links a:hover { color: var(--blue); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 3px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}
.nav-btns { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-btn-fill, .nav-btn-ring, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.nav-btn-fill, .btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(15, 99, 201, 0.22);
}
.nav-btn-fill { padding: 0 28px; font-size: 20px; border-radius: 10px; }
.nav-btn-ring { padding: 0 20px; color: var(--blue); border: 0; background: #fff; font-size: 24px; }
.nav-btn-fill svg, .nav-btn-ring svg, .btn svg { width: 20px; height: 20px; }
.btn { border: 0; padding: 0 28px; font-size: 17px; cursor: pointer; }
.btn-outline { color: var(--blue); border: 1.5px solid var(--blue); background: #fff; }
.btn-ghost { color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); background: transparent; }
.btn-line { color: #169b45; border: 1.5px solid #31bf64; background: #fff; }
.btn:hover, .nav-btn-fill:hover, .nav-btn-ring:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.hamburger {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 760px;
  height: calc(100vh - 100px);
  max-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,255,255,0.02)),
    url('../generated/home-hero-bg-desktop.webp') center / cover no-repeat;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(690px, 48vw);
  padding: 42px 0 170px clamp(48px, 5vw, 86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-kicker {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.hero-title {
  max-width: 720px;
  color: var(--navy);
  font-size: clamp(60px, 5.35vw, 86px);
  line-height: 1.15;
  font-weight: 900;
}
.hero-text {
  max-width: 620px;
  margin-top: 28px;
  color: #45566b;
  font-size: clamp(20px, 1.52vw, 26px);
  font-weight: 700;
}
.hero-actions { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 32px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 44px;
  margin-top: 54px;
  color: var(--text);
  font-weight: 900;
}
.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-points span::before {
  content: '';
  width: 26px;
  height: 26px;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  mask: var(--point-icon) center / contain no-repeat;
}
.point-price { color: var(--blue); --point-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3.4 13.4A2 2 0 0 1 3 12V5a2 2 0 0 1 2-2h7c.5 0 1 .2 1.4.6l7.2 7.2a2 2 0 0 1 0 2.8ZM7.5 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z'/%3E%3C/svg%3E"); }
.point-tools { color: var(--blue); --point-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m21 19.6-1.4 1.4-6.2-6.2-2.2 2.2 1.8 1.8-4.2 4.2-1.8-1.8 4.2-4.2-3.7-3.7H5L2 10.3l3.3-3.2 3 3v2.5l3.7 3.7 2.2-2.2L8 7.9V5.1L11.1 2l5 5L13 10.1h-2.8L21 19.6Z'/%3E%3C/svg%3E"); }
.point-green { color: #84c929; --point-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M20.9 3.1C12.6 3.6 6.8 6.3 4.2 11.2c-1.7 3.2-.8 6.2 1.2 7.8 1.8-5 5.5-8.1 10.8-9.4-4.8 2.2-8 5.7-9.6 10.4 6.2 1.2 12.4-4.4 14.3-16.9Z'/%3E%3C/svg%3E"); }
.hero-media {
  position: relative;
  min-height: 100%;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.76) 18%, rgba(255,255,255,0.05) 46%);
}
.home-proof {
  position: relative;
  z-index: 8;
  width: calc(100% - 88px);
  max-width: none;
  margin: -74px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  background: var(--line);
  box-shadow: var(--shadow);
}
.proof-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 26px;
  align-items: center;
  padding: 38px clamp(34px, 5vw, 92px);
  background: rgba(255,255,255,0.94);
}
.proof-icon {
  width: 78px;
  height: 78px;
  border-radius: 0;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: transparent;
}
.proof-icon svg { width: 48px; height: 48px; }
.proof-value {
  color: var(--blue);
  font-size: 52px;
  line-height: 1;
  font-weight: 900;
}
.proof-label { color: var(--text); font-size: 20px; font-weight: 700; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(245,250,255,0.9) 44%, rgba(245,250,255,0.25) 100%),
    url('../generated/services-banner-bg.webp') center / cover;
}
.page-hero.services-hero { background-image: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(245,250,255,0.88) 44%, rgba(245,250,255,0.25) 100%), url('../generated/services-banner-bg.webp'); }
.page-hero.process-hero { background-image: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(245,250,255,0.88) 44%, rgba(245,250,255,0.2) 100%), url('../generated/process-banner-bg.webp'); }
.page-hero.cases-hero { background-image: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(245,250,255,0.88) 44%, rgba(245,250,255,0.18) 100%), url('../generated/cases-banner-bg.webp'); }
.page-hero.contact-hero { background-image: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(245,250,255,0.9) 44%, rgba(245,250,255,0.22) 100%), url('../generated/booking-banner-bg.webp'); }
.page-hero h1 {
  color: var(--navy);
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.08;
  font-weight: 900;
}
.page-hero p { margin-top: 12px; max-width: 720px; color: var(--muted); font-size: 19px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 47, 102, 0.06);
}
.service-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 46%) 54%;
  align-items: center;
  min-height: 232px;
}
.service-card-plain {
  grid-template-columns: 1fr;
  min-height: 230px;
}
.service-card img {
  align-self: center;
  width: 100%;
  height: auto;
  aspect-ratio: 240 / 229;
  object-fit: contain;
  object-position: center;
  background: var(--blue-50);
}
.service-card-body { padding: 26px; }
.service-icon, .mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-100);
  margin-bottom: 14px;
}
.service-card h3, .info-card h3 { color: var(--navy); font-size: 23px; line-height: 1.25; }
.service-card p, .info-card p, .step-card p, .faq-a { color: var(--muted); }
.price-pill {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 18px;
  border-radius: 999px;
  color: #327347;
  background: var(--green-100);
  font-weight: 900;
}
.info-card { padding: 28px; }
.info-card ul, .rich-list { margin-top: 16px; padding-left: 20px; color: var(--muted); }
.info-card li + li, .rich-list li + li { margin-top: 8px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.stat-cell { padding: 28px; background: #fff; text-align: center; }
.stat-cell strong { display: block; color: var(--blue); font-size: 30px; line-height: 1.1; }
.stat-cell span { color: var(--muted); font-weight: 700; }

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.step-card {
  min-height: 332px;
  padding: 20px;
  display: grid;
  grid-template-rows: 38px 28px minmax(58px, 1fr) auto;
  row-gap: 10px;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}
.step-card h3 { color: var(--navy); font-size: 19px; }
.step-card p {
  min-height: 58px;
  overflow: hidden;
}
.step-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 171 / 109;
  margin-top: 0;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  background: var(--blue-50);
}
.process-photo {
  position: sticky;
  top: 108px;
  overflow: hidden;
}
.process-photo img { width: 100%; height: auto; object-fit: contain; background: var(--blue-50); }
.process-photo div { padding: 20px; }

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}
.ba-list { display: grid; gap: 20px; }
.ba-card {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 18px;
}
.ba-title {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--navy);
  font-size: 21px;
  font-weight: 900;
  background: var(--blue-50);
  border-radius: 6px;
}
.ba-photo { position: relative; overflow: hidden; border-radius: 6px; min-height: 170px; }
.ba-photo img { width: 100%; height: 100%; object-fit: cover; }
.ba-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}
.ba-label.before { background: var(--red); }
.ba-label.after { background: var(--green); }
.result-stack { display: grid; gap: 18px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}
.form-card { padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field.full { grid-column: 1 / -1; }
label { display: block; color: var(--navy); font-weight: 900; margin-bottom: 8px; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--text);
  background: #fff;
}
textarea { min-height: 112px; padding: 12px 14px; resize: vertical; }
.radio-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.choice {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}
.choice input { display: none; }
.choice:has(input:checked) { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.contact-stack { display: grid; gap: 16px; }
.contact-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px;
}
.contact-card.line { background: linear-gradient(135deg, var(--green-100), #fff); }
.area-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.area-pill {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--blue);
  border: 1px solid #b8d7f6;
  background: #fff;
  font-weight: 800;
}

.faq-wrap { max-width: 940px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq-q {
  width: 100%;
  min-height: 68px;
  padding: 0 24px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}
.faq-a { display: none; padding: 0 24px 22px; }
.faq-item.open .faq-a { display: block; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-tile { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.cta-strip {
  padding: 54px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy));
}
.cta-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-strip h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.18; font-weight: 900; }
.cta-strip p { color: rgba(255,255,255,0.82); margin-top: 8px; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

footer {
  padding: 30px 32px 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
  background: #fff;
}
.footer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 8px; font-size: 14px; }
.float-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  gap: 12px;
}
.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.float-tel-btn { background: var(--blue); }
.float-line-btn { background: #12b850; }
.float-btn svg { width: 28px; height: 28px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .navbar-inner { height: 76px; padding: 0 20px; }
  .nav-links, .nav-btns { display: none; }
  .hamburger { display: block; margin-left: auto; }
  .nav-links.open {
    display: grid;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 18px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .hero {
    height: auto;
    max-height: none;
    min-height: 760px;
    align-items: flex-start;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.84) 0%, rgba(255,255,255,0.7) 38%, rgba(255,255,255,0.05) 76%),
      url('../generated/home-hero-bg-mobile.webp');
    background-position: center top;
    background-size: cover;
  }
  .hero-copy { width: min(620px, 100%); padding: 56px 24px 420px; }
  .hero-media { min-height: 420px; }
  .home-proof { width: calc(100% - 48px); margin-top: -92px; grid-template-columns: 1fr; border-radius: 14px; }
  .proof-item { padding: 28px; }
  .grid-3, .grid-2, .step-grid, .case-grid, .contact-layout, .process-layout { grid-template-columns: 1fr; }
  .process-photo { position: static; }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .step-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card { min-height: 346px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .logo-name strong { font-size: 19px; }
  .hero-title { font-size: 42px; }
  .hero-text { font-size: 18px; }
  .hero-points { gap: 14px; margin-top: 26px; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .home-proof { width: calc(100% - 28px); }
  .proof-item { grid-template-columns: 58px 1fr; gap: 18px; padding: 22px; }
  .proof-icon { width: 56px; height: 56px; }
  .proof-icon svg { width: 40px; height: 40px; }
  .proof-value { font-size: 34px; }
  .proof-label { font-size: 16px; }
  .service-card, .ba-card, .form-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 334px; }
  .radio-row, .gallery-grid, .stat-row { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: stretch; }
  .float-stack { display: none; }
}
