/* =============================================
   G-TECH TELECOMMUNICATIONS — Main Stylesheet
   Dark Theme · Brand Red #E6000A
   ============================================= */

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

:root {
  /* Brand */
  --red:        #E6000A;
  --red-dark:   #B80000;
  --red-glow:   rgba(230,0,10,.22);
  --red-subtle: rgba(230,0,10,.10);

  /* Dark palette */
  --dark-bg:    #0D0D0D;
  --dark-1:     #111111;
  --dark-2:     #171717;
  --dark-3:     #1F1F1F;
  --dark-4:     #272727;
  --dark-border: rgba(255,255,255,.08);
  --dark-border-hover: rgba(255,255,255,.16);

  /* Text */
  --white:      #FFFFFF;
  --text:       #E8E8E8;
  --text-light: #999999;
  --text-muted: #555555;

  /* Legacy neutrals (kept for structure) */
  --gray-200:   rgba(255,255,255,.08);
  --gray-400:   #555555;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,.4);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.5);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.6);
  --shadow-red: 0 8px 32px rgba(230,0,10,.35);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: 0.25s ease;
  --max-width:  1200px;
  --font:       'Be Vietnam Pro', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--dark-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { line-height: 1.25; font-weight: 700; color: var(--white); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { line-height: 1.75; color: var(--text-light); }

.text-center { text-align: center; }
.text-white  { color: var(--white); }

.highlight { color: var(--red); }

.badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-subtle);
  border: 1px solid rgba(230,0,10,.2);
  padding: .3rem .85rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.badge--alt {
  color: var(--text-light);
  background: var(--dark-4);
  border-color: var(--dark-border);
}

/* Text Reveal */
@keyframes textReveal {
  from { opacity: 0; transform: translateY(20px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--red), #ff4d4d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: textReveal 0.8s ease-out 0.2s both;
}

/* Badge Glow */
.badge {
  position: relative;
  overflow: hidden;
}
.badge::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(transparent, rgba(230,0,10,0.1), transparent);
  transform: rotate(45deg);
  animation: badgeShine 3s infinite;
}
@keyframes badgeShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; background: var(--dark-bg); }
.section--gray    { background: var(--dark-1); }
.section--navy    { background: var(--dark-2); color: var(--white); }
.section--dark    { background: var(--dark-2); color: var(--white); }
.section--gradient {
  background: var(--dark-1);
  position: relative;
  overflow: hidden;
}
.section--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(230,0,10,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(230,0,10,.06) 0%, transparent 50%);
  pointer-events: none;
}
.section--gradient .container { position: relative; }

.section-header { margin-bottom: 3.5rem; }
.section-header p { color: var(--text-light); max-width: 600px; margin: .75rem auto 0; font-size: 1.05rem; }
.section--navy .section-header p,
.section--dark .section-header p,
.section--gradient .section-header p { color: var(--text-light); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.25);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--dark-3);
  color: var(--white);
  border: 1px solid var(--dark-border);
}
.btn-navy:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; border-radius: var(--radius-md); }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: .85rem 0;
  background: rgba(13,13,13,.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(13,13,13,.96);
  box-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo image */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-weight: 500;
  font-size: .95rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: .5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; box-shadow: var(--shadow-red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(230,0,10,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(230,0,10,.07) 0%, transparent 45%);
  pointer-events: none;
}
/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { color: var(--white); }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  width: 30px; height: 2px;
  background: var(--red);
}
.hero h1 { margin-bottom: 1.25rem; color: var(--white); }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-desc {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: 0 0 50px rgba(230,0,10,.15);
}
.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--dark-border);
  display: block;
}
.hero-image-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--red), transparent 60%);
  border-radius: inherit;
  z-index: -1;
  opacity: .5;
}

.floating-badge {
  position: absolute;
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: .75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  box-shadow: var(--shadow-lg);
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}
.floating-badge:nth-child(2) { animation-delay: 1s; }
.floating-badge.top-right { top: -1.5rem; right: -2rem; }
.floating-badge.bottom-left { bottom: -1.5rem; left: -2rem; }
.floating-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }

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

/* --- Stats Bar --- */
.stats-bar { background: var(--dark-1); padding: 3rem 0; border-top: 1px solid var(--dark-border); border-bottom: 1px solid var(--dark-border); }
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-item .num { font-size: 2.5rem; font-weight: 800; color: var(--red); line-height: 1; }
.stat-item .unit { font-size: 1.5rem; }
.stat-item .label { font-size: .85rem; color: var(--text-muted); margin-top: .4rem; }

/* --- Service Cards --- */
.service-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover {
  border-color: rgba(230,0,10,.3);
  box-shadow: 0 8px 32px rgba(230,0,10,.12);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: var(--red-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--red);
  border: 1px solid rgba(230,0,10,.15);
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--red); color: var(--white); border-color: var(--red); }
.service-card h3 { margin-bottom: .6rem; color: var(--white); }
.service-card p { color: var(--text-light); font-size: .95rem; margin-bottom: 1.25rem; }
.service-link {
  color: var(--red);
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: var(--transition);
}
.service-link:hover { color: var(--white); gap: .6rem; }

/* --- Why Us --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-content h2 { margin-bottom: 1rem; }
.why-content > p { color: var(--text-light); margin-bottom: 2rem; }
.why-list { display: flex; flex-direction: column; gap: 1.25rem; }
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-icon {
  width: 44px; height: 44px;
  background: var(--red-subtle);
  border: 1px solid rgba(230,0,10,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.why-item h4 { margin-bottom: .2rem; color: var(--white); }
.why-item p { color: var(--text-light); font-size: .9rem; }

.why-visual {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 60%);
}
.why-visual h3 { color: var(--red); margin-bottom: 1.5rem; font-size: 1.1rem; }
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.partner-logo-item {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-light);
  transition: var(--transition);
}
.partner-logo-item:hover { background: var(--red-subtle); border-color: rgba(230,0,10,.3); color: var(--white); }

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, var(--red), rgba(230,0,10,.1) 80%, transparent);
}
.process-step { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px;
  background: var(--dark-bg);
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--red);
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-step:hover .step-num {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.process-step h4 { font-size: .95rem; margin-bottom: .35rem; color: var(--white); }
.process-step p { font-size: .82rem; color: var(--text-muted); }

/* --- Floating Buttons --- */
.call-float, .zalo-float {
  position: fixed;
  bottom: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}

.call-float {
  right: 2rem;
  background: #22c55e;
}
.zalo-float {
  right: 6.5rem;
  background: #0068ff;
}

.call-float:hover, .zalo-float:hover {
  transform: scale(1.1) translateY(-5px);
}

/* Pulse Animation */
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(0, 104, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

.call-float { animation: pulse-green 2s infinite; }
.zalo-float { animation: pulse-blue 2s infinite; animation-delay: 1s; }

/* --- Glow Flash for Counters --- */
.stat-item.counted .num {
  animation: glow-flash 0.8s ease-out;
}
@keyframes glow-flash {
  0% { text-shadow: 0 0 0px var(--red); }
  50% { text-shadow: 0 0 20px var(--red), 0 0 40px var(--red); }
  100% { text-shadow: 0 0 0px var(--red); }
}

/* --- Testimonials --- */

/* --- CTA Section --- */
.cta-section {
  background: var(--dark-1);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(230,0,10,.12), transparent 65%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.cta-section .container { position: relative; }
.cta-section h2 { margin-bottom: 1rem; color: var(--white); }
.cta-section p { color: var(--text-light); max-width: 550px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Blog Cards --- */
.blog-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  border-color: rgba(230,0,10,.25);
  box-shadow: 0 8px 32px rgba(230,0,10,.1);
  transform: translateY(-4px);
}
.blog-thumb {
  height: 200px;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  opacity: 0;
  transition: var(--transition);
}
.blog-card:hover .blog-thumb::after { opacity: 1; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.5rem; }
.blog-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--text-muted); margin-bottom: .75rem; }
.blog-cat { color: var(--red); font-weight: 600; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: .6rem; line-height: 1.4; color: var(--white); }
.blog-card h3 a:hover { color: var(--red); }
.blog-card p { font-size: .88rem; color: var(--text-light); margin-bottom: 1rem; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--dark-bg);
  padding: 7rem 0 4rem;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--dark-border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(230,0,10,.1), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero p { color: var(--text-light); max-width: 580px; margin: 1rem auto 0; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--red); }
.breadcrumb span { color: var(--text-muted); }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}
.contact-info-card h3 { margin-bottom: 1.5rem; color: var(--red); }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--red-subtle);
  border: 1px solid rgba(230,0,10,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.contact-detail h4 { font-size: .85rem; color: var(--text-muted); font-weight: 500; margin-bottom: .2rem; }
.contact-detail p, .contact-detail a { font-size: .95rem; font-weight: 600; color: var(--white); }
.contact-detail a:hover { color: var(--red); }
.social-links { display: flex; gap: .75rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--dark-border); }
.social-link {
  width: 40px; height: 40px;
  background: var(--dark-4);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}
.social-link:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.contact-form {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form h3 { margin-bottom: 1.5rem; color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--text-light); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--dark-border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--white);
  background: var(--dark-3);
  transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--dark-3); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-subtle);
  background: var(--dark-4);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* --- Footer --- */
footer {
  background: var(--dark-1);
  color: var(--text-light);
  padding: 4rem 0 0;
  border-top: 1px solid var(--dark-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; display: block; }
.footer-brand .nav-logo img { height: 38px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 1.25rem; color: var(--text-light); }
.footer-col h4 { color: var(--white); font-size: .9rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul li { margin-bottom: .65rem; }
.footer-col ul li a { font-size: .88rem; transition: var(--transition); color: var(--text-light); }
.footer-col ul li a:hover { color: var(--red); }
.footer-contact li { font-size: .88rem; margin-bottom: .65rem; display: flex; gap: .5rem; align-items: flex-start; }
.footer-contact li svg { color: var(--red); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--text-muted);
}
.footer-bottom a { transition: var(--transition); color: var(--text-muted); }
.footer-bottom a:hover { color: var(--red); }

/* --- Zalo Float --- */
.zalo-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 54px; height: 54px;
  background: #0068FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,104,255,.5);
  animation: pulse-zalo 2.5s infinite;
  transition: var(--transition);
}
.zalo-float:hover { transform: scale(1.1); }
.zalo-float svg { color: var(--white); }

.call-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(230,0,10,0.3);
  z-index: 999;
  transition: var(--transition);
  display: none; /* Only show on mobile */
}
@media (max-width: 768px) {
  .call-float { display: flex; }
}
.call-float:hover { transform: scale(1.1); background: var(--red-dark); }

@keyframes pulse-zalo {
  0%,100% { box-shadow: 0 4px 20px rgba(0,104,255,.5); }
  50% { box-shadow: 0 4px 30px rgba(0,104,255,.85), 0 0 0 12px rgba(0,104,255,.1); }
}

/* --- Scroll to top --- */
.scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 998;
  width: 44px; height: 44px;
  background: var(--dark-3);
  border: 1px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--red); color: var(--white); box-shadow: var(--shadow-red); }

/* =========================================
   ANIMATION SYSTEM
   ========================================= */

/* --- Page enter --- */
@keyframes pageEnter {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: pageEnter .35s ease both; }

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  z-index: 9999;
  transition: width .1s linear;
  pointer-events: none;
}

/* --- Hero entrance (staggered) --- */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroSlideLeft {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-eyebrow  { animation: heroSlideRight .55s ease .05s both; }
.hero-content h1 { animation: heroSlideUp   .6s  ease .15s both; }
.hero-desc       { animation: heroSlideUp   .6s  ease .28s both; }
.hero-actions    { animation: heroSlideUp   .55s ease .4s  both; }
.hero-stats      { animation: heroSlideUp   .55s ease .55s both; }
.hero-visual     { animation: heroSlideLeft .7s  ease .25s both; }

/* --- Hero card float + shimmer --- */
@keyframes heroCardFloat {
  0%,100% { transform: translateY(0) rotate3d(1,1,0,0deg); }
  50%      { transform: translateY(-7px) rotate3d(1,1,0,.4deg); }
}
.hero-main-card { animation: heroCardFloat 5s ease-in-out infinite; }

@keyframes heroCardShimmer {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}
.hero-main-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent);
  transform: translateX(-120%);
  animation: heroCardShimmer 4s ease-in-out 1.2s infinite;
  pointer-events: none;
}

/* --- Reveal on scroll (base + variants) --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-scale.visible { opacity: 1; transform: none; }

/* --- Auto stagger for grid children --- */
.grid-3 > *:nth-child(2),
.grid-4 > *:nth-child(2) { transition-delay: .1s; }
.grid-3 > *:nth-child(3),
.grid-4 > *:nth-child(3) { transition-delay: .2s; }
.grid-4 > *:nth-child(4) { transition-delay: .3s; }

/* --- Service card shimmer on hover --- */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230,0,10,.05), transparent);
  transition: left .6s ease;
  pointer-events: none;
}
.service-card:hover::after { left: 150%; }

/* --- Value card & team card lift --- */
.value-card,
.team-card {
  transition: var(--transition), transform .3s ease, box-shadow .3s ease;
}

/* --- CTA button breathe pulse --- */
@keyframes ctaBreathe {
  0%,100% { box-shadow: var(--shadow-red); }
  50%      { box-shadow: 0 8px 48px rgba(230,0,10,.55), 0 0 0 8px rgba(230,0,10,.06); }
}
.cta-section .btn-primary {
  animation: ctaBreathe 3s ease-in-out infinite;
}

/* --- Stat counter flash --- */
@keyframes statGlow {
  0%   { text-shadow: none; }
  40%  { text-shadow: 0 0 20px rgba(230,0,10,.7); }
  100% { text-shadow: none; }
}
.stat-item.counted .num { animation: statGlow .8s ease; }

/* --- Process step hover lift --- */
.process-step { transition: var(--transition), transform .3s ease; }
.process-step:hover { transform: translateY(-6px); }

/* --- Navbar slide down on load --- */
@keyframes navbarEnter {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.navbar { animation: navbarEnter .45s ease both; }

/* --- Float keyframe (kept for floating badges) --- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============================================
   INNER PAGE SPECIFIC STYLES
   ============================================ */

/* --- Service Detail (dich-vu page) --- */
.tab-nav {
  background: var(--dark-1);
  border-bottom: 1px solid var(--dark-border);
  position: sticky;
  top: 68px;
  z-index: 100;
}
.tab-nav .container { display: flex; gap: 0; overflow-x: auto; }
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 1.5rem;
  color: var(--text-light);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.tab-btn:hover { color: var(--white); background: var(--dark-3); }
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }

.service-detail { padding: 4rem 0; border-bottom: 1px solid var(--dark-border); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-detail-content h2 { margin-bottom: .75rem; }
.service-detail-content > p { color: var(--text-light); margin-bottom: 1.5rem; }

.service-visual-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  box-shadow: var(--shadow-xl);
}
.service-visual-img img {
  width: 100%;
  height: auto;
  display: block;
}
.service-visual-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(to top, var(--dark-1), transparent);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.service-feature-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.service-feature {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .92rem;
  color: var(--text-light);
}
.service-feature::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--red-subtle);
  border: 1px solid rgba(230,0,10,.2);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23E6000A' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.service-detail-visual {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.service-detail-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}
.service-detail-visual h4 { color: var(--red); margin-bottom: 1.25rem; font-size: 1rem; }

.pricing-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}
.pricing-card:hover { border-color: rgba(230,0,10,.3); }
.pricing-card.featured {
  background: var(--red-subtle);
  border-color: rgba(230,0,10,.3);
}
.pricing-name { font-weight: 700; color: var(--white); margin-bottom: .25rem; }
.pricing-price { font-size: 1.4rem; font-weight: 800; color: var(--red); margin-bottom: .25rem; }
.pricing-desc { font-size: .82rem; color: var(--text-muted); }

/* --- Blog page --- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}
.blog-main { display: flex; flex-direction: column; gap: 2rem; }
.blog-sidebar { position: sticky; top: 100px; }

/* --- Blog card LG (Full width vertical) --- */
.blog-card-lg {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: var(--transition);
  max-width: 850px; /* Resolve excessive line length */
}
.blog-card-lg:hover {
  border-color: rgba(230,0,10,.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.blog-card-lg .blog-thumb {
  height: 400px;
  background: var(--dark-3);
  overflow: hidden;
}
.blog-card-lg .blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.blog-card-lg:hover .blog-thumb img { transform: scale(1.05); }
.blog-card-lg .blog-body { padding: 2.5rem; }
.blog-card-lg h2 { font-size: 1.6rem; margin-bottom: 1rem; line-height: 1.3; }
.blog-card-lg h2 a { color: var(--white); text-decoration: none; transition: var(--transition); }
.blog-card-lg h2 a:hover { color: var(--red); }
.blog-card-lg .excerpt { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.7; }

.blog-card-h {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card-h:hover {
  border-color: rgba(230,0,10,.25);
  box-shadow: 0 8px 32px rgba(230,0,10,.1);
}
.blog-card-h .blog-thumb { height: 100%; min-height: 200px; }
.blog-card-h .blog-body { padding: 2rem; }
.blog-card-h h3 { font-size: 1.15rem; line-height: 1.4; }

.blog-featured {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
}
.blog-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}
.blog-featured-thumb {
  height: 320px;
  background: var(--dark-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.blog-featured-body { padding: 2.5rem; }
.blog-featured-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 99px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.blog-featured-body h2 { margin-bottom: .75rem; }

.sidebar-widget {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 { color: var(--white); margin-bottom: 1rem; font-size: .95rem; padding-bottom: .75rem; border-bottom: 1px solid var(--dark-border); }
.sidebar-cat { display: flex; justify-content: space-between; align-items: center; padding: .4rem 0; font-size: .88rem; border-bottom: 1px solid var(--dark-border); color: var(--text-light); transition: var(--transition); }
.sidebar-cat:last-child { border-bottom: none; }
.sidebar-cat:hover { color: var(--red); }
.sidebar-cat span { background: var(--dark-4); color: var(--text-muted); font-size: .78rem; padding: .15rem .5rem; border-radius: 99px; }

.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: .45rem 1rem;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 500;
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.newsletter-section {
  background: var(--dark-1);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(230,0,10,.07), transparent 60%);
  pointer-events: none;
}
.newsletter-form { display: flex; gap: .75rem; max-width: 440px; margin: 1.5rem auto 0; }
.newsletter-form input {
  flex: 1;
  padding: .75rem 1.1rem;
  border: 1.5px solid var(--dark-border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  background: var(--dark-3);
  color: var(--white);
}
.newsletter-form input:focus { outline: none; border-color: var(--red); }

.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.page-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* --- About page --- */
.value-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
}
.value-card:hover { border-color: rgba(230,0,10,.25); transform: translateY(-4px); }
.value-icon {
  width: 52px; height: 52px;
  background: var(--red-subtle);
  border: 1px solid rgba(230,0,10,.15);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  margin-bottom: 1rem;
}
.value-card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.value-card p { font-size: .9rem; color: var(--text-light); }

.team-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { border-color: rgba(230,0,10,.25); box-shadow: 0 8px 32px rgba(230,0,10,.08); }
.team-avatar,
.team-avatar-img {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.team-avatar {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.team-avatar-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.team-card .team-role { font-size: .85rem; color: var(--red); font-weight: 600; margin-bottom: .5rem; }
.team-card p { font-size: .85rem; color: var(--text-light); }

.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), rgba(230,0,10,.1));
}
.timeline-item { position: relative; padding: 0 0 2.5rem 2rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--dark-bg);
  box-shadow: 0 0 0 3px rgba(230,0,10,.2);
}
.timeline-year { font-size: .8rem; font-weight: 700; color: var(--red); letter-spacing: .06em; margin-bottom: .3rem; }
.timeline-item h4 { color: var(--white); margin-bottom: .3rem; }
.timeline-item p { font-size: .88rem; color: var(--text-light); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.legal-table th, .legal-table td {
  padding: .85rem 1rem;
  border: 1px solid var(--dark-border);
  text-align: left;
}
.legal-table th {
  background: var(--dark-3);
  color: var(--text-light);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.legal-table tr:nth-child(even) td { background: var(--dark-2); }
.legal-table tr:nth-child(odd) td { background: var(--dark-bg); }
.legal-table td:first-child { color: var(--text-muted); width: 35%; }
.legal-table td:last-child { color: var(--white); font-weight: 600; }

/* --- Contact — Quick method cards --- */
.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.contact-method-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.contact-method-card:hover {
  border-color: rgba(230,0,10,.3);
  box-shadow: 0 8px 24px rgba(230,0,10,.1);
  transform: translateY(-3px);
}
.contact-method-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  margin: 0 auto .75rem;
  display: flex; align-items: center; justify-content: center;
}
.contact-method-card h4 { font-size: .95rem; margin-bottom: .3rem; color: var(--white); }
.contact-method-card p { font-size: .82rem; color: var(--text-muted); }

.commit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.commit-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}
.commit-icon { font-size: 2rem; margin-bottom: .75rem; color: var(--red); }
.commit-card h4 { font-size: .95rem; margin-bottom: .3rem; color: var(--white); }
.commit-card p { font-size: .82rem; color: var(--text-muted); }

.faq-item {
  border-bottom: 1px solid var(--dark-border);
}
.faq-item summary {
  padding: 1.2rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-item summary:hover { color: var(--red); }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--red); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 1.2rem; color: var(--text-light); font-size: .95rem; }

/* industry segment boxes */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.industry-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.industry-card:hover { border-color: rgba(230,0,10,.25); transform: translateY(-3px); }
.industry-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.industry-card h4 { color: var(--white); margin-bottom: .4rem; }
.industry-card p { font-size: .85rem; color: var(--text-light); }

/* success message */
#successMsg {
  display: none;
  background: var(--dark-2);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}
#successMsg svg { color: #22c55e; margin: 0 auto 1rem; }
#successMsg h3 { color: var(--white); margin-bottom: .5rem; }
#successMsg p { color: var(--text-light); }

/* map placeholder */
.map-placeholder {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  height: 280px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  flex-direction: column;
  gap: .75rem;
  font-size: .9rem;
}

/* --- Mobile --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .contact-method-grid { grid-template-columns: repeat(2, 1fr); }
  .commit-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { 
    grid-template-columns: 1fr; 
    gap: 3rem;
  }
  .blog-card-h { grid-template-columns: 200px 1fr; }
  .blog-sidebar { order: -1; } /* Move sidebar to top on mobile/tablet */
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(13,13,13,.98);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; z-index: 1001; position: relative; }

  .hero-grid,
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.5rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .partner-logo-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }

  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .service-detail-grid,
  .service-detail-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
  .contact-method-grid { grid-template-columns: repeat(2, 1fr); }
  .commit-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .blog-card-h { grid-template-columns: 1fr; }
  .blog-card-h .blog-thumb { height: 200px; }
  .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .contact-method-grid { grid-template-columns: 1fr 1fr; }
  .commit-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
}

/* Partner Grid */
.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.6;
  filter: grayscale(1);
  transition: var(--transition);
}
.partners-grid:hover {
  opacity: 1;
  filter: grayscale(0);
}
.partner-label {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  user-select: none;
  cursor: default;
  transition: var(--transition);
}
.partner-label:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
  background: rgba(230,0,10,0.05);
}
@media(max-width: 640px) {
  .partners-grid { gap: 1rem; }
  .partner-label { font-size: 1rem; padding: 0.4rem 1rem; }
}
