*{
  box-sizing:border-box;
}

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

/* NAVBAR */

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 40px;
  background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.05);
  gap:20px;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:22px;
  font-weight:700;
  white-space:nowrap;
}

.logo img{
  height:32px;
  width:auto;
}

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

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

/* HERO */

.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 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:86px;
  line-height:1.05;
  margin:0 0 12px 0;
}

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

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

/* BUTTONS */

.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;
}

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

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

/* SECTIONS */

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

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

h2{
  font-size:36px;
  margin:0 0 20px 0;
}

p{
  line-height:1.8;
}

/* CARDS */

.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;
}

/* AREA TAGS */

.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 */

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

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

/* TABLET */

@media (max-width:1024px){

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

}

/* MOBILE */

@media (max-width:768px){

  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 img{
    max-width:100%;
  }

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

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

}

/* SMALL MOBILE */

@media (max-width:420px){

  .logo img{
    height:26px;
  }

  .logo{
    font-size:18px;
  }

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

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

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

}

.site-footer{
  padding:28px 0 42px;
  color:#666;
  font-size:0.95rem;
  background:#fff;
}

.footer-box{
  border-top:1px solid #e5e7eb;
  padding-top:22px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

@media (max-width:768px){
  .footer-box{
    flex-direction:column;
  }
}
