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

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

  :root {
    --brand:#01968D; --brand-dk:#017C75; --brand-lt:#E6F5F4; --brand-xl:#F4FBFA;
    --peach:#F4A261; --peach-lt:#FFF1E3; --cream:#FDF9F3;
    --ink:#1F2937; --mid:#556670; --line:#E7EDED; --white:#FFFFFF;
    --radius:20px;
    --shadow-sm:0 2px 10px rgba(1,150,141,.06);
    --shadow:0 10px 32px rgba(1,150,141,.12);
    --shadow-lg:0 20px 50px rgba(1,150,141,.15);
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    color: var(--ink); background: var(--cream); line-height: 1.75;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { text-decoration: none; color: inherit; }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(253,249,243,.92); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(1,150,141,.08);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; height: 110px;
  }
  .nav-logo { display: flex; align-items: center; gap: 10px; }
  .nav-logo img { height: 98px; width: auto; transition: .25s; }
  .nav-logo:hover img { transform: scale(1.04); }
  .nav-links { display: flex; gap: 36px; list-style: none; }
  .nav-links a { color: var(--ink); font-size: 15px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; transition: .2s; }
  .nav-links a:hover, .nav-links a.active { color: var(--brand); border-bottom-color: var(--brand); }
  .nav-cta { background: var(--brand); color: white; padding: 11px 26px; border-radius: 50px; font-size: 14px; font-weight: 700; transition: .25s; display: inline-flex; align-items: center; gap: 6px; }
  .nav-cta:hover { background: var(--brand-dk); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(1,150,141,.3); }

  /* ── PAGE HERO ── */
  .page-hero {
    padding: 180px 5% 80px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--brand-xl) 55%, var(--peach-lt) 100%);
  }
  .page-hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; z-index: 0; }
  .page-hero-blob.b1 { width: 420px; height: 420px; background: var(--brand-lt); top: -120px; right: -80px; }
  .page-hero-blob.b2 { width: 300px; height: 300px; background: var(--peach-lt); bottom: -80px; left: -60px; }
  .page-hero-inner {
    max-width: 1240px; margin: 0 auto; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  }
  .breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mid); margin-bottom: 18px; }
  .breadcrumb a { color: var(--brand); font-weight: 700; }
  .breadcrumb .sep { opacity: .4; }
  .page-hero h1 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 900; line-height: 1.22; color: var(--ink); margin-bottom: 22px; letter-spacing: -.5px; }
  .page-hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--brand) 0%, var(--peach) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .page-hero-sub { font-size: 16.5px; color: var(--mid); line-height: 1.95; margin-bottom: 32px; max-width: 600px; }
  .page-hero-img {
    border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5; position: relative;
  }
  .page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
  .page-hero-tag {
    position: absolute; top: 20px; left: 20px; background: var(--brand); color: white;
    padding: 7px 16px; border-radius: 50px; font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  }

  /* ── SECTIONS ── */
  section { padding: 100px 5%; position: relative; }
  .inner { max-width: 1240px; margin: 0 auto; }
  .eyebrow { display: inline-block; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: 3px; margin-bottom: 14px; text-transform: uppercase; }
  .eyebrow::before { content: '— '; opacity: .4; }
  .sec-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; color: var(--ink); line-height: 1.25; margin-bottom: 16px; letter-spacing: -.5px; }
  .sec-desc { font-size: 16px; color: var(--mid); max-width: 640px; line-height: 1.9; }
  .center { text-align: center; }
  .center .sec-desc { margin: 0 auto; }

  /* ── CHALLENGES ── */
  .challenges { background: white; }
  .ch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
  .ch-card {
    background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px 28px; transition: .3s;
  }
  .ch-card:hover { border-color: var(--brand); background: white; box-shadow: var(--shadow); transform: translateY(-4px); }
  .ch-icon { width: 60px; height: 60px; background: white; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
  .ch-title { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
  .ch-desc { font-size: 14.5px; color: var(--mid); line-height: 1.85; }

  /* ── SERVICE SCOPE ── */
  .scope { background: var(--brand-xl); }
  .scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 56px; }
  .scope-card {
    background: white; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 40px 34px; transition: .3s;
  }
  .scope-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }
  .scope-num {
    width: 48px; height: 48px; background: var(--brand-lt); color: var(--brand);
    border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 20px; margin-bottom: 20px;
  }
  .scope-title { font-size: 20px; font-weight: 900; color: var(--ink); margin-bottom: 12px; }
  .scope-desc { font-size: 14.5px; color: var(--mid); line-height: 1.9; margin-bottom: 20px; }
  .scope-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
  .scope-list li {
    font-size: 12.5px; font-weight: 700; color: var(--brand);
    background: var(--brand-lt); padding: 6px 12px; border-radius: 50px;
  }

  /* ── WORKFLOW ── */
  .workflow { background: white; }
  .wf-steps {
    margin-top: 60px; display: flex; flex-direction: column; gap: 24px;
    max-width: 960px; margin-left: auto; margin-right: auto;
  }
  .wf-step {
    display: grid; grid-template-columns: 80px 1fr; gap: 28px; align-items: start;
    padding: 28px 32px; background: var(--cream); border-radius: var(--radius);
    border: 1px solid var(--line); transition: .3s;
  }
  .wf-step:hover { background: white; border-color: var(--brand); box-shadow: var(--shadow-sm); }
  .wf-step-num {
    width: 64px; height: 64px; background: var(--brand); color: white;
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 900;
  }
  .wf-step-title { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
  .wf-step-desc { font-size: 14.5px; color: var(--mid); line-height: 1.9; }

  /* ── CASES (Photo Marquee) ── */
  .gov-cases { background: var(--cream); overflow: hidden; padding: 100px 0; }
  .gov-cases .inner { padding: 0 5%; }
  .cases-marquee {
    margin-top: 48px; overflow: hidden; position: relative;
    mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent);
  }
  .cases-track {
    display: flex; gap: 22px; width: max-content;
    animation: casesMarquee 45s linear infinite;
  }
  .cases-marquee:hover .cases-track { animation-play-state: paused; }
  @keyframes casesMarquee { to { transform: translateX(-50%); } }
  .case-photo {
    flex: 0 0 340px; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); background: var(--brand-lt); position: relative; transition: .3s;
  }
  .case-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .case-photo img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
  .case-photo:hover img { transform: scale(1.06); }
  .case-photo-tag {
    position: absolute; bottom: 14px; left: 14px;
    background: rgba(255,255,255,.95); color: var(--brand);
    font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
    padding: 6px 14px; border-radius: 50px;
  }

  /* ── OUTCOMES ── */
  .outcomes { background: var(--brand-xl); }
  .out-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px;
  }
  .out-card {
    background: white; border-radius: var(--radius); padding: 36px 28px; text-align: center;
    border: 1px solid var(--line); transition: .3s;
  }
  .out-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }
  .out-num { font-size: 44px; font-weight: 900; color: var(--brand); margin-bottom: 8px; letter-spacing: -1px; }
  .out-num sup { font-size: 22px; }
  .out-label { font-size: 13.5px; color: var(--mid); font-weight: 500; }

  /* ── PARTNERS ── */
  .gov-partners { background: white; text-align: center; }
  .gov-partner-row {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 16px; margin-top: 48px;
  }
  .gov-partner-item {
    background: var(--cream); border: 1.5px solid var(--line); border-radius: 50px;
    padding: 14px 28px; font-size: 14.5px; font-weight: 700; color: var(--mid);
    transition: .25s; display: inline-flex; align-items: center; gap: 10px;
  }
  .gov-partner-item:hover { border-color: var(--brand); color: var(--brand); background: white; transform: translateY(-2px); }
  .gov-partner-item .dot { width: 8px; height: 8px; background: var(--brand); border-radius: 50%; }

  /* ── CONTACT FORM ── */
  .contact-sec { background: var(--cream); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; margin-top: 48px; }
  /* 移除聯絡表單後：只剩聯絡資訊面板，改為單欄置中 */
  .contact-grid--single { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .contact-info {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dk) 100%);
    color: white; border-radius: var(--radius); padding: 44px 36px;
    box-shadow: 0 14px 36px rgba(1,150,141,.2);
  }
  .contact-info h3 { font-size: 22px; font-weight: 900; margin-bottom: 16px; }
  .contact-info p { font-size: 15px; opacity: .92; line-height: 1.85; margin-bottom: 32px; }
  .contact-info ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
  .contact-info li { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; line-height: 1.8; }
  .contact-info li .ci-icon {
    width: 38px; height: 38px; background: rgba(255,255,255,.15); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
  }
  .contact-info li strong { display: block; font-weight: 800; margin-bottom: 2px; }

  .contact-form {
    background: white; border-radius: var(--radius); padding: 44px 40px;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
  .form-field label {
    display: block; font-size: 13.5px; font-weight: 700; color: var(--ink);
    margin-bottom: 7px;
  }
  .form-field label .req { color: var(--peach); }
  .form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px;
    font-size: 14.5px; font-family: inherit; color: var(--ink); transition: .2s;
    background: white;
  }
  .form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(1,150,141,.12);
  }
  .form-field textarea { resize: vertical; min-height: 120px; }
  .form-submit {
    background: var(--brand); color: white; padding: 16px 42px; border-radius: 50px;
    font-size: 15px; font-weight: 800; border: none; cursor: pointer;
    box-shadow: 0 10px 28px rgba(1,150,141,.28); transition: .25s; font-family: inherit;
    display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  }
  .form-submit:hover { background: var(--brand-dk); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(1,150,141,.38); }

  /* ── FOOTER ── */
  footer { background: #0E2C2A; color: rgba(255,255,255,.72); padding: 80px 5% 36px; }
  .footer-grid {
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .footer-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
  .footer-brand-logo img { height: 288px; width: auto; filter: brightness(0) invert(1); }
  .footer-brand p { font-size: 13.5px; line-height: 1.9; max-width: 360px; }
  .footer-col h4 { color: white; font-size: 14px; font-weight: 800; margin-bottom: 18px; letter-spacing: 1px; }
  .footer-col a { display: block; color: rgba(255,255,255,.6); font-size: 13.5px; margin-bottom: 11px; transition: .2s; }
  .footer-col a:hover { color: var(--brand); }
  .footer-bottom {
    max-width: 1240px; margin: 24px auto 0;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    font-size: 12.5px; color: rgba(255,255,255,.5);
  }
  .footer-social { display: flex; gap: 10px; }
  .footer-social a {
    width: 38px; height: 38px; background: rgba(255,255,255,.08);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 13px; font-weight: 700; transition: .2s;
  }
  .footer-social a:hover { background: var(--brand); }

  /* ── DESIGN LABEL ── */
  .design-label {
    position: fixed; bottom: 22px; right: 22px; z-index: 999;
    background: var(--peach); color: white; padding: 11px 22px; border-radius: 50px;
    font-size: 13px; font-weight: 800; box-shadow: 0 6px 22px rgba(244,162,97,.4);
    letter-spacing: 1px;
  }

  /* ── RWD ── */
  @media (max-width: 960px) {
    nav { padding: 0 5%; height: 88px; }
    .nav-links { display: none; }
    .nav-logo img { height: 78px; }
    .page-hero-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .ch-grid, .scope-grid, .out-grid { grid-template-columns: 1fr; gap: 20px; }
    .out-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 14px; }
    .wf-step { grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 24px; }
    .wf-step-num { width: 52px; height: 52px; font-size: 22px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    section { padding: 70px 5%; }
    .page-hero { padding: 150px 5% 60px; }
    .contact-info, .contact-form { padding: 32px 24px; }
    .footer-brand-logo img { height: 144px; }
  }
  @media (max-width: 640px) {
    nav { height: 72px; }
    .nav-logo img { height: 64px; }
    .out-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 120px 5% 60px; }
    .page-hero h1 { font-size: 30px; }
    .footer-brand-logo img { height: 120px; }
  }
