:root {
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --surface-soft: #F1F0EC;
  --ink: #2A2927;
  --muted: #7D7973;
  --brand: #FFFFFF;
  --brand-dark: #F8F7F4;
  --accent: #B79A67;
  --accent-deep: #9F8254;
  --accent-soft: #D8C8AA;
  --line: rgba(68, 63, 56, 0.12);
  --line-strong: rgba(68, 63, 56, 0.18);
  --shadow: 0 18px 50px rgba(43, 39, 34, 0.06);
  --shadow-soft: 0 10px 30px rgba(43, 39, 34, 0.04);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(183, 154, 103, 0.20);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--ink);
}

.site-header .brand .brand-mark {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  overflow: hidden;
}

.site-header .brand .brand-mark img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand > span {
    height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand strong {
  display: block;
  margin: 0;
  color: #2A2927;
  font-family: "Noto Serif TC", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 10px;
  color: #9A968F;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #6F6B65;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transition: right 0.2s ease;
}

.main-nav > a:not(.nav-cta):hover::after {
  right: 0;
}

.main-nav a:hover {
  color: #252421;
}

.main-nav .nav-cta {
  padding: 11px 22px;
  color: var(--accent-deep);
  border: 1px solid var(--accent);
  background: rgba(255,255,255,0.5);
}

.main-nav .nav-cta:hover {
  color: #FFFFFF;
  background: var(--accent);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: #3A3834;
}

.hero {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;

    color: var(--ink);

    background:
        linear-gradient(
            rgba(255,255,255,0.88),
            rgba(255,255,255,0.25)
        ),
        url("images/section1_background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(
      128deg,
      transparent 0%,
      transparent 36%,
      rgba(152, 152, 149, 0.09) 37%,
      transparent 39%,
      transparent 65%,
      rgba(190, 173, 142, 0.06) 66%,
      transparent 68%
    ),
    linear-gradient(
      42deg,
      transparent 0%,
      transparent 58%,
      rgba(150,150,147,0.05) 59%,
      transparent 61%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 125px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
}

.hero h1 {
  max-width: 860px;
  color: #2A2927;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0.015em;
}

.hero h1 span {
  color: #A98A58;
}

.hero-copy {
  max-width: 610px;
  margin: 34px 0 0;
  color: #77736D;
  font-size: 17px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 44px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  color: var(--accent-deep);
  background: rgba(255,255,255,0.54);
  border-color: var(--accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: #FFFFFF;
  background: var(--accent);
}

.btn-line {
    color: #06C755;

    background: transparent;

    border: 1px solid #06C755;

    transition: .25s ease;
}

.btn-line:hover {
    color: #FFFFFF;

    background: #06C755;

    border-color: #06C755;

    transform: translateY(-2px);

    box-shadow: 0 10px 24px rgba(6, 199, 85, .18);
}

.btn-secondary {
  color: #6F6A64;
  border-color: rgba(74,71,66,0.18);
  background: rgba(255,255,255,0.56);
}

.btn-secondary:hover {
  color: var(--accent-deep);
  border-color: var(--accent);
  background: #FFFFFF;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 60px;
  color: #918C85;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.hero-notes span::before {
  content: "＊";
  margin-right: 9px;
  color: var(--accent);
}

.section {
  padding: 130px 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 54px;
}

.section h2 {
  color: #2E2C29;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.section-heading > p:last-child {
  margin: 20px 0 0;
  color: #817C75;
  line-height: 1.9;
}

.services {
  background: linear-gradient(180deg, #FAF9F7 0%, #F7F6F3 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 280px;
  padding: 42px 36px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  /* background: transparent; */
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.service-card:nth-child(3n) {
  border-right: 0;
}

.service-card:hover {
  z-index: 2;
  transform: translateY(-4px);
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-soft);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 0;
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.service-card:nth-child(2),
.service-card:nth-child(4),
.service-card:nth-child(6) {
  background:
    linear-gradient(
      rgba(255,255,255,.84),
      rgba(255,255,255,.25)
    ),
    url("images/section1_background.png");

  background-size: cover;
}

.service-card:nth-child(2) {
  background-position: left center;
}

.service-card:nth-child(4) {
  background-position: center;
}

.service-card:nth-child(6) {
  background-position: right center;
}

.service-number {
  color: var(--accent-deep);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.service-card h3 {
  margin: 54px 0 14px;
  color: #302E2A;
  font-family: "Noto Serif TC", serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.service-card p {
  margin: 0;
  color: #858078;
  font-size: 15px;
  line-height: 1.9;
}

.about {
  background: #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(183,154,103,0.16);
  background:
    radial-gradient(circle at 24% 28%, rgba(191,191,187,0.14), transparent 28%),
    linear-gradient(140deg, #FFFFFF 0%, #F4F2EE 100%);
  box-shadow: var(--shadow);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(
      130deg,
      transparent 0%,
      transparent 42%,
      rgba(166,166,163,0.06) 43%,
      transparent 45%,
      transparent 69%,
      rgba(183,154,103,0.05) 70%,
      transparent 72%
    );
}

.about-block {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: #3C3934;
  background: rgba(255,255,255,0.54);
}

.about-block:first-child {
  border-right: 1px solid rgba(72,67,60,0.10);
}

.about-block.accent {
  color: #5A4A33;
  background: rgba(216,200,170,0.24);
}

.about-block p {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 34px;
  font-weight: 500;
}

.about-block strong {
  margin-top: 5px;
  color: #969087;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-block.accent strong {
  color: #9A8159;
}

.about-content .lead {
  margin-top: 28px;
  color: #55514B;
  font-size: 18px;
  line-height: 2;
}

.about-content > p:not(.eyebrow):not(.lead) {
  color: #89847D;
  line-height: 2;
}

.about-points {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.about-points div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.about-points strong {
  color: var(--accent-deep);
  font-size: 13px;
}

.contact {
  background: linear-gradient(180deg, #F3F1ED 0%, #F8F7F4 100%);
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 70px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 16%, rgba(200,200,196,0.10), transparent 26%),
    #FFFFFF;
  border: 1px solid rgba(183,154,103,0.18);
  box-shadow: var(--shadow);
}

.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 110px;
  height: 2px;
  background: var(--accent);
}

.contact-card::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(183,154,103,0.10);
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy p:last-child {
  max-width: 480px;
  color: #817C75;
  line-height: 2;
}

.contact-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.contact-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row span {
  color: #9A958D;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.contact-row strong {
  color: #494641;
  font-weight: 500;
}

.contact-btn {
  margin-top: 30px;
  align-self: flex-start;
}

.site-footer {
  padding: 42px 0;
  color: #928D85;
  background: #F0EEEA;
  border-top: 1px solid rgba(183,154,103,0.24);
}

.footer-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.footer-wrap strong {
  color: #494641;
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0.06em;
}

.footer-wrap p {
  margin: 6px 0 0;
  font-size: 12px;
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 104px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    color: #5F5A54;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid rgba(183,154,103,0.18);
    box-shadow: 0 18px 32px rgba(49,45,39,0.06);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid rgba(70,66,60,0.08);
  }

  .main-nav .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .service-card:nth-child(2n) {
    border-right: 0;
  }

  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 52px;
  }

  .about-visual {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-wrap {
    min-height: 86px;
  }

  .site-header .brand .brand-mark {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
  }

  .site-header .brand .brand-mark img {
    width: 56px;
    height: 56px;
  }

  .brand > span {
    height: 56px;
    padding: 3px 0;
  }

  .brand strong {
    font-size: 18px;
    letter-spacing: 0.04em;
  }

  .brand small {
    font-size: 8px;
    letter-spacing: 0.18em;
  }

  .main-nav {
    top: 86px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-notes {
    margin-top: 40px;
    flex-direction: column;
    gap: 7px;
  }

  .section {
    padding: 95px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(2n),
  .service-card:nth-child(3n) {
    border-right: 0;
  }

  .service-card {
    min-height: auto;
    padding: 38px 24px 34px;
  }

  .service-card::before {
    left: 24px;
  }

  .service-card h3 {
    margin-top: 30px;
  }

  .about-visual {
    grid-template-columns: 1fr;
    min-height: 360px;
  }

  .about-block {
    min-height: 180px;
  }

  .about-block:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(72,67,60,0.10);
  }

  .contact-card {
    gap: 40px;
    padding: 42px 26px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}