/* ==========================================================================
   MASTER WHITE THEME (BLUE & WHITE) — INMOHINH3D.COM
   Design Directive: Clean White Theme with Precision Blue Accent (#0052CC)
   Strict Mandates:
     - 100% White Theme (Pure #FFFFFF canvas & #F8FAFC neutral surfaces)
     - Blue & White Palette (#0052CC Primary & #EFF6FF Tint)
     - NO Neon Glows (text-shadow: none, zero blurred colored halos)
     - NO Purple / Tím (Purged all purple badges, gradients, and accents)
     - NO Green Dot (Completely hidden .zalo-online-dot / .online-dot)
     - NO Disco (Zero rainbow, multi-color or electric gradient text)
     - NO Cyan (All cyan accents mapped to solid Blue #0052CC)
     - Single 1240px Container & Outfit + Inter Typography (Roman Display)
   ========================================================================== */

:root {
  /* Layout Architecture */
  --container-max: 1240px !important;
  --container-reading: 840px !important;
  --content-padding: 1.5rem !important;

  /* Typography Scale */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace !important;

  /* Color Palette — Blue and White Exclusive */
  --color-primary: #0052cc !important;
  --color-primary-hover: #0041a8 !important;
  --color-primary-active: #003380 !important;
  --color-primary-subtle: #eff6ff !important;
  --color-accent: #0052cc !important;
  --color-accent-hover: #0041a8 !important;

  /* Surfaces & Canvas (White Theme) */
  --color-bg-canvas: #ffffff !important;
  --color-bg-subtle: #f8fafc !important;
  --color-surface-card: #ffffff !important;
  --color-surface-elevated: #ffffff !important;
  --color-surface-glass: rgba(255, 255, 255, 0.95) !important;
  --color-surface-dark: #f8fafc !important; /* Neutralized dark surface to white theme */

  /* Borders & Dividers */
  --color-border-subtle: #e2e8f0 !important;
  --color-border-card: #e2e8f0 !important;
  --color-border-blue: #bfdbfe !important;
  --color-border-glass: rgba(226, 232, 240, 0.9) !important;

  /* Typography Colors (High Contrast WCAG AAA) */
  --color-text-main: #0f172a !important;
  --color-text-heading: #0f172a !important;
  --color-text-body: #334155 !important;
  --color-text-muted: #64748b !important;
  --color-text-light: #ffffff !important;

  /* Shadows (Natural Soft Depth — Strict Zero Neon) */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
  --shadow-lg: 0 10px 25px -5px rgba(0, 82, 204, 0.08), 0 8px 10px -6px rgba(0, 82, 204, 0.04) !important;
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.03) !important;
  --shadow-card-hover: 0 12px 28px rgba(0, 82, 204, 0.09), 0 4px 8px rgba(15, 23, 42, 0.04) !important;

  /* Radii Scale */
  --radius-sm: 8px !important;
  --radius-md: 14px !important;
  --radius-lg: 20px !important;
  --radius-pill: 9999px !important;
}

/* --------------------------------------------------------------------------
   1. GLOBAL CANVAS & RESET TO WHITE THEME
   -------------------------------------------------------------------------- */
html {
  overflow-x: clip !important;
  background-color: #ffffff !important;
}

body {
  font-family: var(--font-body) !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #334155 !important;
  overflow-x: clip !important;
  -webkit-font-smoothing: antialiased !important;
}

main {
  background-color: #ffffff !important;
}

/* Global Container Standardization (Single 1240px Container) */
.container,
.site-header__inner,
.site-footer__inner,
.site-footer-new__inner,
main > .section-inner,
.workspace-grid,
.hero-inner,
.theme-container {
  max-width: var(--container-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--content-padding) !important;
  padding-right: var(--content-padding) !important;
  box-sizing: border-box !important;
}

/* --------------------------------------------------------------------------
   2. HERO SECTIONS & PURGE OF DARK VOIDS
   -------------------------------------------------------------------------- */
.hero-gradient-dark,
.sl-hero,
.section-hero {
  background: #ffffff !important;
  background-image: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%) !important;
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.hero-gradient-dark h1,
.hero-gradient-dark h2,
.hero-gradient-dark h3,
.hero-gradient-dark p,
.sl-hero h1,
.sl-hero h2,
.sl-hero h3,
.sl-hero p,
.section-hero h1,
.section-hero h2,
.section-hero h3,
.section-hero p {
  color: #0f172a !important;
}

.hero-desc,
.sl-hero p {
  color: #334155 !important;
}

/* Eliminate Dark Glows & Mesh Gradients */
.hero-mesh-glow,
.hero-mesh-glow-left,
.hero-mesh-glow-cyan,
[class*="mesh-glow"] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   3. STRICT BAN ENFORCEMENT: ZERO NEON, ZERO GREEN DOT, ZERO PURPLE, ZERO DISCO, ZERO CYAN
   -------------------------------------------------------------------------- */
/* A. ZERO GREEN DOT */
.zalo-online-dot,
.online-dot,
.status-dot,
.dot-green,
[class*="online-dot"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* B. ZERO NEON & RIPPLE */
.zalo-fab-ripple,
[class*="ripple"] {
  display: none !important;
}

* {
  text-shadow: none !important;
}

/* C. ZERO DISCO & RAINBOW GRADIENTS */
.text-gradient-electric,
.text-gradient-gold,
.text-gradient-cyan,
[class*="text-gradient"] {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #0052cc !important;
}

/* D. ZERO PURPLE (TÍM) */
.bento-badge-purple,
[class*="purple"] {
  background-color: #eff6ff !important;
  color: #0052cc !important;
  border-color: #bfdbfe !important;
}

/* E. ZERO CYAN */
[class*="cyan"] {
  color: #0052cc !important;
  border-color: #bfdbfe !important;
}

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY ARCHITECTURE (OUTFIT DISPLAY + INTER BODY)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.font-display,
.site-logo,
.hero-title,
.section-title {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  font-style: normal !important; /* Hallmark Gate 38a: No italic headers */
  letter-spacing: -0.025em !important;
}

p, li, td, th {
  font-family: var(--font-body) !important;
  color: #334155 !important;
  line-height: 1.65 !important;
}

strong, b {
  color: #0f172a !important;
  font-weight: 600 !important;
}

a {
  color: #0052cc !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

a:hover {
  color: #0041a8 !important;
  text-decoration: underline !important;
}

/* --------------------------------------------------------------------------
   5. UNIFIED WHITE HEADER ARCHITECTURE
   -------------------------------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}

.site-header a,
.site-header .nav-link,
.site-nav a {
  color: #334155 !important;
  font-weight: 500 !important;
}

.site-header a:hover,
.site-header .nav-link:hover,
.site-header .nav-link.active,
.site-nav a:hover {
  color: #0052cc !important;
}

.site-logo,
.site-header .logo {
  color: #0f172a !important;
}

/* --------------------------------------------------------------------------
   6. UNIFIED LIGHT SLATE FOOTER ARCHITECTURE
   -------------------------------------------------------------------------- */
.site-footer-new,
.site-footer {
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  padding: 3.5rem 0 2rem !important;
}

.site-footer-new h3,
.site-footer-new h4,
.site-footer-new .footer-title,
.site-footer-new .widget-title,
.site-footer h3,
.site-footer h4,
.site-footer .footer-title,
.site-footer .widget-title {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.site-footer-new a,
.site-footer a {
  color: #475569 !important;
  text-decoration: none !important;
}

.site-footer-new a:hover,
.site-footer a:hover {
  color: #0052cc !important;
  text-decoration: underline !important;
}

.site-footer-new .footer-bottom,
.site-footer .footer-bottom,
.site-footer__bottom {
  border-top: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

/* --------------------------------------------------------------------------
   7. CARDS & SECTIONS (WHITE & BLUE)
   -------------------------------------------------------------------------- */
.card,
.bento-card,
.bento-card-dark,
.service-card,
.process-step,
.material-card,
.gallery-card,
.glass-panel,
.card-surface,
.faq-item {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.03) !important;
  color: #334155 !important;
  transition: all 0.2s ease !important;
}

.card:hover,
.bento-card:hover,
.bento-card-dark:hover,
.service-card:hover,
.process-step:hover,
.material-card:hover,
.gallery-card:hover,
.glass-panel:hover,
.card-surface:hover,
.faq-item:hover {
  border-color: #0052cc !important;
  box-shadow: 0 10px 25px -5px rgba(0, 82, 204, 0.08), 0 8px 10px -6px rgba(0, 82, 204, 0.04) !important;
  transform: translateY(-2px) !important;
}

/* Alternate Sections to Soft Neutral (#F8FAFC) */
.section-trusted,
.section-process,
.section-technology,
.section-materials,
.section-faq,
.partner-marquee-section,
.bg-slate-50,
.bg-slate-100 {
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* --------------------------------------------------------------------------
   8. BUTTONS & CTAS (BLUE AND WHITE)
   -------------------------------------------------------------------------- */
.btn-primary,
button.btn-primary,
a.btn-primary,
.cta-button-primary {
  background-color: #0052cc !important;
  color: #ffffff !important;
  border: 1px solid #0052cc !important;
  box-shadow: 0 2px 6px rgba(0, 82, 204, 0.2) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover,
.cta-button-primary:hover {
  background-color: #0041a8 !important;
  border-color: #0041a8 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.3) !important;
  transform: translateY(-1px) !important;
  text-decoration: none !important;
}

.btn-outline,
.btn-secondary,
.btn-glass {
  background-color: #ffffff !important;
  color: #0052cc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.btn-outline:hover,
.btn-secondary:hover,
.btn-glass:hover {
  background-color: #eff6ff !important;
  border-color: #0052cc !important;
  color: #0052cc !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
}

/* Zalo Floating Button (Clean Blue & White, Zero Green Dot, Zero Ripple) */
.zalo-chat-widget #zalo-fab,
#zalo-widget-wrapper #zalo-fab,
.zalo-fab-btn {
  background-color: #0068ff !important;
  border-radius: 50% !important;
  box-shadow: 0 6px 18px rgba(0, 104, 255, 0.3) !important;
  border: none !important;
}

.zalo-chat-widget #zalo-fab:hover,
#zalo-widget-wrapper #zalo-fab:hover,
.zalo-fab-btn:hover {
  background-color: #0052cc !important;
  box-shadow: 0 8px 24px rgba(0, 82, 204, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* --------------------------------------------------------------------------
   9. BADGES & STATUS PILLS (ICE BLUE & BLUE)
   -------------------------------------------------------------------------- */
.badge,
.hero-badge,
.section-badge,
.bento-badge,
.bento-badge-blue,
.bento-badge-gold,
.bento-badge-green,
.bento-badge-purple,
.material-badge,
.tab-btn.active,
.util-lang-badge {
  background-color: #eff6ff !important;
  color: #0052cc !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
}

/* Active tab buttons */
.tab-btn.active {
  background-color: #0052cc !important;
  color: #ffffff !important;
  border-color: #0052cc !important;
}

/* --------------------------------------------------------------------------
   10. TABLES & FORM CONTROLS (WHITE THEME)
   -------------------------------------------------------------------------- */
table, .theme-table {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

th, .theme-table th {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

td, .theme-table td {
  color: #334155 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select,
textarea {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 8px !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #0052cc !important;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12) !important;
  outline: none !important;
}

/* Calculator Sliders (Blue & White) */
input[type="range"]::-webkit-slider-thumb {
  background: #0052cc !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 82, 204, 0.3) !important;
}

/* --------------------------------------------------------------------------
   11. MODERN WHITE THEME (BLUE & WHITE) COMPONENT LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 5rem 0;
  }
}

.partner-marquee-wrap {
  padding: 2.5rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8fafc !important;
  text-align: center;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.partner-logo-item {
  height: 38px;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: all 0.25s ease;
}

.partner-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

/* Unified Floating Pill Header */
.unified-header {
  position: sticky;
  top: 1rem;
  z-index: 100;
  margin-bottom: 1.5rem;
  padding: 0 var(--content-padding);
}

.unified-header__pill {
  max-width: var(--container-max);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.unified-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  color: #0f172a !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.unified-header__brand-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: #0052cc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 82, 204, 0.25);
}

.unified-header__nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .unified-header__nav {
    display: flex;
  }
}

.unified-header__link {
  color: #334155 !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
}

.unified-header__link:hover,
.unified-header__link.is-active {
  color: #0052cc !important;
}

.unified-header__link.is-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #0052cc;
  border-radius: var(--radius-pill);
}

/* Glass Panels (White & Blue) */
.glass-panel {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
  position: relative;
}

.glass-panel:hover {
  border-color: #0052cc !important;
  box-shadow: 0 10px 25px -5px rgba(0, 82, 204, 0.08), 0 8px 10px -6px rgba(0, 82, 204, 0.04);
  transform: translateY(-2px);
}

.glass-panel-static {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.03);
  position: relative;
}

/* Tactile Sliders & Inputs (Blue & White) */
.theme-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: #e2e8f0;
  outline: none;
  margin: 1rem 0;
}

.theme-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0052cc;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 82, 204, 0.3);
  transition: transform 0.15s ease;
}

.theme-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.theme-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s;
}

.theme-select:focus {
  border-color: #0052cc;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

/* Gallery Grid & Project Cards (White & Blue) */
.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 1.5rem !important;
  position: relative !important;
}

.gallery-item {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

.gallery-item:hover {
  border-color: #0052cc !important;
  box-shadow: 0 10px 25px -5px rgba(0, 82, 204, 0.1) !important;
  transform: translateY(-3px) !important;
}

.gallery-item img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
}

.gallery-item-content,
.gallery-item .item-content {
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.gallery-item-title,
.gallery-item h3,
.gallery-item .title {
  font-family: var(--font-display) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0.5rem 0 !important;
}

.gallery-item:hover .gallery-item-title,
.gallery-item:hover h3 {
  color: #0052cc !important;
}
