/* ==============================================
   LabVV Homepage — Section Styles
   File: assets/css/home.css
   Only applies to .home (front page)
   ============================================== */

/* ---- Variables ---- */
.home {
  --navy:      #1A3557;
  --blue:      #2563EB;
  --blue-mid:  #1D4ED8;
  --blue-light:#EFF6FF;
  --orange:    #E67E22;
  --dark:      #111827;
  --body-text: #374151;
  --muted:     #6B7280;
  --border:    #E5E7EB;
  --bg:        #FFFFFF;
  --bg-soft:   #F9FAFB;
  --bg-blue:   #F0F5FF;
}

/* ---- Hero ---- */
.home .hero {
  background: var(--navy);
  padding: 140px 48px 100px;
  position: relative;
  overflow: hidden;
}
.home .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(37,99,235,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(37,99,235,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.home .hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.home .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.home .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}
.home .hero-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  display: block;
}
.home .hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.home .hero h1 strong { color: var(--orange); }
.home .hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.home .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.home .badge {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.home .hero-btns {
  display: flex;
  gap: 14px;
  align-items: center;
}
.home .btn-main {
  background: var(--blue);
  color: #fff;
  padding: 13px 30px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .15s;
}
.home .btn-main:hover { background: var(--blue-mid); transform: translateY(-1px); }
.home .btn-link {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.home .btn-link:hover { color: #fff; }

/* ---- Hero Stats Card ---- */
.home .hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 36px 32px;
}
.home .hero-card-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
}
.home .stat-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.home .stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.home .stat:last-child { border-bottom: none; padding-bottom: 0; }
.home .stat-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}
.home .stat-val sup { font-size: 18px; color: var(--orange); }
.home .stat-info { text-align: right; }
.home .stat-name {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.home .stat-note {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

/* ---- Trust Bar ---- */
.home .trust-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 16px 48px;
}
.home .trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.home .trust-label {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.home .trust-items {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.home .trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--body-text);
  font-weight: 500;
}
.home .trust-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ---- Shared Sections ---- */
.home .section { padding: 88px 48px; }
.home .section.bg-soft { background: var(--bg-soft); }
.home .section.bg-blue { background: var(--bg-blue); }
.home .wrap { max-width: 1200px; margin: 0 auto; }
.home .sec-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.home .sec-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.home .sec-lead {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}
.home .sec-head { margin-bottom: 52px; }
.home .sec-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.home .view-all {
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
  white-space: nowrap;
}
.home .view-all:hover { gap: 9px; }

/* ---- Product Grid ---- */
.home .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home .product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, border-color .25s, transform .2s;
}
.home .product-card:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.10);
  border-color: #BDD1F8;
  transform: translateY(-3px);
}
.home .prod-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.home .product-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.25;
}
.home .product-card ul { list-style: none; flex: 1; }
.home .product-card ul li {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.home .product-card ul li:last-child { border-bottom: none; }
.home .product-card ul li::before {
  content: '·';
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.home .prod-std {
  margin-top: 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--bg-blue);
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
}
.home .prod-link {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}
.home .prod-link:hover { gap: 9px; }

/* ---- Capabilities ---- */
.home .cap-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
}
.home .cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.home .cap-item {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--border);
}
.home .cap-item:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--border);
  padding-right: 0;
}
.home .cap-item:nth-last-child(-n+2) { border-bottom: none; }
.home .cap-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.home .cap-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.home .cap-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- Why LabVV ---- */
.home .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.home .why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s;
}
.home .why-card:hover { border-color: #BDD1F8; box-shadow: 0 4px 20px rgba(37,99,235,0.07); }
.home .why-icon { font-size: 26px; margin-bottom: 14px; }
.home .why-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 7px;
}
.home .why-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- Industries ---- */
.home .ind-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.home .ind-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 12px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.home .ind-item:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(37,99,235,0.09); }
.home .ind-icon { font-size: 26px; margin-bottom: 8px; }
.home .ind-item p {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ---- Services ---- */
.home .svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home .svc-card {
  padding: 32px 26px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  transition: box-shadow .2s;
}
.home .svc-card:hover { box-shadow: 0 6px 24px rgba(37,99,235,0.09); }
.home .svc-icon { font-size: 28px; margin-bottom: 16px; }
.home .svc-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.home .svc-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- Articles ---- */
.home .art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home .art-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: box-shadow .25s, transform .2s;
  background: var(--bg);
}
.home .art-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.09); transform: translateY(-3px); }
.home .art-thumb {
  height: 172px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home .art-thumb-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-family: 'DM Sans', sans-serif;
}
.home .thumb-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 9px;
  border-radius: 3px;
}
.home .th1 { background: linear-gradient(135deg, #1A3557 0%, #2563EB 100%); }
.home .th2 { background: linear-gradient(135deg, #0f2440 0%, #1A3557 100%); }
.home .th3 { background: linear-gradient(135deg, #1A3557 0%, #1D4ED8 100%); }
.home .art-body { padding: 22px 22px 24px; }
.home .art-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.home .art-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
}
.home .art-date { font-size: 11.5px; color: var(--muted); }
.home .art-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 9px;
}
.home .art-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.home .art-read {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---- CTA Strip ---- */
.home .cta-strip {
  background: var(--navy);
  padding: 72px 48px;
  text-align: center;
}
.home .cta-strip h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.home .cta-strip p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  margin-bottom: 34px;
}
.home .btn-blue {
  background: var(--blue);
  color: #fff;
  padding: 13px 30px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin: 0 8px;
  transition: opacity .2s, transform .15s;
}
.home .btn-blue:hover { opacity: .88; transform: translateY(-1px); }
.home .btn-outline {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  padding: 12px 28px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin: 0 8px;
  transition: border-color .2s;
}
.home .btn-outline:hover { border-color: rgba(255,255,255,0.7); }

/* ---- Scroll Reveal (disabled - always visible) ---- */
.home .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .home .hero-inner { grid-template-columns: 1fr; }
  .home .stat-row { flex-direction: row; }
  .home .stat {
    flex-direction: column;
    text-align: center;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.07);
    padding: 0 20px;
    flex: 1;
  }
  .home .stat:last-child { border-right: none; }
  .home .stat-info { text-align: center; margin-top: 6px; }
  .home .product-grid { grid-template-columns: 1fr 1fr; }
  .home .cap-layout { grid-template-columns: 1fr; gap: 40px; }
  .home .why-grid { grid-template-columns: 1fr 1fr; }
  .home .ind-grid { grid-template-columns: repeat(4, 1fr); }
  .home .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .home .product-grid,
  .home .why-grid,
  .home .svc-grid,
  .home .art-grid { grid-template-columns: 1fr; }
  .home .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .home .sec-head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}
