/**
 * Nexus Talent Group (NTG) Enterprise Landing Page
 * Responsive CSS: Media queries for Mobile, Tablet, and Desktop Viewports
 * Viewport profiles: Mobile (375-414px), Tablet (768-1024px), Desktop (1280-1920px)
 */

/* ==========================================================================
   1. Mobile Navigation Drawer (Shared CSS structure)
   ========================================================================== */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-drawer);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--color-primary-navy);
  color: var(--color-text-inverse);
  z-index: calc(var(--z-drawer) + 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-modal);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  padding: var(--spacing-xl) var(--spacing-lg);
  overflow-y: auto;
}

.mobile-nav-backdrop.is-open .mobile-nav-drawer {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-lg);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.drawer-brand img {
  width: 36px;
  height: 36px;
}

.drawer-brand span {
  font-size: 1rem;
  font-weight: var(--font-weight-extrabold);
  color: #FFFFFF;
}

.drawer-brand span em {
  color: var(--color-accent-gold);
  font-style: normal;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: background-color var(--transition-fast);
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.drawer-close-btn svg {
  width: 20px;
  height: 20px;
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-xl);
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  color: #E2E8F0;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.drawer-link:hover,
.drawer-link:focus-visible {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-accent-gold);
  padding-left: 1.25rem;
}

.drawer-link svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-gold);
  opacity: 0.7;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: auto;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-actions .btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 0.9375rem;
}

.drawer-footer-info {
  margin-top: var(--spacing-md);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-align: center;
}

/* ==========================================================================
   2. Breakpoint: Desktop (>1024px & 1280px-1920px)
   ========================================================================== */
@media (min-width: 1024px) {
  .hamburger-btn {
    display: none !important;
  }

  .mobile-nav-backdrop {
    display: none !important;
  }
}

/* Intermediate Desktop Viewports (1024px - 1240px) - Zero text wrap & zero collision guaranteed */
@media (min-width: 1024px) and (max-width: 1240px) {
  .site-header .container {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .header-inner {
    gap: 0.5rem;
    justify-content: space-between;
  }

  .header-brand {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .brand-logo-img {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 0.875rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .brand-tagline {
    font-size: 0.5625rem;
    white-space: nowrap;
  }

  .desktop-nav {
    margin: 0 0.25rem;
    flex: 0 1 auto;
  }

  .nav-menu {
    gap: clamp(0.35rem, 0.7vw, 0.625rem);
    flex-wrap: nowrap !important;
  }

  .nav-link {
    font-size: 0.78125rem;
    padding: 0.35rem 0.15rem;
    letter-spacing: -0.02em;
    white-space: nowrap !important;
  }

  .header-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .header-actions .btn {
    padding: 0.38rem 0.55rem;
    font-size: 0.75rem;
    white-space: nowrap !important;
  }

  .header-actions .btn svg {
    width: 13px;
    height: 13px;
  }
}

/* Standard Laptop Desktop (1241px - 1366px) */
@media (min-width: 1241px) and (max-width: 1366px) {
  .header-inner {
    gap: 0.75rem;
    justify-content: space-between;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1rem;
    white-space: nowrap;
  }

  .brand-tagline {
    font-size: 0.625rem;
    white-space: nowrap;
  }

  .desktop-nav {
    margin: 0 0.5rem;
    flex: 0 1 auto;
  }

  .nav-menu {
    gap: clamp(0.6rem, 1.1vw, 1rem);
    flex-wrap: nowrap !important;
  }

  .nav-link {
    font-size: 0.84375rem;
    padding: 0.4rem 0.2rem;
    white-space: nowrap !important;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-actions .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.8125rem;
    white-space: nowrap !important;
  }
}

/* Wide Desktop Screens (1440px - 1920px) */
@media (min-width: 1440px) {
  :root {
    --container-max-width: 1320px;
  }

  h1 {
    font-size: 3.5rem;
  }
}

/* ==========================================================================
   3. Breakpoint: Tablet (768px - 1023px)
   ========================================================================== */
@media (max-width: 1023px) {
  /* Header adjustments */
  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex !important;
  }

  .header-actions .btn-navy {
    display: none; /* Keep primary CTA "Tải Hồ sơ Năng lực" on tablet, hide secondary to prevent cramped layout */
  }

  .brand-tagline {
    display: block;
    font-size: 0.625rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-top: 1px;
  }

  /* Grid layout tablet adjustments */
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero Tablet */
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  /* Track Record Tablet */
  .track-record-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  /* Ecosystem & Values Tablet */
  .ecosystem-grid,
  .talent-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  /* Timeline Tablet */
  .career-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  /* Ecosystem Tablet */
  .ecosystem-flow-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .flow-step-item {
    flex: 0 1 calc(33.333% - 12px);
    min-width: 170px;
  }

  .flow-step-arrow {
    display: none;
  }

  /* ESG & Contact Tablet */
  .esg-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  /* Footer Tablet */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }
}

/* ==========================================================================
   4. Breakpoint: Mobile (320px - 767px)
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --header-height: 64px;
    --header-height-scrolled: 58px;
    --spacing-4xl: 2.75rem;
    --spacing-3xl: 2rem;
    --spacing-2xl: 1.5rem;
    --spacing-xl: 1.25rem;
  }

  /* Global Container & Flow Control */
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Ensure no grid column or layout element ever forces horizontal overflow */
  .grid-2 > *,
  .grid-3 > *,
  .grid-4 > *,
  .contact-layout > *,
  .hero-split-grid > * {
    min-width: 0;
  }

  /* Section Spacing */
  .section-padding {
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
  }

  /* Typography Scale */
  h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  h2 {
    font-size: 1.45rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  h3 {
    font-size: 1.15rem;
    line-height: 1.35;
  }

  .section-subtitle {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  /* --------------------------------------------------------------------------
     1. Mobile Sticky Header
     -------------------------------------------------------------------------- */
  .site-header {
    height: var(--header-height);
  }

  .site-header.header-scrolled {
    height: var(--header-height-scrolled);
  }

  .site-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-inner {
    gap: 8px;
    justify-content: space-between;
  }

  .header-brand {
    gap: 8px;
    min-width: 0;
  }

  .brand-logo-img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 0.825rem;
    font-weight: var(--font-weight-extrabold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-tagline {
    display: block !important;
    font-size: 0.5625rem;
    color: #64748B;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin-top: 1px;
    white-space: nowrap;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .header-actions .btn-download-profile {
    padding: 0.35rem 0.65rem;
    font-size: 0.725rem;
    white-space: nowrap;
    border-radius: var(--radius-full);
  }

  .btn-text-desktop {
    display: none !important;
  }

  .btn-text-mobile {
    display: inline !important;
  }

  .header-actions .btn-download-profile svg {
    width: 14px;
    height: 14px;
  }

  .header-actions .btn-navy {
    display: none !important;
  }

  .hamburger-btn {
    display: flex !important;
    width: 36px;
    height: 36px;
    padding: 6px;
    flex-shrink: 0;
  }

  /* --------------------------------------------------------------------------
     2. Mobile Hero Banner
     -------------------------------------------------------------------------- */
  .hero-section {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: var(--spacing-3xl);
  }

  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-badge {
    display: inline-flex;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    padding: 5px 12px;
    font-size: 0.725rem;
    margin-bottom: 0.75rem;
  }

  .hero-badge svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
  }

  .hero-title {
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 0.875rem;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: #E2E8F0;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 1.25rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    font-size: 0.9375rem;
  }

  .hero-trust-indicators {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 0.875rem;
    width: 100%;
  }

  .trust-indicator-item {
    font-size: 0.75rem;
  }

  .hero-pillars-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }

  .hero-card-header {
    margin-bottom: 1rem;
  }

  .hero-card-title {
    font-size: 1.1rem;
  }

  .pillars-list {
    gap: 10px;
  }

  .strategy-pillar {
    padding: 0.75rem;
    gap: 0.75rem;
    border-radius: var(--radius-md);
  }

  .pillar-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
  }

  .pillar-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .pillar-title {
    font-size: 0.9rem;
  }

  .pillar-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  /* --------------------------------------------------------------------------
     3. Track Record (Con Số Ấn Tượng)
     -------------------------------------------------------------------------- */
  .track-record-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stat-card {
    padding: 1.125rem 0.5rem;
    border-radius: var(--radius-md);
    min-width: 0;
    box-sizing: border-box;
  }

  .stat-number {
    font-size: clamp(1.35rem, 4.2vw, 1.75rem);
    line-height: 1.2;
    white-space: nowrap;
  }

  .stat-label {
    font-size: 0.8125rem;
    line-height: 1.35;
    margin-top: 4px;
    word-break: break-word;
  }

  .stat-desc {
    font-size: 0.725rem;
    line-height: 1.4;
    margin-top: 4px;
    word-break: break-word;
  }

  /* --------------------------------------------------------------------------
     4. Ecosystem & 3 Pillars
     -------------------------------------------------------------------------- */
  .ecosystem-flow-wrapper {
    padding: 1.25rem 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
  }

  .ecosystem-flow-steps {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .flow-step-item {
    width: 100%;
    flex: none;
    padding: 10px 14px;
    box-sizing: border-box;
    min-width: 0;
  }

  .flow-step-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(90deg);
    line-height: 1;
    color: var(--color-accent-gold);
    font-size: 1.125rem;
    padding: 2px 0;
    margin: -2px 0;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ecosystem-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }

  .ecosystem-title {
    font-size: 1.15rem;
  }

  .ecosystem-subtitle {
    font-size: 0.85rem;
  }

  .ecosystem-role {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .members-title {
    font-size: 0.85rem;
  }

  .members-list li {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  /* --------------------------------------------------------------------------
     5. Values (Hệ Giá Trị T.A.L.E.N.T)
     -------------------------------------------------------------------------- */
  .talent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .talent-card {
    padding: 1rem 0.65rem;
    border-radius: var(--radius-md);
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }

  .talent-letter-box {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .talent-title {
    font-size: 0.875rem;
    line-height: 1.3;
  }

  .talent-slogan {
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--color-accent-gold-hover);
    margin: 3px 0;
  }

  .talent-desc {
    font-size: 0.725rem;
    line-height: 1.45;
  }

  /* --------------------------------------------------------------------------
     6. Markets (Thị Trường Quốc Tế)
     -------------------------------------------------------------------------- */
  .market-tabs-wrapper {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .market-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }

  .market-tabs {
    display: inline-flex;
    width: max-content;
    max-width: none;
    padding: 4px;
    gap: 4px;
  }

  .tab-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: var(--radius-full);
  }

  .tab-panel {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }

  .panel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
  }

  .panel-badges .badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .panel-market-name {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .panel-details-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .panel-detail-box {
    padding: 0.875rem;
    border-radius: var(--radius-md);
  }

  .detail-box-title {
    font-size: 0.85rem;
  }

  .detail-box-content {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  /* --------------------------------------------------------------------------
     7. Career Path (Lộ Trình Sự Nghiệp) - Vertical Timeline
     -------------------------------------------------------------------------- */
  .career-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    padding-left: 20px;
  }

  .career-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 6px;
    width: 2px;
    background: var(--color-accent-gold);
    border-radius: var(--radius-full);
  }

  .timeline-step {
    border-top: none;
    border-left: 4px solid var(--color-accent-gold);
    border-radius: var(--radius-md);
    padding: 1.125rem 1rem;
  }

  .step-num {
    font-size: 1.25rem;
  }

  .step-title {
    font-size: 1rem;
  }

  .step-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  /* --------------------------------------------------------------------------
     8. Partners Marquee & ESG
     -------------------------------------------------------------------------- */
  .marquee-wrapper {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .marquee-item {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .esg-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .esg-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }

  .esg-card-title {
    font-size: 1.1rem;
  }

  .esg-card-text {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .three-no-box {
    padding: 0.875rem;
    border-radius: var(--radius-md);
  }

  .three-no-list {
    flex-direction: column;
    gap: 8px;
  }

  .three-no-list li {
    font-size: 0.8125rem;
  }

  .esg-point-item {
    font-size: 0.8125rem;
    gap: 10px;
  }

  /* --------------------------------------------------------------------------
     9. Lead Form & Contact
     -------------------------------------------------------------------------- */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }

  .form-title {
    font-size: 1.15rem;
    line-height: 1.35;
  }

  .form-subtitle {
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-group {
    gap: 4px;
  }

  .form-label {
    font-size: 0.8125rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 10px 12px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
  }

  .lead-form .btn-lg {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
  }

  .lead-form .btn-lg span {
    display: inline;
    overflow-wrap: break-word;
  }

  .contact-detail-list {
    gap: 12px;
    margin: 1rem 0;
  }

  .contact-detail-item {
    gap: 10px;
    font-size: 0.8125rem;
  }

  .hotline-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent-gold);
    font-weight: 700;
    text-decoration: none;
  }

  .map-embed-wrapper {
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 1rem;
  }

  .map-iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  /* --------------------------------------------------------------------------
     10. Footer
     -------------------------------------------------------------------------- */
  .footer-top {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }

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

  .footer-brand-col {
    max-width: 100%;
  }

  .footer-logo-row {
    gap: 10px;
    margin-bottom: 0.75rem;
  }

  .footer-legal-name {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .footer-company-desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .compliance-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 1rem;
    border-radius: var(--radius-md);
  }

  .compliance-icon-wrap {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .compliance-statement {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .footer-policy-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .footer-policy-sep {
    display: inline;
    color: var(--color-text-muted);
  }

  /* --------------------------------------------------------------------------
     11. Tooltips, Toasts & Modals
     -------------------------------------------------------------------------- */
  .tooltip-box {
    white-space: normal;
    width: 220px;
    text-align: center;
  }

  .toast-container {
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    bottom: var(--spacing-sm);
  }

  .toast {
    min-width: unset;
    width: 100%;
  }

  .modal-backdrop {
    padding: var(--spacing-xs);
    align-items: flex-end;
  }

  .modal-dialog {
    max-height: 92vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform: translateY(100%);
  }

  .modal-backdrop.is-open .modal-dialog {
    transform: translateY(0);
  }

  .modal-header {
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-xs);
  }

  .modal-body {
    padding: var(--spacing-sm) var(--spacing-lg) var(--spacing-lg);
  }

  /* --------------------------------------------------------------------------
     12. Mobile Floating Quick Action Bar (Click-to-Call & Download PDF)
     -------------------------------------------------------------------------- */
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  body.drawer-open .mobile-sticky-action-bar,
  body.modal-open .mobile-sticky-action-bar {
    display: none !important;
  }

  .mobile-sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  }

  .mobile-action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
  }

  .mobile-btn-call {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .mobile-btn-call:hover,
  .mobile-btn-call:active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-accent-gold);
  }

  .mobile-btn-profile {
    background: var(--color-accent-gold);
    color: var(--color-primary-navy);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  }

  .mobile-btn-profile:hover,
  .mobile-btn-profile:active {
    background: var(--color-accent-gold-hover);
  }
}

/* ==========================================================================
   5. Breakpoint: Compact Mobile (375px - iPhone SE / Standard Compact)
   ========================================================================== */
@media (max-width: 375px) {
  .site-header .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand-name {
    font-size: 0.78rem;
  }

  .header-actions .btn-download-profile {
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
  }

  .stat-number {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   6. Breakpoint: Small Mobile (360px and below)
   ========================================================================== */
@media (max-width: 360px) {
  .site-header .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .brand-name {
    font-size: 0.775rem;
  }

  .header-actions .btn-download-profile span {
    display: none;
  }

  .header-actions .btn-download-profile {
    padding: 0.45rem;
    border-radius: var(--radius-full);
  }

  .hamburger-btn {
    width: 34px;
    height: 34px;
    padding: 5px;
  }

  .track-record-grid,
  .talent-grid {
    grid-template-columns: 1fr;
  }

  .mobile-action-btn {
    padding: 9px 8px;
    font-size: 0.75rem;
    gap: 5px;
  }
}
