/* TGC HOME PREMIUM V4 — controlled homepage refinements only
   Scope: product cards, white sections, service cards, navbar, floating RFQ. */

/* 1) Navbar refinement */
.nav {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 10px 30px rgba(15,23,42,.055) !important;
}
.nav-inner { height: 74px; }
.logo-mark {
  background: linear-gradient(135deg, #061827, #0A2540 60%, #0e5f88) !important;
  box-shadow: 0 10px 22px rgba(6,24,39,.14);
}
.nav-link:hover { background: rgba(14,124,159,.075) !important; }
.nav-cta {
  background: linear-gradient(135deg, #0A2540, #0e5f88) !important;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 22px rgba(14,95,136,.18);
}

/* 2) White sections: less flat, more premium separation */
.section {
  position: relative;
  padding: 92px 0;
}
.section:not(.section-dark):not(.cta) {
  background:
    radial-gradient(circle at 12% 0%, rgba(14,124,159,.035), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}
.section.section-alt {
  background:
    radial-gradient(circle at 86% 8%, rgba(14,124,159,.06), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #f3f6f9 100%) !important;
  border-top: 1px solid rgba(15,23,42,.06);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.section-head {
  margin-bottom: 44px;
}
.section-head h2,
.section-header-split h2 {
  letter-spacing: -.015em;
}
.section-head p,
.section-header-split .lead {
  color: #5f6b76;
}
.section-header-split {
  align-items: end;
  margin-bottom: 34px;
}
.side-meta {
  border: 1px solid rgba(15,23,42,.08) !important;
  background: rgba(255,255,255,.74) !important;
  box-shadow: 0 12px 34px rgba(15,23,42,.055);
  backdrop-filter: blur(10px);
}

/* 3) Product Category Cards redesign */
.grid-4 > .product-card {
  min-width: 0;
}
.product-card {
  border-radius: 14px !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 14px 36px rgba(15,23,42,.07) !important;
  overflow: hidden !important;
}
.product-card::after {
  height: 3px !important;
  background: linear-gradient(90deg, #0A2540, #0E7C9F, #67E8F9) !important;
}
.product-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 22px 46px rgba(15,23,42,.11) !important;
  border-color: rgba(14,124,159,.28) !important;
}
.product-card-img {
  aspect-ratio: 16 / 10 !important;
  min-height: 188px;
  padding: 22px !important;
  background:
    radial-gradient(circle at 50% 20%, rgba(14,124,159,.07), transparent 50%),
    linear-gradient(180deg, #fbfcfd 0%, #eef3f7 100%) !important;
}
.product-card-img img {
  max-height: 172px !important;
  filter: drop-shadow(0 12px 20px rgba(15,23,42,.13)) !important;
}
.product-card-img-tag {
  top: 12px !important;
  inset-inline-start: 12px !important;
  border-radius: 999px !important;
  padding: 5px 11px !important;
  color: #0A2540 !important;
  background: rgba(255,255,255,.86) !important;
  border: 1px solid rgba(14,124,159,.18) !important;
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
  backdrop-filter: blur(8px);
  font-size: 10px !important;
}
.product-card-body {
  padding: 20px 20px 18px !important;
}
.product-card-body h3 {
  font-size: 16.5px !important;
  margin-bottom: 8px !important;
  color: #0f172a !important;
}
.product-card-body p {
  font-size: 13px !important;
  line-height: 1.85 !important;
  margin-bottom: 12px !important;
  color: #5f6b76 !important;
}
.product-card-specs {
  margin-bottom: 14px !important;
  padding: 9px 11px !important;
  background: linear-gradient(180deg, #f8fafc, #f2f6f9) !important;
  border: 1px solid rgba(15,23,42,.07) !important;
  border-radius: 8px !important;
}
.product-card-actions .btn {
  border-radius: 8px !important;
  padding: 8px 12px !important;
  min-height: 38px;
}
.product-card[style] { grid-column: span 2; }

/* 4) Service cards: stronger industrial card language */
.grid-4 > .card {
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.94)) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.06) !important;
  padding: 26px 24px !important;
}
.grid-4 > .card::before {
  height: 4px !important;
  background: linear-gradient(90deg, #0A2540, #0E7C9F) !important;
}
.grid-4 > .card:hover {
  border-color: rgba(14,124,159,.26) !important;
  box-shadow: 0 22px 44px rgba(15,23,42,.10) !important;
}
.grid-4 > .card .card-num {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid rgba(14,124,159,.18);
  background: rgba(224,242,254,.54);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px !important;
}
.grid-4 > .card h3 { font-size: 16.5px !important; margin-bottom: 8px !important; }
.grid-4 > .card p { font-size: 13px !important; color: #5f6b76 !important; line-height: 1.9 !important; }

/* 5) Floating RFQ refinement */
.floating-rfq {
  bottom: 22px !important;
  inset-inline-end: 22px !important;
  padding: 11px 16px !important;
  font-size: 12.5px !important;
  border-radius: 999px !important;
  background: rgba(10,37,64,.94) !important;
  border: 1px solid rgba(103,232,249,.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(6,24,39,.26) !important;
}
.floating-rfq svg { width: 15px !important; height: 15px !important; }

@media (max-width: 1024px) {
  .product-card[style] { grid-column: auto !important; }
}
@media (max-width: 768px) {
  .nav { background: rgba(255,255,255,.96) !important; }
  .section { padding: 62px 0 !important; }
  .section-head { margin-bottom: 30px !important; }
  .section-header-split { margin-bottom: 24px !important; }
  .product-card { border-radius: 12px !important; }
  .product-card-img { min-height: 160px; aspect-ratio: 16 / 9 !important; padding: 18px !important; }
  .product-card-img img { max-height: 138px !important; }
  .product-card-body { padding: 17px 16px 16px !important; }
  .product-card-actions { gap: 7px !important; }
  .product-card-actions .btn { font-size: 12.3px !important; padding: 7px 9px !important; }
  .grid-4 > .card { padding: 22px 20px !important; }
  .floating-rfq {
    bottom: 16px !important;
    inset-inline-end: 16px !important;
    padding: 10px 13px !important;
    font-size: 12px !important;
  }
}
@media (max-width: 480px) {
  .product-card-actions { flex-direction: row !important; }
  .floating-rfq { max-width: calc(100vw - 32px); }
}
