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

:root {
  --ivory: #f7f2e8;
  --paper: #fffdf8;
  --green: #173d34;
  --green-2: #2c564a;
  --gold: #b89352;
  --gold-light: #dfc791;
  --red: #9c4038;
  --ink: #29362f;
  --muted: #667068;
  --line: rgba(23, 61, 52, .16);
  --shadow: 0 20px 58px rgba(26, 55, 46, .1);
  --radius: 24px;
  --serif: 'Noto Serif TC', 'Songti TC', serif;
  --sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); line-height: 1.72; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-160%); padding: 8px 14px; border-radius: 8px; background: var(--paper); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.site-header { height: 80px; max-width: 1320px; margin: auto; padding: 0 36px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--green); text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 19px; }
.brand strong, .brand small { display: block; line-height: 1.3; }
.brand strong { font-family: var(--serif); font-size: 18px; letter-spacing: .12em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .18em; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 23px; border: 0; border-radius: 999px; background: var(--green); color: #fff; box-shadow: 0 9px 24px rgba(23, 61, 52, .16); cursor: pointer; font-weight: 600; letter-spacing: .03em; text-decoration: none; transition: transform .22s, background .22s, box-shadow .22s; }
.button:hover { transform: translateY(-2px); background: var(--green-2); box-shadow: 0 12px 28px rgba(23, 61, 52, .21); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.button-small { min-height: 40px; padding: 7px 17px; font-size: 13px; }
.text-link { color: var(--green); font-weight: 600; text-underline-offset: 5px; }
.eyebrow { margin: 0 0 10px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .17em; }

.hero { max-width: 1440px; height: 600px; margin: 0 auto; display: grid; grid-template-columns: 48% 52%; overflow: hidden; border-radius: 0 0 44px 44px; background: var(--paper); box-shadow: var(--shadow); }
.hero-copy { padding: 64px clamp(40px, 5.5vw, 78px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { margin: 0; color: var(--green); font-family: var(--serif); font-size: clamp(42px, 3.8vw, 56px); font-weight: 600; line-height: 1.34; letter-spacing: .02em; }
.lead { max-width: 600px; margin: 22px 0 10px; color: #46564e; font-size: 16px; }
.hero-note { max-width: 600px; margin: 0; padding-left: 14px; border-left: 2px solid var(--gold-light); color: var(--muted); font-size: 13px; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 22px; }
.hero-visual { position: relative; min-height: 600px; margin: 0; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual figcaption { position: absolute; right: 24px; bottom: 22px; max-width: 310px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(20,53,45,.76); color: #fff; backdrop-filter: blur(10px); font-size: 12px; }

.section { max-width: 1180px; margin: 0 auto; padding: 72px 34px; }
.section-heading { max-width: 690px; margin-bottom: 36px; }
.section-heading h2, .trust h2, .price-card h2, .form-intro h2, .success-panel h2 { margin: 0; color: var(--green); font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; line-height: 1.4; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); }

.need-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.need-card { min-height: 128px; padding: 20px 21px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,253,248,.72); transition: transform .22s, border-color .22s, background .22s; }
.need-card:hover { transform: translateY(-3px); border-color: var(--gold-light); background: var(--paper); }
.need-card h3 { margin: 0 0 6px; color: var(--green); font-family: var(--serif); font-size: 21px; }
.need-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.trust { max-width: none; padding-left: max(34px, calc((100vw - 1112px)/2)); padding-right: max(34px, calc((100vw - 1112px)/2)); display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; align-items: stretch; background: var(--green); color: #dbe5df; }
.trust-value { padding: 28px 20px 28px 0; align-self: center; }
.trust h2 { color: #fff; font-size: clamp(34px, 4vw, 50px); }
.trust-value > p:not(.eyebrow) { color: #d6e0da; }
.boundary { padding: 14px 17px; border: 1px solid rgba(223,199,145,.42); border-radius: 12px; color: #fff !important; font-size: 13px; }
.case-card { padding: 26px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.07); }
.case-card-top { display: grid; grid-template-columns: 32% 1fr; gap: 20px; align-items: center; }
.case-card-top img { width: 100%; height: auto; aspect-ratio: 1.15; object-fit: cover; border-radius: 15px; filter: sepia(.08) saturate(.9); }
.case-card h3 { margin: 0; color: #fff; font-family: var(--serif); font-size: 23px; line-height: 1.45; }
.case-card > p { margin: 14px 0 0; color: #d2ddd6; font-size: 13px; }
.case-sources { padding-top: 11px; border-top: 1px solid rgba(255,255,255,.12); font-size: 9px !important; }
.case-sources a { color: var(--gold-light); text-underline-offset: 3px; }

.service { max-width: none; padding-left: max(34px, calc((100vw - 1112px)/2)); padding-right: max(34px, calc((100vw - 1112px)/2)); background: #eee7da; }
.service-analysis { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center; }
.floor-plan { display: grid; grid-template-columns: repeat(3, 1fr); padding: 9px; border: 1px solid rgba(23,61,52,.25); background: rgba(255,253,248,.78); box-shadow: 0 14px 38px rgba(23,61,52,.09); }
.floor-plan > div { aspect-ratio: 1.12; padding: 9px; display: flex; flex-direction: column; justify-content: space-between; gap: 5px; border: 1px solid rgba(23,61,52,.14); font-size: 10px; }
.floor-plan .center { align-items: center; justify-content: center; background: var(--green); color: #fff; text-align: center; }
.compass { color: var(--gold-light); font-size: 26px; }
.tag { align-self: flex-start; padding: 2px 6px; border-radius: 99px; font-size: 8px; }
.boost { background: #dce8d6; color: #365b39; }.resolve { background: #f1dcd8; color: #8a3f39; }.notice { background: #f3e5bd; color: #6b571e; }
.analysis-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.analysis-chip { min-height: 52px; display: flex; align-items: center; padding: 10px 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,253,248,.72); color: var(--green); font-family: var(--serif); font-size: 15px; }
.service-cards { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card { padding: 22px; border-top: 1px solid var(--gold); background: var(--paper); box-shadow: 0 8px 25px rgba(23,61,52,.055); }
.service-card > span { color: var(--gold); font-family: var(--serif); font-size: 11px; }
.service-card h3 { margin: 8px 0 7px; color: var(--green); font-family: var(--serif); font-size: 20px; }
.service-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.journey .section-heading { margin-bottom: 28px; }
.prep-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prep-item { min-height: 68px; display: flex; align-items: center; gap: 13px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.prep-item span { color: var(--gold); font-family: var(--serif); font-size: 11px; }
.prep-item b { color: var(--green); font-family: var(--serif); font-size: 15px; }
.prep-note { margin: 12px 0 30px; color: var(--muted); font-size: 12px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; text-align: center; }
.timeline::before { content: ''; position: absolute; top: 18px; left: 8%; right: 8%; height: 1px; background: var(--gold-light); }
.timeline-item { position: relative; padding: 0 5px; }
.timeline-item span { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; margin: 0 auto 9px; border: 1px solid var(--gold); border-radius: 50%; background: var(--ivory); color: var(--gold); font-family: var(--serif); font-size: 10px; }
.timeline-item b { color: var(--green); font-family: var(--serif); font-size: 13px; }
.observation-bar { margin-top: 30px; padding: 21px 25px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 28px; align-items: center; border-radius: 17px; background: #ded4c2; }
.observation-bar h3 { margin: 0; color: var(--green); font-family: var(--serif); font-size: 24px; }
.observation-bar p { margin: 0; color: #566159; font-size: 12px; }

.offer { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; align-items: stretch; }
.price-card { padding: 38px 42px; border-radius: var(--radius); background: var(--green); color: #e7eee9; }
.price-card .eyebrow { color: var(--gold-light); }
.price-card h2 { margin-bottom: 3px; color: #fff; font-size: clamp(50px, 5.5vw, 70px); }
.price-card h2 span { margin-right: 8px; font-family: var(--sans); font-size: 14px; }
.price-card > p { color: #cbd7d1; font-size: 13px; }
.price-card ul { margin: 20px 0; padding-left: 19px; font-size: 13px; }
.price-card li { margin: 5px 0; }
.price-card .button { width: 100%; background: var(--gold-light); color: var(--green); box-shadow: none; }
.consultant-card { padding: 24px; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-align: center; }
.consultant-photo { width: min(100%, 280px); height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: 50% 28%; border-radius: 18px 72px 18px 18px; box-shadow: var(--shadow); }
.consultant-card h3 { margin: 0; color: var(--green); font-family: var(--serif); font-size: 19px; line-height: 1.5; }
.consultant-card p { color: var(--muted); font-size: 12px; }
.consultant-card .eyebrow { margin-top: 17px; }
.signature { margin: 13px 0 0 !important; color: var(--green) !important; font-family: var(--serif); font-size: 22px !important; }
.signature small { display: block; color: var(--gold); font-family: var(--sans); font-size: 9px; letter-spacing: .15em; }

.inquiry { max-width: none; padding-left: max(34px, calc((100vw - 1112px)/2)); padding-right: max(34px, calc((100vw - 1112px)/2)); display: grid; grid-template-columns: .72fr 1.28fr; gap: 52px; align-items: start; background: var(--paper); }
.form-intro > p { color: var(--muted); font-size: 13px; }
.instagram-contact { margin-top: 22px; }
.instagram-contact small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.instagram-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 20px; border: 1px solid var(--green); border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 9px 24px rgba(23,61,52,.14); transition: transform .2s, box-shadow .2s; }
.instagram-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23,61,52,.2); }
.inquiry-form { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.field { margin-bottom: 17px; }
.field label, legend { display: block; margin-bottom: 7px; color: var(--green); font-weight: 600; }
.field input { width: 100%; height: 50px; padding: 0 15px; border: 1px solid rgba(23,61,52,.24); border-radius: 11px; background: var(--paper); color: var(--ink); }
.field-hint { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.field input:focus { border-color: var(--gold); outline: 3px solid rgba(184,147,82,.17); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.error { min-height: 17px; display: block; margin-top: 3px; color: var(--red); font-size: 11px; }
fieldset { margin: 0 0 14px; padding: 0; border: 0; }
legend small { color: var(--muted); font-weight: 400; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { min-height: 43px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--green); font-size: 12px; transition: .2s; }
.choice-grid input:checked + span { border-color: var(--green); background: var(--green); color: #fff; }
.choice-grid input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice-grid input:disabled + span { cursor: not-allowed; opacity: .38; }
.consent { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 11px; }
.consent input { margin-top: 6px; accent-color: var(--green); }
.submit-button { width: 100%; margin-top: 8px; }
.form-status { min-height: 18px; margin-bottom: 0; color: var(--red); text-align: center; font-size: 12px; }
.success-panel { grid-column: 2; padding: 48px; border-radius: var(--radius); background: var(--green); color: #dce6e0; text-align: center; }
.success-panel h2 { color: #fff; }
.success-panel .eyebrow { color: var(--gold-light); }
.success-mark { width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; border: 1px solid var(--gold-light); border-radius: 50%; color: var(--gold-light); font-size: 25px; }
.success-panel .instagram-button { margin-top: 18px; border-color: var(--gold-light); background: var(--gold-light); color: var(--green); box-shadow: none; }
.success-panel .button { margin: 17px 0 10px; background: var(--gold-light); color: var(--green); }
.success-panel small { display: block; color: #aebfb6; }

footer { padding: 48px 34px; background: #102f28; color: #abbcb3; text-align: center; }
.footer-brand { justify-content: center; color: #fff; }
.footer-brand small { color: #abbcb3; }
footer p { max-width: 720px; margin: 18px auto; font-size: 11px; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { padding: 0 22px; }.site-header .button { display: none; }
  .hero { height: auto; grid-template-columns: 1fr; }.hero-copy { min-height: 500px; }.hero-visual { min-height: 430px; }
  .trust, .service-analysis, .offer, .inquiry { grid-template-columns: 1fr; gap: 28px; }
  .trust-value { padding: 0; }
  .case-card-top { grid-template-columns: 28% 1fr; }
  .floor-plan { max-width: 560px; }
  .service-cards { grid-template-columns: 1fr 1fr 1fr; }
  .offer { max-width: 760px; }.consultant-card { flex-direction: row; gap: 24px; text-align: left; }.consultant-photo { flex: 0 0 260px; width: 260px; }.consultant-card .eyebrow { margin-top: 0; }
  .form-intro { max-width: 700px; }.success-panel { grid-column: auto; }
}

@media (max-width: 620px) {
  .site-header { height: 72px; }.brand strong { font-size: 16px; }
  .hero { border-radius: 0 0 30px 30px; }.hero-copy { min-height: auto; padding: 52px 22px 48px; }.hero h1 { font-size: 37px; }.lead { font-size: 15px; }.hero-actions { margin-top: 23px; flex-direction: column; align-items: stretch; }.hero-actions .text-link { text-align: center; }.hero-visual { min-height: 330px; }.hero-visual figcaption { left: 16px; right: 16px; bottom: 16px; text-align: center; }
  .section { padding: 52px 20px; }.section-heading { margin-bottom: 28px; }.section-heading h2, .trust h2, .form-intro h2 { font-size: 30px; }
  .need-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.need-card { min-height: 116px; padding: 16px 14px; }.need-card h3 { font-size: 19px; }.need-card p { font-size: 11px; }
  .trust { padding: 52px 20px; gap: 24px; }.case-card { padding: 19px; }.case-card-top { grid-template-columns: 34% 1fr; gap: 13px; }.case-card h3 { font-size: 17px; }.case-card > p { font-size: 11px; }
  .service { padding: 52px 18px; }.service-analysis { gap: 20px; }.floor-plan { padding: 6px; }.floor-plan > div { padding: 6px; font-size: 8px; }.analysis-chips { gap: 7px; }.analysis-chip { min-height: 45px; padding: 8px 10px; font-size: 12px; }.service-cards { grid-template-columns: 1fr; gap: 8px; }.service-card { padding: 18px; }
  .prep-items { grid-template-columns: 1fr; gap: 7px; }.prep-item { min-height: 55px; }.prep-note { margin-bottom: 24px; }.timeline { grid-template-columns: repeat(3, 1fr); gap: 22px 0; }.timeline::before { display: none; }.observation-bar { padding: 18px; grid-template-columns: 1fr; gap: 9px; }.observation-bar h3 { font-size: 21px; }
  .offer { gap: 12px; }.price-card { padding: 31px 23px; }.price-card .button { font-size: 12px; }.consultant-card { padding: 22px; flex-direction: column; text-align: center; }.consultant-photo { flex: none; width: min(65%, 260px); }.consultant-card .eyebrow { margin-top: 14px; }
  .inquiry { padding: 52px 18px; gap: 28px; }.inquiry-form { padding: 24px 17px; }.choice-grid { grid-template-columns: 1fr 1fr; }.success-panel { padding: 40px 22px; }
  footer { padding: 42px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
