*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:#222;
  background:#f5f6f8;
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans TC",sans-serif;
  padding-top:92px;
}

nav{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 40px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px);
  box-shadow:0 1px 4px rgba(0,0,0,.05);
  gap:20px;
}

.logo{
  display:flex;
  align-items:center;
  gap:14px;
  white-space:nowrap;
}

.logo-image-link{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.logo img{
  height:48px;
  width:auto;
  display:block;
}

.logo-text{
  font-size:28px;
  font-weight:700;
  line-height:1;
  color:#111;
  letter-spacing:-0.02em;
}

.menu{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
}

.menu a{
  text-decoration:none;
  color:#333;
  font-weight:500;
}

.hero{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:72px 40px;
  max-width:1100px;
  margin:auto;
  gap:56px;
}

.hero-image,
.hero-text{
  flex:1 1 0;
  min-width:0;
}

.hero-image{
  display:flex;
  justify-content:center;
}

.hero img{
  width:100%;
  max-width:420px;
  display:block;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.hero-text h1{
  font-size:78px;
  line-height:1.02;
  margin:0 0 12px 0;
  letter-spacing:-0.04em;
}

.hero-text p{
  font-size:20px;
  color:#666;
  margin-top:10px;
  line-height:1.6;
}

.tagline{
  margin-top:15px;
  font-size:18px;
  color:#777;
}

.office-note{
  margin-top:12px;
  font-size:16px;
  line-height:1.7;
  color:#444;
}

.buttons{
  margin-top:30px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.btn{
  padding:14px 24px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  display:inline-block;
  transition:background-color .2s ease, transform .2s ease;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-primary{
  background:#2b6cb0;
  color:#fff;
}

.btn-primary:hover{
  background:#235a95;
}

.btn-light{
  background:#e2e8f0;
  color:#333;
}

.btn-light:hover{
  background:#d7dee7;
}

.btn-line{
  background:#06C755;
  color:#fff;
}

.btn-line:hover{
  background:#05b14c;
}

.section{
  background:#fff;
  padding:60px 40px;
}

.container{
  max-width:1000px;
  margin:auto;
}

h2{
  font-size:36px;
  margin:0 0 20px 0;
  letter-spacing:-0.02em;
}

p{
  line-height:1.8;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:22px;
}

.card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:22px;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}

.card h3{
  margin:0 0 10px 0;
  font-size:22px;
}

.card p{
  margin:0;
  color:#555;
  font-size:17px;
}

.simple-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}

.pill{
  background:#eef2f7;
  color:#334155;
  padding:10px 14px;
  border-radius:999px;
  font-weight:600;
}

.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.map-wrap{
  margin-top:22px;
  border-radius:14px;
  overflow:hidden;
}

iframe{
  max-width:100%;
  display:block;
}

.site-footer{
  padding:28px 0 42px;
  color:#666;
  font-size:.95rem;
  background:#fff;
  text-align:center;   /* ← 加這一行 */
}

.site-footer .container{
  border-top:1px solid #e5e7eb;
  padding-top:22px;
}

.email-link{
  color:#2b6cb0;
  text-decoration:none;
  font-weight:500;
}

.email-link:hover,
.facebook-link:hover{
  text-decoration:underline;
}

.facebook-link{
  color:#1877f2;
  text-decoration:none;
  font-weight:500;
}

@media (max-width:1024px){
  .hero-text h1{
    font-size:56px;
  }
}

@media (max-width:768px){
  body{
    padding-top:108px;
  }

  nav{
    padding:16px 20px;
    flex-direction:column;
    align-items:flex-start;
  }

  .menu{
    gap:14px 18px;
  }

  .hero{
    flex-direction:column;
    text-align:left;
    padding:40px 20px;
    gap:28px;
  }

  .hero-text h1{
    font-size:46px;
  }

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

  .section{
    padding:48px 20px;
  }
}

@media (max-width:420px){
  .logo img{
    height:42px;
  }

  .logo-text{
    font-size:24px;
  }

  .menu a{
    font-size:15px;
  }

  .hero-text h1{
    font-size:42px;
  }

  .hero-text p{
    font-size:17px;
  }
}
