/* =========================================================
   Phuong Nam TechSol — Main Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

/* ---------------------------------------------------------
   CSS Variables
   --------------------------------------------------------- */
:root {
  --navy:   #070F1A;
  --navy2:  #0D1B2E;
  --steel:  #112844;
  --blue:   #1DA1F2;
  --blue2:  #50BEFF;
  --blue3:  #0A7ACC;
  --silver: #8AAFCC;
  --white:  #FFFFFF;
  --text:   #B8D0E8;
  --text2:  #5A7A99;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --transition:   0.25s ease;
  --radius:       4px;
}

/* ---------------------------------------------------------
   Reset & Base
   --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue2); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}

.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue);
  display: block;
  flex-shrink: 0;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.05;
}

.section-header { margin-bottom: 48px; }

/* ---------------------------------------------------------
   Layout — Container
   --------------------------------------------------------- */

/* Mặc định: container thường */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Khi container chứa sidebar → tự thành grid 2 cột, không cần đổi tên */
.container:has(.sidebar-left) {
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: calc(100vh - 68px);
  align-items: start;
}

.section { padding: 80px 60px; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition), opacity var(--transition);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue2); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(29, 161, 242, 0.35);
  clip-path: none;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-white {
  background: var(--white);
  color: var(--blue3);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-white:hover { opacity: 0.9; color: var(--blue3); }

/* ---------------------------------------------------------
   Navigation — Header
   --------------------------------------------------------- */
#site-header {
  background: rgba(7, 15, 26, 0.97);
  border-bottom: 1px solid rgba(29, 161, 242, 0.25);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
  gap: 24px;
}

#site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-logo img,
.site-logo a img {
  height: 42px;
  width: auto;
}
.site-logo .logo-text,
.site-logo a .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.15;
}
.site-logo .logo-text small,
.site-logo a .logo-text small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: var(--blue);
  text-transform: uppercase;
}

.site-logo .custom-logo-link { display: flex; align-items: center; }
.site-logo .custom-logo { height: 42px; width: auto; max-width: 160px; object-fit: contain; }

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.main-nav ul li { position: relative; }

.main-nav ul li a {
  color: var(--silver);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
  display: block;
  padding: 4px 0;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a,
.main-nav ul li.current_page_item > a { color: var(--blue); }

.main-nav ul li a:hover::after,
.main-nav ul li.current-menu-item > a::after,
.main-nav ul li.current_page_item > a::after { width: 100%; }

/* Dropdown */
.main-nav ul li ul {
  position: absolute;
  top: calc(100% + 12px); left: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--navy2);
  border: 1px solid rgba(29, 161, 242, 0.15);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 200;
  pointer-events: none;
}

.main-nav ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.main-nav ul li ul li { width: 100%; }

.main-nav ul li ul li a {
  display: block;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--silver);
  border-bottom: 1px solid rgba(29, 161, 242, 0.08);
  letter-spacing: 1px;
  white-space: nowrap;
}

.main-nav ul li ul li a:hover { color: var(--blue); background: var(--steel); }
.main-nav ul li ul li a::after { display: none; }

/* Nav CTA */
.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 9px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--blue2); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--navy2);
  border-top: 1px solid rgba(29, 161, 242, 0.15);
  padding: 20px 40px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }

.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu ul li a {
  color: var(--silver);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid rgba(29, 161, 242, 0.08);
  display: block;
  transition: color var(--transition);
}
.mobile-menu ul li a:hover { color: var(--blue); }
.mobile-menu ul li ul { padding-left: 16px; }
.mobile-menu ul li ul li a { font-size: 13px; opacity: 0.8; }

/* ---------------------------------------------------------
   Sidebar trái
   --------------------------------------------------------- */
.sidebar-left {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  background: var(--navy2);
  border-right: 1px solid rgba(29, 161, 242, 0.15);
  padding: 32px 0;
}

.sidebar-left::-webkit-scrollbar { width: 4px; }
.sidebar-left::-webkit-scrollbar-track { background: transparent; }
.sidebar-left::-webkit-scrollbar-thumb { background: rgba(29, 161, 242, 0.2); border-radius: 2px; }

.sidebar-left .sidebar-menu,
.sidebar-left ul { list-style: none; margin: 0; padding: 0; }

/* Item cấp 1 */
.sidebar-left .sidebar-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--silver);
  border-left: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.sidebar-left .sidebar-menu > li > a:hover,
.sidebar-left .sidebar-menu > li.current-menu-item > a,
.sidebar-left .sidebar-menu > li.current_page_item > a {
  color: var(--blue);
  border-left-color: var(--blue);
  background: rgba(29, 161, 242, 0.06);
}

/* Mũi tên dropdown */
.sidebar-left .menu-item-has-children > a::after {
  content: '›';
  font-size: 18px;
  line-height: 1;
  color: var(--text2);
  transition: transform var(--transition);
  margin-left: 8px;
  flex-shrink: 0;
}
.sidebar-left .menu-item-has-children > a.active::after {
  transform: rotate(90deg);
  color: var(--blue);
}

/* Submenu cấp 2 */
.sidebar-left .sub-menu {
  display: none;
  background: rgba(0, 0, 0, 0.15);
  border-left: 1px solid rgba(29, 161, 242, 0.1);
  margin-left: 24px;
}
.sidebar-left .sub-menu.open { display: block; }

.sidebar-left .sub-menu li a {
  display: block;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text2);
  border-left: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.sidebar-left .sub-menu li a:hover,
.sidebar-left .sub-menu li.current-menu-item a {
  color: var(--blue);
  border-left-color: var(--blue);
}

/* ---------------------------------------------------------
   Content Right
   --------------------------------------------------------- */
.content-right {
  padding: 40px 60px;
  min-height: calc(100vh - 68px);
}

.content-right .intro-image { margin-top: 0 !important; margin-bottom: 32px; }

.content-right .section-box {
  margin-bottom: 32px;
  padding: 32px;
  background: var(--navy2);
  border: 1px solid rgba(29, 161, 242, 0.1);
  border-left: 3px solid var(--blue);
}

.content-right .section-box h2 { font-size: 24px; margin-bottom: 16px; color: var(--white); }
.content-right .section-box h3 { font-size: 18px; margin: 20px 0 10px; color: var(--blue2); text-transform: none; }
.content-right .section-box p { color: var(--text); font-size: 15px; line-height: 1.75; margin-bottom: 12px; }

.content-right .section-box ul { list-style: none; padding: 0; margin-bottom: 12px; }
.content-right .section-box ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  border-bottom: 1px solid rgba(29, 161, 242, 0.06);
}
.content-right .section-box ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.3;
}

/* ---------------------------------------------------------
   Hero Section
   --------------------------------------------------------- */
.hero {
  min-height: 88vh;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 60px;
  gap: 40px;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(29, 161, 242, 1) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(29, 161, 242, 0.6) 60px);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  right: 8%; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 161, 242, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 161, 242, 0.1);
  border: 1px solid rgba(29, 161, 242, 0.35);
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--blue2);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 { font-size: 74px; line-height: 1.0; letter-spacing: -1px; margin-bottom: 8px; }
.hero h1 span { color: var(--blue); display: block; }

.hero-sub {
  font-size: 16px; color: var(--silver); line-height: 1.75;
  max-width: 420px; margin-top: 16px; margin-bottom: 36px; font-weight: 300;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(29, 161, 242, 0.15); flex-wrap: wrap;
}

.stat-num { font-family: var(--font-heading); font-size: 44px; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text2); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative; height: 480px; z-index: 2;
}

.gear-ring, .gear-ring2 { position: absolute; border-radius: 50%; }
.gear-ring { width: 360px; height: 360px; border: 1px dashed rgba(29, 161, 242, 0.18); animation: pn-spin 25s linear infinite; }
.gear-ring2 { width: 280px; height: 280px; border: 1px solid rgba(29, 161, 242, 0.1); animation: pn-spin 15s linear infinite reverse; }

@keyframes pn-spin { to { transform: rotate(360deg); } }

.orbit-dot { position: absolute; top: -5px; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; background: var(--blue); border-radius: 50%; }
.orbit-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: rgba(29, 161, 242, 0.25); }

.center-circle {
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--navy2); border: 2px solid rgba(29, 161, 242, 0.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.center-circle svg { width: 70px; height: 70px; }
.center-label { font-family: var(--font-heading); font-size: 11px; letter-spacing: 2px; color: var(--blue); text-transform: uppercase; margin-top: 8px; }

.float-tag {
  position: absolute;
  background: var(--navy2); border: 1px solid rgba(29, 161, 242, 0.25); border-left: 2px solid var(--blue);
  padding: 8px 14px; font-size: 11px; letter-spacing: 1px; color: var(--silver); text-transform: uppercase; font-weight: 500;
  animation: pn-float 4s ease-in-out infinite;
}
.float-tag:nth-child(2) { animation-delay: 0s; top: 30px; left: 30px; }
.float-tag:nth-child(3) { animation-delay: 1s; top: 30px; right: 30px; }
.float-tag:nth-child(4) { animation-delay: 2s; bottom: 70px; left: 30px; }
.float-tag:nth-child(5) { animation-delay: 3s; bottom: 70px; right: 30px; }

@keyframes pn-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------------------------------------------------------
   Services Section
   --------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

.service-card {
  background: var(--navy2); padding: 36px 32px;
  border-left: 3px solid transparent;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer; position: relative; overflow: hidden;
}
.service-card::before {
  content: attr(data-num); position: absolute; top: 16px; right: 20px;
  font-family: var(--font-heading); font-size: 64px; font-weight: 800;
  color: rgba(29, 161, 242, 0.05); line-height: 1; pointer-events: none;
}
.service-card:hover { border-left-color: var(--blue); background: var(--steel); }

.service-icon {
  width: 44px; height: 44px; background: rgba(29, 161, 242, 0.1);
  border: 1px solid rgba(29, 161, 242, 0.25);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 20px;
}

.service-title { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--text2); line-height: 1.7; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 12px; color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.service-link:hover { color: var(--blue2); gap: 10px; }

/* ---------------------------------------------------------
   Products Section
   --------------------------------------------------------- */
.products-section { background: var(--navy2); padding: 80px 60px; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }

.product-card { background: var(--navy); border: 1px solid rgba(29, 161, 242, 0.12); overflow: hidden; transition: border-color var(--transition), transform var(--transition); }
.product-card:hover { border-color: rgba(29, 161, 242, 0.45); transform: translateY(-4px); }

.product-img { height: 200px; background: var(--steel); display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }

.product-img-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.product-card:hover .product-img-bar { transform: scaleX(1); }

.product-body { padding: 24px; }
.product-tag { display: inline-block; background: rgba(29, 161, 242, 0.1); color: var(--blue2); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 9px; margin-bottom: 10px; font-weight: 600; }
.product-name { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--white); text-transform: uppercase; margin-bottom: 8px; }
.product-desc { font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 16px; }
.product-btn { display: block; width: 100%; padding: 10px; background: transparent; border: 1px solid rgba(29, 161, 242, 0.3); color: var(--blue); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background var(--transition); font-family: var(--font-body); text-align: center; }
.product-btn:hover { background: rgba(29, 161, 242, 0.1); color: var(--blue); }

/* ---------------------------------------------------------
   Why Us Section
   --------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }

.big-text { font-family: var(--font-heading); font-size: 80px; font-weight: 800; line-height: 0.95; color: rgba(17, 40, 68, 0.9); text-transform: uppercase; letter-spacing: -2px; user-select: none; }
.big-text span { color: rgba(29, 161, 242, 0.2); }

.why-item { padding: 24px 0; border-bottom: 1px solid rgba(29, 161, 242, 0.1); display: flex; gap: 20px; align-items: flex-start; }
.why-num { font-family: var(--font-heading); font-size: 32px; font-weight: 800; color: rgba(29, 161, 242, 0.25); min-width: 48px; line-height: 1; }
.why-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.why-desc { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ---------------------------------------------------------
   Contact Strip
   --------------------------------------------------------- */
.contact-strip { background: var(--blue); padding: 52px 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.contact-strip h2 { font-size: 42px; color: var(--white); }
.contact-strip h2 small { display: block; font-size: 13px; font-weight: 400; letter-spacing: 2px; opacity: 0.7; margin-bottom: 8px; text-transform: uppercase; }
.contact-info { display: flex; flex-direction: column; gap: 10px; }
.contact-row { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.contact-row strong { color: var(--white); }
.contact-row a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }
.contact-row a:hover { text-decoration-color: var(--white); }

/* ---------------------------------------------------------
   Posts / Blog
   --------------------------------------------------------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }

.post-card { background: var(--navy2); border: 1px solid rgba(29, 161, 242, 0.1); overflow: hidden; transition: border-color var(--transition); }
.post-card:hover { border-color: rgba(29, 161, 242, 0.4); }

.post-thumb { height: 180px; background: var(--steel); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }

.post-body { padding: 24px; }
.post-date { font-size: 11px; color: var(--text2); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.post-title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--white); text-transform: uppercase; margin-bottom: 10px; line-height: 1.2; }
.post-excerpt { font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 16px; }
.post-link { font-size: 12px; color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.post-link:hover { color: var(--blue2); }

/* ---------------------------------------------------------
   Single Post / Page Content
   --------------------------------------------------------- */
.entry-content { max-width: 800px; margin: 0 auto; padding: 60px 40px; color: var(--text); font-size: 16px; line-height: 1.8; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { margin: 2rem 0 1rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { list-style: disc; padding-left: 24px; margin-bottom: 1.25rem; }
.entry-content a { color: var(--blue); }
.entry-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.entry-content blockquote { border-left: 3px solid var(--blue); padding: 12px 20px; background: var(--navy2); font-style: italic; color: var(--silver); margin: 1.5rem 0; }

/* ---------------------------------------------------------
   Contact Page Form
   --------------------------------------------------------- */
.contact-page { padding: 80px 60px; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver); font-weight: 500; }
.form-input, .form-textarea, .form-select { background: var(--navy2); border: 1px solid rgba(29, 161, 242, 0.2); color: var(--white); padding: 12px 16px; font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color var(--transition); border-radius: var(--radius); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--blue); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { cursor: pointer; }
.form-select option { background: var(--navy2); }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
#site-footer { background: var(--navy2); border-top: 1px solid rgba(29, 161, 242, 0.15); }

.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding: 64px 60px 48px; }

.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .footer-logo img { height: 38px; }
.footer-brand .logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 17px; color: var(--white); line-height: 1.2; }
.footer-brand .logo-text small { display: block; font-size: 10px; font-weight: 400; letter-spacing: 2px; color: var(--blue); text-transform: uppercase; }
.footer-desc { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; background: rgba(29, 161, 242, 0.1); border: 1px solid rgba(29, 161, 242, 0.25); display: flex; align-items: center; justify-content: center; color: var(--silver); font-size: 14px; transition: background var(--transition), color var(--transition); text-decoration: none; }
.social-btn:hover { background: var(--blue); color: var(--white); }

.footer-col h4 { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(29, 161, 242, 0.2); }
.footer-links-list { display: flex; flex-direction: column; gap: 8px; }
.footer-links-list a { font-size: 14px; color: var(--text2); transition: color var(--transition), padding-left var(--transition); }
.footer-links-list a:hover { color: var(--blue); padding-left: 4px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; gap: 10px; font-size: 13px; color: var(--text2); line-height: 1.5; }
.footer-contact-item .icon { color: var(--blue); font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--text2); }
.footer-contact-item a:hover { color: var(--blue); }

.footer-bottom { padding: 20px 60px; border-top: 1px solid rgba(29, 161, 242, 0.1); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12px; color: var(--text2); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: var(--text2); }
.footer-bottom-links a:hover { color: var(--blue); }

/* ---------------------------------------------------------
   Scroll to Top
   --------------------------------------------------------- */
#scroll-top { position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px; background: var(--blue); color: var(--white); border: none; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all var(--transition); clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%); z-index: 999; }
#scroll-top.visible { opacity: 1; visibility: visible; }
#scroll-top:hover { background: var(--blue2); }

/* ---------------------------------------------------------
   Animations
   --------------------------------------------------------- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 60px 40px; }
  .hero h1 { font-size: 56px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .big-text { font-size: 60px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .main-nav ul { gap: 20px; }
  .container:has(.sidebar-left) { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 24px; }
  #site-header { padding: 0 24px; }
  .main-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 60px 24px; }
  .hero h1 { font-size: 44px; }
  .hero-stats { gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .products-section { padding: 60px 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .contact-strip { padding: 40px 24px; flex-direction: column; text-align: center; }
  .contact-strip h2 { font-size: 32px; }
  .footer-top { grid-template-columns: 1fr; padding: 40px 24px 32px; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; text-align: center; }
  .contact-page { padding: 60px 24px; }

  /* Sidebar về mobile */
  .container:has(.sidebar-left) { grid-template-columns: 1fr; }
  .sidebar-left { position: static; height: auto; border-right: none; border-bottom: 1px solid rgba(29, 161, 242, 0.15); }
  .content-right { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 36px; }
  .section-title { font-size: 36px; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}