/* ============================================================
   visamon-home.css — Trang chu visamon.com
   ============================================================ */

/* HERO */
.vm-hero {
  background: linear-gradient(135deg, #003D20 0%, #005C2E 45%, #007A40 75%, #00A456 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
}
.vm-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 50%, rgba(240,200,50,.08) 0%, transparent 60%),
    radial-gradient(ellipse 300px 300px at 10% 80%, rgba(0,164,86,.15) 0%, transparent 60%);
  pointer-events: none;
}
/* Hex pattern overlay */
.vm-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpolygon points='30,2 58,17 58,35 30,50 2,35 2,17' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 52px;
  pointer-events: none;
}
.vm-hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.vm-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--vm-gold-bright); margin-bottom: 16px;
}
.vm-hero-eyebrow span { display: inline-block; width: 24px; height: 2px; background: var(--vm-gold-bright); border-radius: 2px; }
.vm-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700; line-height: 1.15;
  color: #fff; margin-bottom: 16px;
}
.vm-hero-title em { font-style: normal; color: var(--vm-gold-bright); }
.vm-hero-desc {
  font-size: 15.5px; line-height: 1.7;
  color: rgba(255,255,255,.75); margin-bottom: 32px;
  max-width: 480px;
}
.vm-hero-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.vm-hero-btn-main {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vm-gold-bright); color: #0B1F14;
  font-size: 14px; font-weight: 700;
  padding: 12px 24px; border-radius: var(--vm-r-md);
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(240,200,50,.4);
}
.vm-hero-btn-main:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(240,200,50,.5); }
.vm-hero-btn-main svg { width: 18px; height: 18px; }
.vm-hero-btn-sec {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.9);
  font-size: 13.5px; font-weight: 600; backdrop-filter: blur(4px);
  padding: 11px 20px; border-radius: var(--vm-r-md);
  border: 1px solid rgba(255,255,255,.2);
  transition: background .2s;
}
.vm-hero-btn-sec:hover { background: rgba(255,255,255,.18); }
.vm-hero-stats {
  display: flex; gap: 28px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
}
.vm-hero-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 26px; font-weight: 700; color: var(--vm-gold-bright);
  line-height: 1;
}
.vm-hero-stat-label { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 3px; }

/* Hero right: visual */
.vm-hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.vm-hero-cards-wrap {
  position: relative; width: 100%; max-width: 400px;
}
.vm-hero-card {
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--vm-r-xl);
  padding: 20px 22px;
  color: #fff;
}
.vm-hero-card-main {
  margin-bottom: -20px; position: relative; z-index: 2;
}
.vm-hero-card-flag { font-size: 28px; margin-bottom: 8px; }
.vm-hero-card-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.vm-hero-card-sub { font-size: 12.5px; color: rgba(255,255,255,.6); }
.vm-hero-card-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(240,200,50,.2); color: var(--vm-gold-bright);
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 50px;
  margin-top: 10px;
}
.vm-hero-card-secondary {
  background: rgba(255,255,255,.06); margin-top: 30px;
}
.vm-hero-card-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.vm-hero-card-row:last-child { border-bottom: none; }
.vm-hero-card-row-label { font-size: 12.5px; color: rgba(255,255,255,.55); }
.vm-hero-card-row-val { font-size: 12.5px; font-weight: 600; }
.vm-hero-card-row-val.ok { color: #4ADE80; }

/* TRUST BAR */
.vm-trust-bar {
  background: var(--vm-white);
  border-bottom: 1px solid var(--vm-border);
  padding: 0;
}
.vm-trust-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: stretch;
}
.vm-trust-item {
  flex: 1; display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; border-right: 1px solid var(--vm-border);
  transition: background .2s;
}
.vm-trust-item:last-child { border-right: none; }
.vm-trust-item:hover { background: var(--vm-green-ultra); }
.vm-trust-icon {
  width: 36px; height: 36px; border-radius: var(--vm-r-sm);
  background: var(--vm-green-light); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vm-trust-icon svg { width: 18px; height: 18px; color: var(--vm-green); }
.vm-trust-text-main { font-size: 13px; font-weight: 600; color: var(--vm-text); }
.vm-trust-text-sub { font-size: 11.5px; color: var(--vm-text-muted); margin-top: 1px; }

/* SERVICES GRID */
.vm-services { background: var(--vm-white); }
.vm-services-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px;
}
.vm-services-see-all {
  font-size: 13px; font-weight: 600; color: var(--vm-green);
  display: flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.vm-services-see-all:hover { gap: 8px; }
.vm-services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.vm-service-card {
  background: var(--vm-white); border: 1px solid var(--vm-border);
  border-radius: var(--vm-r-lg); padding: 20px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: pointer; position: relative; overflow: hidden;
}
.vm-service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--vm-green); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.vm-service-card:hover { border-color: var(--vm-green); box-shadow: var(--vm-shadow-md); transform: translateY(-2px); }
.vm-service-card:hover::before { transform: scaleX(1); }
.vm-service-icon {
  width: 44px; height: 44px; border-radius: var(--vm-r-md);
  background: var(--vm-green-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; transition: background .2s;
}
.vm-service-card:hover .vm-service-icon { background: var(--vm-green); }
.vm-service-icon svg { width: 22px; height: 22px; color: var(--vm-green); transition: color .2s; }
.vm-service-card:hover .vm-service-icon svg { color: #fff; }
.vm-service-name { font-size: 14px; font-weight: 600; color: var(--vm-text); margin-bottom: 6px; }
.vm-service-desc { font-size: 12.5px; color: var(--vm-text-muted); line-height: 1.55; }
.vm-service-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 50px; margin-top: 10px;
  background: var(--vm-gold-light); color: var(--vm-gold-dark);
}

/* WHY SECTION */
.vm-why { background: var(--vm-bg); }
.vm-why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.vm-why-visual {
  position: relative;
}
.vm-why-img-wrap {
  border-radius: var(--vm-r-xl); overflow: hidden;
  background: linear-gradient(135deg, var(--vm-green-light), var(--vm-gold-light));
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
}
.vm-why-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #005C2E 0%, #00A456 60%, #D4A017 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.8); font-size: 13px; font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 600;
}
.vm-why-float-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--vm-white); border: 1px solid var(--vm-border);
  border-radius: var(--vm-r-lg); padding: 14px 18px;
  box-shadow: var(--vm-shadow-md); text-align: center;
}
.vm-why-float-num { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 700; color: var(--vm-green); line-height: 1; }
.vm-why-float-txt { font-size: 11.5px; color: var(--vm-text-muted); margin-top: 2px; }
.vm-why-points { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.vm-why-point { display: flex; gap: 14px; }
.vm-why-point-icon {
  width: 40px; height: 40px; border-radius: var(--vm-r-md);
  background: var(--vm-green-light); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vm-why-point-icon svg { width: 20px; height: 20px; color: var(--vm-green); }
.vm-why-point-title { font-size: 14px; font-weight: 600; color: var(--vm-text); margin-bottom: 3px; }
.vm-why-point-desc { font-size: 13px; color: var(--vm-text-muted); line-height: 1.55; }

/* NEWS SECTION */
.vm-news { background: var(--vm-white); }
.vm-news-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.vm-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vm-post-card {
  border: 1px solid var(--vm-border); border-radius: var(--vm-r-lg); overflow: hidden;
  background: var(--vm-white); transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.vm-post-card:hover { box-shadow: var(--vm-shadow-md); transform: translateY(-2px); }
.vm-post-thumb {
  aspect-ratio: 16/9; overflow: hidden; background: var(--vm-green-light);
  position: relative;
}
.vm-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vm-post-card:hover .vm-post-thumb img { transform: scale(1.04); }
.vm-post-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--vm-green-light) 0%, var(--vm-gold-light) 100%);
  display: flex; align-items: center; justify-content: center;
}
.vm-post-cat {
  position: absolute; top: 10px; left: 10px;
  background: var(--vm-green); color: #fff;
  font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 50px;
}
.vm-post-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.vm-post-title {
  font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--vm-text);
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vm-post-meta { font-size: 12px; color: var(--vm-text-light); margin-top: auto; display: flex; align-items: center; gap: 8px; }

/* COUNTRIES SECTION */
.vm-countries { background: var(--vm-bg); }
.vm-countries-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 28px;
}
.vm-country-item {
  background: var(--vm-white); border: 1px solid var(--vm-border);
  border-radius: var(--vm-r-md); padding: 16px 12px;
  text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: pointer;
}
.vm-country-item:hover { border-color: var(--vm-green); box-shadow: var(--vm-shadow-sm); transform: translateY(-1px); }
.vm-country-flag { font-size: 26px; margin-bottom: 6px; }
.vm-country-name { font-size: 12px; font-weight: 500; color: var(--vm-text-muted); }

/* CTA BANNER */
.vm-cta-banner {
  background: linear-gradient(120deg, #003D20 0%, #005C2E 40%, #007A40 100%);
  position: relative; overflow: hidden;
}
.vm-cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 500px 300px at 90% 50%, rgba(240,200,50,.1), transparent 60%);
  pointer-events: none;
}
.vm-cta-banner-inner {
  max-width: 1200px; margin: 0 auto; padding: 56px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; z-index: 1;
}
.vm-cta-title { font-family: 'Fraunces', serif; font-size: clamp(22px, 3vw, 34px); font-weight: 700; color: #fff; margin-bottom: 8px; }
.vm-cta-desc { font-size: 14.5px; color: rgba(255,255,255,.7); max-width: 480px; line-height: 1.6; }
.vm-cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; flex-shrink: 0; }
.vm-cta-phone {
  display: flex; align-items: center; gap: 8px;
  background: #DC2626; color: #fff;
  font-size: 14px; font-weight: 700; padding: 12px 22px; border-radius: var(--vm-r-md);
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 16px rgba(220,38,38,.4);
}
.vm-cta-phone:hover { background: #B91C1C; transform: translateY(-1px); }
.vm-cta-phone svg { width: 18px; height: 18px; }
.vm-cta-consult {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: var(--vm-r-md);
  border: 1px solid rgba(255,255,255,.2); transition: background .2s;
}
.vm-cta-consult:hover { background: rgba(255,255,255,.2); }

/* POST CARD CTA (sau H2) */
.vm-inline-cta {
  margin: 20px 0;
  background: var(--vm-green-ultra);
  border: 1px solid var(--vm-green-light);
  border-left: 4px solid var(--vm-green);
  border-radius: 0 var(--vm-r-md) var(--vm-r-md) 0;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.vm-inline-cta-text { font-size: 14px; color: var(--vm-green-dark); font-weight: 500; }
.vm-inline-cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--vm-green); color: #fff;
  font-size: 13px; font-weight: 600; padding: 7px 16px;
  border-radius: var(--vm-r-sm); white-space: nowrap; flex-shrink: 0;
  transition: background .2s;
}
.vm-inline-cta-btn:hover { background: var(--vm-green-dark); }

/* RESPONSIVE HOME */
@media (max-width: 960px) {
  .vm-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .vm-hero-visual { display: none; }
  .vm-services-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-why-grid { grid-template-columns: 1fr; }
  .vm-why-visual { display: none; }
  .vm-news-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-countries-grid { grid-template-columns: repeat(4, 1fr); }
  .vm-trust-bar-inner { flex-wrap: wrap; }
  .vm-trust-item { min-width: 50%; border-right: none; border-bottom: 1px solid var(--vm-border); }
}
@media (max-width: 768px) {
  .vm-hero { padding: 48px 0 40px; }
  .vm-services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vm-news-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: 12px; padding-bottom: 8px;
  }
  .vm-news-grid::-webkit-scrollbar { display: none; }
  .vm-news-grid .vm-post-card { flex: 0 0 78vw; scroll-snap-align: start; }
  .vm-countries-grid { grid-template-columns: repeat(3, 1fr); }
  .vm-cta-banner-inner { flex-direction: column; }
  .vm-cta-actions { align-items: stretch; width: 100%; }
  .vm-cta-phone, .vm-cta-consult { justify-content: center; }
  .vm-trust-item { min-width: 100%; }
  .vm-hero-stats { gap: 20px; }
}
@media (max-width: 480px) {
  .vm-services-grid { grid-template-columns: 1fr; }
  .vm-countries-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-news-grid .vm-post-card { flex: 0 0 88vw; }
}
