/* ==========================================================================
   Thành Phát GO — Layout & Structural Styles (Spacious & Breathable)
   ========================================================================== */

/* Main Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(24px, 4vw, 44px);
  padding-right: clamp(24px, 4vw, 44px);
}

.container-narrow {
  max-width: 860px;
}

/* Sections - Generous, airy padding */
.section {
  padding: clamp(75px, 7.5vw, 115px) 0;
  position: relative;
}

.section-navy {
  background: var(--tp-navy);
  color: #FFFFFF;
}

/* Premium Thành Phát Blue Section (Tôn màu xanh thương hiệu) */
.section-blue {
  background: 
    radial-gradient(circle at 92% 14%, rgba(0, 167, 216, 0.26) 0%, transparent 55%),
    radial-gradient(circle at 8% 86%, rgba(247, 162, 11, 0.12) 0%, transparent 50%),
    linear-gradient(140deg, #061C47 0%, #08265F 40%, #153E90 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.section-blue h2, 
.section-blue h3, 
.section-blue h4 {
  color: #FFFFFF;
}

.section-blue .lead,
.section-blue p {
  color: #CBD5E1;
}

.section-blue .eyebrow {
  color: #7DD3FC;
  background: rgba(0, 167, 216, 0.16);
  border-color: rgba(125, 211, 252, 0.32);
}

.section-soft {
  background: #F1F5F9;
}

.section-white {
  background: #FFFFFF;
}

.section-header {
  margin-bottom: clamp(44px, 5.5vw, 64px);
}

.section-header.text-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Grids & Splits with Relaxed Breathing Room */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 5.5vw, 80px);
  align-items: center;
}

.split-5-7 {
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(44px, 5.5vw, 80px);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(248, 250, 253, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-line);
  transition: all 0.25s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(8, 38, 95, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Logo (Official High-Res Image) */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 4px 0;
}

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

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 0.2s;
  padding: 8px 6px;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--tp-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--tp-navy);
}

/* Footer with Roomy Layout */
.site-footer {
  background: var(--tp-navy);
  color: #C7D5E8;
  padding-top: clamp(65px, 6.5vw, 90px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4.5vw, 56px);
  padding-bottom: 60px;
}

.footer-brand p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: #94A3B8;
  margin-top: 16px;
  max-width: 320px;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.94rem;
  transition: all 0.2s;
}

.footer-links a:hover {
  color: #38BDF8;
  padding-left: 4px;
}

.footer-contact-row {
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.88rem;
  color: #64748B;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Mobile Sticky Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-line);
  padding: 12px 18px;
  gap: 12px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .split, .split-5-7 {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 28px;
    border-bottom: 1px solid var(--border-line);
    box-shadow: 0 12px 30px rgba(8, 38, 95, 0.12);
    transform: translateY(-120%);
    transition: transform 0.25s var(--ease);
    z-index: 99;
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-actions .hide-mobile {
    display: none;
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-bottom-bar {
    display: flex;
  }
  body {
    padding-bottom: 74px;
  }
}
