:root {
  --ink: #17212b;
  --muted: #5a6673;
  --line: #dce4eb;
  --paper: #fbfcfd;
  --panel: #ffffff;
  --blue: #246f9f;
  --blue-deep: #124760;
  --green: #39745f;
  --amber: #b66a24;
  --rose: #ad4c55;
  --shadow: 0 18px 48px rgba(23, 33, 43, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.78;
  background: var(--paper);
}

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

a:hover {
  color: var(--blue);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--blue-deep);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 228, 235, 0.88);
  background: rgba(251, 252, 253, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 32px, var(--max));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  min-height: 38px;
  padding: 7px 12px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: #eef5f8;
}

.home-hero {
  min-height: clamp(620px, 84vh, 780px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
  background: #102532;
}

.home-hero__media {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(16, 37, 50, 0.1), rgba(16, 37, 50, 0.72)),
    url("hero-ac-maintenance-taiwan.png") center / cover no-repeat;
}

.home-hero__content {
  display: grid;
  align-content: center;
  padding: 72px clamp(24px, 5vw, 78px);
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 900;
}

.home-hero .eyebrow {
  color: #9bd9ef;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.28;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 72px);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

p {
  margin-top: 0;
}

.hero-lead {
  max-width: 640px;
  color: #e7f3f7;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: var(--blue-deep);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.button.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
}

.button.blue {
  color: #ffffff;
  background: var(--blue);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: #f1f6f8;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head.compact p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.reader-copy {
  color: #344250;
  font-size: 17px;
}

.topic-grid,
.article-list,
.brand-grid,
.source-grid {
  display: grid;
  gap: 16px;
}

.topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.topic-card,
.article-card,
.brand-card,
.source-card,
.notice,
.article-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.06);
}

.topic-card,
.article-card,
.brand-card,
.source-card,
.notice {
  padding: 22px;
}

.topic-card {
  min-height: 250px;
}

.topic-card:hover,
.article-card:hover,
.brand-card:hover {
  transform: translateY(-2px);
  transition: transform 0.16s ease;
}

.topic-icon,
.article-meta,
.brand-type {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #e7f2f7;
  font-size: 13px;
  font-weight: 900;
}

.topic-card p,
.article-card p,
.brand-card p,
.source-card p,
.notice p {
  margin-bottom: 0;
  color: var(--muted);
}

.join-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(36, 111, 159, 0.24);
  border-left: 8px solid var(--blue);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(23, 33, 43, 0.09);
}

.join-panel__copy h2 {
  margin-bottom: 12px;
  max-width: 980px;
  font-size: clamp(34px, 4.2vw, 56px);
  white-space: normal;
}

.join-panel__copy p {
  max-width: 980px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.join-panel__note {
  display: grid;
  grid-template-columns: auto minmax(220px, 0.45fr) minmax(0, 1fr) minmax(220px, auto);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue-deep);
}

.join-panel__note strong {
  display: block;
  margin-bottom: 0;
  font-size: 18px;
}

.join-panel__note p {
  margin-bottom: 0;
  color: #d7e5ea;
}

.contact-note {
  background: linear-gradient(135deg, var(--blue-deep), var(--green));
}

.contact-note span {
  width: fit-content;
  margin-bottom: 0;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.contact-note strong {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.18;
  white-space: nowrap;
}

.contact-note a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 220px;
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--blue-deep);
  background: #ffffff;
  font-weight: 950;
}

.contact-note a:hover {
  color: #ffffff;
  background: var(--blue);
}

.join-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.join-steps div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.join-steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 950;
}

.join-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.join-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.06);
}

.contact-strip__copy h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 34px);
}

.contact-strip__copy p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.contact-strip__actions {
  display: grid;
  gap: 8px;
}

.contact-strip__actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-deep);
  background: #f8fbfc;
  font-weight: 900;
}

.contact-strip__actions a.primary {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.contact-strip__actions a:hover {
  color: #ffffff;
  border-color: var(--blue-deep);
  background: var(--blue-deep);
}

.page-hero {
  padding: 86px 0 70px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(16, 37, 50, 0.92), rgba(16, 37, 50, 0.72)),
    url("hero-ac-maintenance-taiwan.png") center / cover no-repeat;
}

.page-hero .wrap {
  max-width: var(--max);
}

.page-hero .eyebrow {
  color: #9bd9ef;
}

.page-hero p {
  max-width: 760px;
  color: #e7f3f7;
  font-size: 19px;
}

.group {
  scroll-margin-top: 92px;
  margin-bottom: 46px;
}

.group:last-child {
  margin-bottom: 0;
}

.group-title {
  display: block;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.group-title-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.group-title-link:hover h2 {
  color: var(--blue);
}

.group-title-link:focus-visible {
  outline: 3px solid #9bd9ef;
  outline-offset: 6px;
  border-radius: 8px;
}

.topic-cta {
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
}

.article-card {
  display: grid;
  align-content: space-between;
  min-height: 250px;
  color: inherit;
  cursor: pointer;
}

.article-card:hover {
  color: var(--ink);
}

.article-card:focus-visible {
  outline: 3px solid #9bd9ef;
  outline-offset: 4px;
}

.article-card .read-more {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.article-page {
  background: #f1f6f8;
}

.article-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
}

.article-shell h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
}

.article-shell .article-meta {
  margin-bottom: 18px;
}

.article-body {
  color: #2f3d49;
  font-size: 18px;
}

.article-body h2 {
  margin-top: 42px;
  font-size: clamp(26px, 3vw, 34px);
}

.article-body ul {
  padding-left: 1.25em;
}

.article-body a {
  color: var(--blue);
  font-weight: 850;
}

.refs {
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.refs ol {
  padding-left: 1.4em;
}

.refs li {
  margin-bottom: 12px;
}

.article-repair-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 22px;
  align-items: center;
  margin-top: 38px;
  padding: 22px;
  border: 1px solid rgba(36, 111, 159, 0.24);
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  background: #f8fbfc;
}

.article-repair-cta__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #e7f2f7;
  font-size: 13px;
  font-weight: 900;
}

.article-repair-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
}

.article-repair-cta p {
  margin-bottom: 0;
  color: var(--muted);
}

.article-repair-cta__actions {
  display: grid;
  gap: 8px;
}

.article-repair-cta__actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-deep);
  background: #ffffff;
  font-weight: 900;
}

.article-repair-cta__actions a.primary {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.article-repair-cta__actions a:hover {
  color: #ffffff;
  border-color: var(--blue-deep);
  background: var(--blue-deep);
}

.brand-card {
  display: grid;
  gap: 18px;
  align-content: space-between;
  min-height: 300px;
}

.recommended-vendor {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
  padding: clamp(28px, 4vw, 42px);
  border: 2px solid rgba(36, 111, 159, 0.26);
  border-left: 10px solid var(--blue);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 111, 159, 0.12), rgba(57, 116, 95, 0.08)),
    var(--panel);
  box-shadow: 0 22px 52px rgba(23, 33, 43, 0.14);
}

.recommended-vendor::after {
  content: "";
  position: absolute;
  right: -92px;
  top: -92px;
  width: 220px;
  height: 220px;
  border: 34px solid rgba(36, 111, 159, 0.08);
  border-radius: 50%;
}

.recommended-vendor__copy,
.recommended-vendor__action {
  position: relative;
  z-index: 1;
}

.recommended-vendor__action {
  display: grid;
  gap: 10px;
}

.recommended-vendor__label {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.recommended-vendor h2 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 58px);
}

.recommended-vendor p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}

.recommended-vendor__action a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue-deep);
  box-shadow: 0 14px 28px rgba(18, 71, 96, 0.24);
  font-size: 18px;
  font-weight: 950;
}

.recommended-vendor__action a:hover {
  color: #ffffff;
  background: var(--blue);
}

.recommended-vendor__action a.secondary {
  border: 1px solid rgba(18, 71, 96, 0.18);
  color: var(--blue-deep);
  background: #ffffff;
  box-shadow: none;
}

.recommended-vendor__action a.secondary:hover {
  color: #ffffff;
  background: var(--green);
}

.recommended-vendor__join-note {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 2px;
  padding-top: 20px;
  border-top: 1px solid rgba(36, 111, 159, 0.18);
  text-align: right;
}

.recommended-vendor__join-note p {
  margin-bottom: 0;
  color: #4f5d68;
  font-size: 18px;
  font-weight: 850;
}

.recommended-vendor__join-note a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 10px 20px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-weight: 950;
}

.recommended-vendor__join-note a:hover {
  color: #ffffff;
  background: var(--blue-deep);
}

.brand-links {
  display: grid;
  gap: 8px;
}

.brand-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--blue-deep);
  font-weight: 900;
  background: #f8fbfc;
}

.notice {
  margin-top: 24px;
  border-left: 5px solid var(--amber);
}

.site-footer {
  padding: 42px 0 50px;
  color: #d7e5ea;
  background: #102532;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.7fr);
  gap: 42px;
  align-items: start;
}

.footer-brand h2 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 22px;
}

.footer-brand p {
  max-width: 340px;
  margin-bottom: 0;
  color: #c6d6dc;
}

.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-link-group h3 {
  margin-bottom: 12px;
  color: #9bd9ef;
  font-size: 15px;
}

.footer-link-group a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 850;
}

.footer-link-group a:last-child {
  margin-bottom: 0;
}

.footer-credit {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(215, 229, 234, 0.18);
}

.footer-credit p {
  margin-bottom: 0;
  color: #c6d6dc;
  font-size: 14px;
}

.footer-credit a {
  color: #ffffff;
  font-weight: 900;
}

.footer-credit a:hover {
  color: #9bd9ef;
}

@media (max-width: 1000px) {
  .home-hero,
  .split {
    grid-template-columns: 1fr;
  }

  .home-hero__media {
    min-height: 360px;
  }

  .topic-grid,
  .article-list,
  .brand-grid,
  .join-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-panel,
  .article-repair-cta,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .join-panel__note,
  .join-panel__copy h2,
  .contact-note strong {
    grid-template-columns: 1fr;
    white-space: normal;
  }

  .contact-note a {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .home-hero__content {
    padding: 48px 24px 62px;
  }

  .topic-grid,
  .article-list,
  .brand-grid,
  .source-grid,
  .join-steps {
    grid-template-columns: 1fr;
  }

  .recommended-vendor {
    grid-template-columns: 1fr;
  }

  .recommended-vendor__join-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-link-groups {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
