/* =============================================
   HINA INVESTMENT — HEADER & FOOTER STYLES
   ============================================= */

/* ─── HEADER / NAV ─── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 2px solid rgba(200,146,42,0.25);
  transition: box-shadow 0.3s;
}

#site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-menu a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  transition: color 0.3s, background 0.3s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  transition: left 0.3s, right 0.3s;
}

.nav-menu a:hover {
  color: var(--gold);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
  left: 1rem; right: 1rem;
}
.nav-menu a.active {
  color: var(--gold);
}

.nav-menu a.nav-cta {
  background: var(--gold);
  color: #fff !important;
  font-weight: 700;
  margin-left: 0.8rem;
  padding: 0.55rem 1.3rem;
}
.nav-menu a.nav-cta::after { display: none; }
.nav-menu a.nav-cta:hover { background: #a06c1a; color: #fff !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── FOOTER ─── */
#site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(200,146,42,0.1);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 4rem;
  padding: 5rem 5% 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Footer Brand */
.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.footer-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-about {
  font-size: 0.88rem;
  color: rgba(248,245,240,0.45);
  line-height: 1.9;
  font-weight: 300;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(200,146,42,0.2);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--gray);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,146,42,0.08);
}

/* Footer columns */
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(200,146,42,0.15);
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul li a {
  font-size: 0.83rem;
  color: rgba(248,245,240,0.45);
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}
.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

/* Contact col */
.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.footer-contact-item .ico {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-item p {
  font-size: 0.82rem;
  color: rgba(248,245,240,0.45);
  line-height: 1.7;
}
.footer-contact-item a {
  color: rgba(248,245,240,0.55);
  transition: color 0.3s;
}
.footer-contact-item a:hover { color: var(--gold); }

/* Footer bottom bar */
.footer-bar {
  border-top: 1px solid rgba(200,146,42,0.08);
  padding: 1.2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bar p {
  font-size: 0.75rem;
  color: rgba(248,245,240,0.3);
}

.footer-bar-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bar-links a {
  font-size: 0.72rem;
  color: rgba(248,245,240,0.3);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.footer-bar-links a:hover { color: var(--gold); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 5% 2rem;
    border-bottom: 2px solid rgba(200,146,42,0.25);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    gap: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; }
  .nav-menu a { padding: 0.9rem 0; border-bottom: 1px solid rgba(200,146,42,0.06); }
  .nav-menu a.nav-cta { margin-left: 0; margin-top: 0.8rem; text-align: center; }
  .nav-toggle { display: flex; }
  .footer-main { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 5%; }
  .footer-bar { flex-direction: column; gap: 0.8rem; text-align: center; }
}
