:root{
    --bg: #ffffff;
    --white: #ffffff;
    --ink: #2d3443;
    --muted: #6b7280;
    --line: #e7e3dd;
    --gray: #6e7380;
    --darklink: #0D99FF;
    --darklink-lighter: #46B1FF;
  
    --sand: #f3efe8;
    --sand-2: #efe8de;
  
    --navy: #222a36;
    --navy-2: #1b2330;
  
    --gold: #c9a86a;
    --gold-deep: #b08a52;
    --gold-deep-press: #9b7a47;
  
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  
    --container: 1200px;
  
    --h1: clamp(24px, 4vw, 60px);
    --h2: 24px;
    --h3: clamp(20px, 4vw, 24px);
    --h4: 20px;
  
    --btn-radius: 10px;
    --btn-pad-y: 24px;
    --btn-pad-x: 46px;
    --btn-arrow-space: 0px;
    --btn-arrow-size: 10px;
    --btn-dur: 0.35s;
    --btn-ease: cubic-bezier(.22, 1, .36, 1);
  }

  html{
    scroll-behavior: smooth;
    font-family: "Poppins", Roboto, "Noto Sans TC", system-ui, sans-serif;
  }

  *{
    box-sizing: border-box;
  }


  img{
    display: block;
    max-width: 100%;
  }
  
  a{
    color: #005bac;
    text-decoration: underline;
  }

  .footer-mail{
    color: inherit;
    text-decoration: underline;
  }
  
  .nav-link{
    text-decoration: none;
  }
  
  h2{
    position: relative;
    z-index: 1;
    margin: 0;
    color: #242b3a;
    text-align: center;
    line-height: 1.5;
    font-weight: 700;
    font-size: var(--h2);
  }
  
  h3{
    margin: 0;
    font-size: var(--h3);
    line-height: 1.25;
    font-style: italic;
    font-weight: 500;
  }
  
  h4{
    margin: 0;
    font-size: var(--h4);
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
  }
  
  p{
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
    text-align: left;
  }
  
  .small{
    font-size: 70%;
  }
  
  .white{
    color: var(--white);
  }
  
  .gray{
    color: var(--gray);
  }

  .dark-link{
    color: var(--darklink);
  }

  .dark-link:hover, .dark-link:active{
    color: var(--darklink-lighter);
  }

/* =========================
   Header
========================= */
.site-header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  
  .header-shell{
    position: relative;
    background: #ffffff;
  }
  
  .header-inner{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1560px;
    height: 72px;
    margin: 0 auto;
    padding: 0 28px 0 42px;
  }
  
  .brand{
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }
  
  .brand-logo{
    display: block;
    width: auto;
    height: 30px;
    object-fit: contain;
  }
  
  .nav{
    --nav-indicator-width: 72px;
    --nav-indicator-height: 14px;
  
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
  }
  
  .nav-link{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 0 34px;
    color: #1d2430;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.2s ease;
  }
  
  .nav-link + .nav-link::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 32px;
    background: #e4e4e4;
    transform: translateY(-50%);
  }
  
  .nav-indicator{
    position: absolute;
    left: 0;
    bottom: -1px;
    width: var(--nav-indicator-width);
    height: var(--nav-indicator-height);
    z-index: 2;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    transition: transform 0.28s ease, opacity 0.2s ease;
    will-change: transform;
  }
  
  .nav-indicator svg{
    display: block;
    width: 100%;
    height: 100%;
  }
  
  .burger{
    display: none;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }
  
  .burger span{
    display: block;
    width: 28px;
    height: 2.5px;
    border-radius: 999px;
    background: #005bac;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  
  .burger span + span{
    margin-top: 6px;
  }
  
  .mobile-menu{
    background: #ffffff;
    border-bottom: 2px solid #c79b47;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }
  
  .mobile-menu-inner{
    padding: 12px 20px 14px;
  }

  .mobile-menu-inner a{
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
  }
  
  .mobile-menu-inner a:hover,
  .mobile-menu-inner a:active{
    color: var(--gold-deep);
  }
  
  .mobile-link{
    display: block;
    padding: 14px 0;
    color: #1d2430;
    font-size: 16px;
    font-weight: 500;
    border-top: 1px solid #ececec;
  }
  
  .mobile-link:first-child{
    border-top: 0;
  }
  
  .site-header.is-open .burger span:nth-child(1){
    transform: translateY(8.5px) rotate(45deg);
  }
  
  .site-header.is-open .burger span:nth-child(2){
    opacity: 0;
  }
  
  .site-header.is-open .burger span:nth-child(3){
    transform: translateY(-8.5px) rotate(-45deg);
  }
  
  .menu-backdrop{
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(.22, 1, .36, 1);
  }
  
  .menu-backdrop:not([hidden]){
    opacity: 1;
    pointer-events: auto;
  }

/* =========================
   Accordion
========================= */
.accordion{
    margin-top: 14px;
  }
  
  .acc-item{
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    background: transparent;
  }
  
  .acc-item summary{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    list-style: none;
    cursor: pointer;
    padding: 14px 0;
    color: #005bac;
    font-size: 15px;
    font-weight: 600;
  }
  
  .acc-item summary::-webkit-details-marker{
    display: none;
  }
  
  .acc-item summary span:first-child{
    flex: 1 1 auto;
    min-width: 0;
  }

  .ai-block-head,.ai-list li{
    font-size: 15px;
  }
  
  .chev{
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    transition: transform 0.3s cubic-bezier(.22, 1, .36, 1);
  }
  
  .chev::before,
  .chev::after{
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 1.5px;
    background: rgba(0, 0, 0, 1);
    border-radius: 2px;
    transform-origin: center;
  }
  
  .chev::before{
    left: 4px;
    transform: translateY(-50%) rotate(45deg);
  }
  
  .chev::after{
    right: 4px;
    transform: translateY(-50%) rotate(-45deg);
  }
  
  .acc-item[open] .chev{
    transform: rotate(180deg);
  }
  
  .acc-panel{
    overflow: hidden;
    padding: 0 0 20px;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 0.25s cubic-bezier(.22, 1, .36, 1),
      transform 0.25s cubic-bezier(.22, 1, .36, 1);
  }
  
  .acc-item[open] .acc-panel{
    opacity: 1;
    transform: translateY(0);
  }


/* =========================
   Footer
========================= */
.site-footer{
    background: #1f2937;
    color: rgba(255, 255, 255, 0.85);
  }
  
  .footer-inner{
    padding: 16px 0;
  }
  
  .footer-links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.6;
  }
  
  .footer-links > *{
    position: relative;
    padding: 0 12px;
  }
  
  .footer-links > *:not(:last-child)::after{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
  }

  /* =========================
   Fadeup animation
========================= */

.fadeup {
  opacity: 0;
  transform: translateY(56px);
  transition:
    opacity 0.55s ease-out,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.fadeup.is-inview {
  opacity: 1;
  transform: translateY(0);
}

  /* =========================
   Responsive
========================= */
@media (max-width: 1200px){
    .header-inner{
        height: 60px;
        padding: 0 14px;
        justify-content: center;
      }
    
      .nav{
        display: none;
      }

      .burger{
        position: absolute;
        left: 28px;
        top: 50%;
        z-index: 2;
        display: inline-flex;
        width: 28px;
        height: 28px;
        flex-direction: column;
        justify-content: center;
        transform: translateY(-50%);
      }
    
      .brand{
        display: flex;
        justify-content: center;
        width: 100%;
        pointer-events: auto;
      }
    
      .brand-logo{
        height: 25px;
        max-width: min(72vw, 430px);
        margin: 0 auto;
      }

      .heading-brush{
        width: 86px;
      }

}

  @media (max-width: 767px){
    .footer-links{
      gap: 4px;
    }

    .footer-phone{
      width: 100%;
    }

    .acc-item summary{
      min-height: 54px;
      font-size: 15px;
      line-height: 1.3;
    }
    
  }

  @media (max-width: 490px){
    .footer-links > *::after{
      display: none;
    }
    .chev::before{
      left: 3.5px;
      transform: translateY(-50%) rotate(45deg);
    }
    
    .chev::after{
      right: 3.5px;
      transform: translateY(-50%) rotate(-45deg);
    }
  }

  @media (max-width: 430px){
    .header-inner{
      height: 58px;
    }
  
    .burger{
      left: 22px;
    }
  
    .brand-logo{
      height: 40px;
      max-width: 60vw;
    }
  }