@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800&family=Outfit:wght@600;700&display=swap");
:root {
  --blue: #0877d1;
  --deep: #073764;
  --sky: #eaf7ff;
  --soft: #f5fbff;
  --ink: #123047;
  --muted: #60798d;
  --line: #d8e9f3;
  --white: #fff;
  --green: #31b668;
  --shadow: 0 25px 65px rgba(7,55,100,.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC",sans-serif;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,input,select,textarea {
  font: inherit;
}

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

.section {
  padding: 105px 0;
}

.soft {
  background: var(--soft);
}

h1,h2,h3,p {
  margin-top: 0;
}

h1,h2,h3 {
  line-height: 1.25;
}

h2 {
  font-size: clamp(31px,4vw,47px);
  letter-spacing: -.04em;
}

.eyebrow {
  font: 700 12px Outfit,sans-serif;
  letter-spacing: .18em;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 15px;
}

.pale {
  color: #b6e4ff;
}

.header {
  height: 84px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(7,55,100,.08);
  backdrop-filter: blur(15px);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo {
  width: 42px;
  height: 42px;
  background: var(--blue);
  color: #fff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  transform: rotate(-3deg);
}

.brand>span:last-child {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.brand b {
  font-size: 21px;
  letter-spacing: .08em;
}

.brand small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

.menu a {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--blue);
  transition: .25s;
}

.menu a.active,.menu a:hover {
  color: var(--blue);
}

.menu a.active::after,.menu a:hover::after {
  left: 0;
  right: 0;
}

.nav-phone {
  padding-left: 19px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.nav-phone small {
  font-size: 14px;
  color: var(--muted);
}

.nav-phone b {
  font: 700 17px Outfit;
  color: var(--blue);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 8px;
}

.menu-btn i {
  display: block;
  height: 2px;
  background: var(--deep);
  margin: 6px 0;
  transition: .3s;
}

.btn {
  min-height: 52px;
  border: 0;
  border-radius: 99px;
  padding: 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: .25s;
}

.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 27px rgba(8,119,209,.23);
}

.primary:hover {
  background: #0069bd;
  transform: translateY(-2px);
}

.white {
  background: #fff;
  color: var(--deep);
}

.arrow-link {
  font-weight: 700;
  display: inline-flex;
  color: var(--deep);
  transition: .25s;
}

.arrow-link:hover {
  color: var(--blue);
  transform: translateX(4px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 50px;
}

.section-head h2 {
  margin: 0;
}

.section-head>p {
  max-width: 390px;
  color: var(--muted);
}

.section-head.center {
  justify-content: center;
  text-align: center;
}

.page-hero {
  background: linear-gradient(135deg,#f3fbff,#dff3ff);
  padding: 95px 0 100px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -180px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 55px solid rgba(255,255,255,.45);
}

.page-hero h1 {
  font-size: clamp(41px,6vw,52px);
  max-width: 870px;
  letter-spacing: -.055em;
  margin: 0 0 20px;
  position: relative;
  z-index: 2;
}

.page-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  margin: 0;
  position: relative;
  z-index: 2;
}

.footer {
  background: #062b4b;
  color: #fff;
  padding: 68px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  gap: 50px;
}

.brand.light small {
  color: #a9c6d9;
}

.footer-grid>div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-grid>div:first-child p {
  max-width: 300px;
  margin-top: 14px;
}

.footer h4 {
  font-size: 15px;
  letter-spacing: .14em;
  color: #76cdfd;
}

.footer p,.footer a,.footer address {
  font-size: 14px;
  color: #c4d9e7;
  font-style: normal;
  margin-bottom: 0;
}

.copyright {
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: 12px;
  color: #7398b2;
}

.line-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 12px Outfit;
  box-shadow: 0 12px 32px rgba(49,182,104,.35);
  z-index: 40;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media(max-width:1050px) {
  .menu {
    gap: 14px;
  }

  .nav-phone {
    display: none;
  }
}

@media(max-width:820px) {
  .container {
    width: min(100% - 32px,1280px);
  }

  .section {
    padding: 75px 0;
  }

  .header {
    height: 72px;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .menu-btn.open i:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-btn.open i:nth-child(2) {
    opacity: 0;
  }

  .menu-btn.open i:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 72px;
    height: calc(100vh - 72px);
    padding: 20px 26px 40px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    transform: translateX(100%);
    transition: .35s;
  }

  .menu.open {
    transform: none;
  }

  .menu a {
    font-size: 17px;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .menu a::after {
    display: none;
  }

  .page-hero {
    padding: 70px 0 78px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .section-head {
    display: block;
  }

  .section-head>.arrow-link {
    margin-top: 18px;
  }

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

  .footer-grid>div:first-child {
    grid-column: 1/-1;
  }
}

@media(max-width:520px) {
  .section {
    padding: 62px 0;
  }

  .brand b {
    font-size: 19px;
  }

  .logo {
    width: 38px;
    height: 38px;
  }

  .page-hero h1 {
    font-size: 39px;
  }

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

  .footer-grid>div:first-child {
    grid-column: auto;
  }

  .line-float {
    width: 52px;
    height: 52px;
  }
}

.container {
  width: min(1280px,calc(100% - 48px));
}

@media(max-width:820px) {
  .container {
    width: min(1280px,calc(100% - 32px));
  }
}

.footer {
  background-color: #062b4b;
  background-image: linear-gradient(rgba(6,43,75,.28),rgba(6,43,75,.28)),url("../images/background-footer.jpg");
  background-position: center;
  background-size: cover;
}

.footer {
  background: #062b4b;
}

.page-hero {
  background-image: linear-gradient(90deg,rgba(238,249,255,.78) 0%,rgba(238,249,255,.64) 48%,rgba(238,249,255,.12) 100%),url("../images/page-hero.jpg");
  background-position: center;
  background-size: cover;
}

.brand img {
  width: auto;
  height: 80px;
  object-fit: contain;
}

.brand.light img {
  filter: brightness(0) invert(1);
}

@media(max-width:520px) {
  .brand img {
    height: 70px;
  }
}

@media(max-width:820px) {
  body {
    padding-top: 72px;
  }

  .header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }
}

.line-float {
  width: 72px;
  height: 72px;
  padding: 8px;
}

.line-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media(max-width:520px) {
  .line-float {
    right: 16px;
    bottom: 16px;
    width: 64px;
    height: 64px;
  }
}
