/* ==========================================================================
   gutrdun_vx4 HOMEPAGE DESIGN SYSTEM: LAYOUT & GRID ARCHITECTURE
   pages/home/assets/css/home-layout.css
   ========================================================================== */

/* Section Spacing & Containers */
.vx-section {
  position: relative;
  padding: 5rem 0;
  width: 100%;
}


/* Section Header Structure */
.vx-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vx-section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.vx-section-subtitle {
  font-size: 1.05rem;
  color: var(--vx-text-muted);
  line-height: 1.6;
  margin: 0 auto;
}

.vx-section-header-full {
  max-width: none;
  width: 100%;
}

/* Section Light Alternation (High Contrast & Clean Surfaces) */
.vx-section-dark {
  background-color: var(--vx-brand-deep);
  color: var(--vx-text-body);
}

.vx-section-slate {
  background: linear-gradient(180deg, #091024 0%, #0d1733 100%);
  color: var(--vx-text-body);
}

.vx-section-light {
  background-color: #f8fafc;
  color: var(--vx-text-dark);
}

.vx-section-light h2,
.vx-section-light h3,
.vx-section-light h4 {
  color: var(--vx-text-dark);
}

.vx-section-light .vx-section-subtitle {
  color: #475569;
}

/* Category label sits above each trade block, top-left and enlarged */
.vx-trade-kicker {
  display: inline-flex !important;
  margin: 0.35rem 0 0.9rem 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  justify-content: flex-start !important;
  font-family: 'Caveat', cursive !important;
  font-size: 2.35rem !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none !important;
  line-height: 1;
  padding: 0.35rem 1.35rem 0.15rem !important;
  white-space: normal !important;
  max-width: 100% !important;
}

.vx-trade-kicker + .vx-trade-card,
.vx-trade-kicker + .vx-trade-panel {
  margin-top: 0;
  border-width: 1.5px;
  border-style: solid;
}

.vx-tone-siding {
  color: #4ade80 !important;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.28) 0%, rgba(22, 163, 74, 0.14) 100%) !important;
  border-color: #4ade80 !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.28);
}
.vx-tone-siding + .vx-trade-card,
.vx-tone-siding + .vx-trade-panel {
  border-color: #4ade80 !important;
  background: linear-gradient(165deg, rgba(22, 78, 48, 0.96) 0%, rgba(10, 36, 24, 0.98) 100%) !important;
}

.vx-tone-gutters {
  color: #c084fc !important;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28) 0%, rgba(147, 51, 234, 0.14) 100%) !important;
  border-color: #c084fc !important;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.28);
}
.vx-tone-gutters + .vx-trade-card,
.vx-tone-gutters + .vx-trade-panel {
  border-color: #c084fc !important;
  background: linear-gradient(165deg, rgba(58, 28, 92, 0.96) 0%, rgba(28, 14, 48, 0.98) 100%) !important;
}

.vx-tone-guards {
  color: #22d3ee !important;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.28) 0%, rgba(14, 165, 233, 0.14) 100%) !important;
  border-color: #22d3ee !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.28);
}
.vx-tone-guards + .vx-trade-card,
.vx-tone-guards + .vx-trade-panel {
  border-color: #22d3ee !important;
  background: linear-gradient(165deg, rgba(12, 62, 78, 0.96) 0%, rgba(8, 30, 42, 0.98) 100%) !important;
}

.vx-tone-windows {
  color: #60a5fa !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.28) 0%, rgba(37, 99, 235, 0.14) 100%) !important;
  border-color: #60a5fa !important;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28);
}
.vx-tone-windows + .vx-trade-card,
.vx-tone-windows + .vx-trade-panel {
  border-color: #60a5fa !important;
  background: linear-gradient(165deg, rgba(22, 48, 98, 0.96) 0%, rgba(10, 24, 52, 0.98) 100%) !important;
}

.vx-tone-storm {
  color: #facc15 !important;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.28) 0%, rgba(202, 138, 4, 0.14) 100%) !important;
  border-color: #facc15 !important;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.28);
}
.vx-tone-storm + .vx-trade-card,
.vx-tone-storm + .vx-trade-panel {
  border-color: #facc15 !important;
  background: linear-gradient(165deg, rgba(72, 54, 12, 0.96) 0%, rgba(36, 26, 8, 0.98) 100%) !important;
}

.vx-tone-roofing {
  color: #f87171 !important;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.28) 0%, rgba(225, 29, 72, 0.14) 100%) !important;
  border-color: #f87171 !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.28);
}
.vx-tone-roofing + .vx-trade-card,
.vx-tone-roofing + .vx-trade-panel {
  border-color: #f87171 !important;
  background: linear-gradient(165deg, rgba(82, 24, 32, 0.96) 0%, rgba(40, 12, 18, 0.98) 100%) !important;
}

/* Caption chips in trade media rows (On-Site Fabrication, Before & After, etc.) */
.vx-trade-media > .d-flex .badge {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.vx-tone-gutters + .vx-trade-card .vx-trade-media .badge {
  color: #f3e8ff !important;
  background: rgba(58, 28, 92, 0.92) !important;
  border: 1px solid #c084fc !important;
}

.vx-tone-guards + .vx-trade-card .vx-trade-media .badge {
  color: #ecfeff !important;
  background: rgba(12, 62, 78, 0.92) !important;
  border: 1px solid #22d3ee !important;
}

.vx-tone-siding + .vx-trade-card .vx-trade-media .badge {
  color: #f0fdf4 !important;
  background: rgba(22, 78, 48, 0.92) !important;
  border: 1px solid #4ade80 !important;
}

.vx-tone-storm + .vx-trade-card .vx-trade-media .badge {
  color: #fefce8 !important;
  background: rgba(72, 54, 12, 0.92) !important;
  border: 1px solid #facc15 !important;
}

.vx-tone-storm + .vx-trade-card .vx-trade-hotline-num {
  color: #fefce8;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.vx-tone-storm + .vx-trade-card .vx-trade-hotline-num:hover {
  color: #fde68a;
}

.vx-tone-windows + .vx-trade-card .vx-trade-media .badge {
  color: #eff6ff !important;
  background: rgba(22, 48, 98, 0.92) !important;
  border: 1px solid #60a5fa !important;
}

/* Multi-Trade Showcase Row Structure */
.vx-trade-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  background: #1a3058;
  border: 1.5px solid var(--vx-border-subtle);
  border-radius: 1.25rem;
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--vx-shadow-md);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: var(--vx-transition);
}

.vx-section-slate .vx-trade-panel {
  border-radius: 1.25rem;
  margin-bottom: 2.5rem;
}

.vx-trade-card:hover {
  box-shadow: var(--vx-shadow-lg);
  transform: translateY(-2px);
}

.vx-trade-content > h3 {
  margin-top: 0;
}

/* Match the heading to the photo top, below the media caption row */
.vx-trade-media > .d-flex:first-child {
  min-height: 2.8125rem;
  align-items: center;
}

.vx-trade-content {
  padding-top: calc(2.8125rem + 0.5rem);
}

.vx-trade-card.reverse {
  grid-template-columns: 1fr 1fr;
}

.vx-trade-card.reverse .vx-trade-media {
  order: 2;
}

.vx-trade-card.reverse .vx-trade-content {
  order: 1;
}

/* Multi-Column Feature & Review Grids */
.vx-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.vx-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.vx-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* Wave Separator */
.vx-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 2;
  margin-top: 3.5rem;
  margin-bottom: -2px;
}

.vx-wave-divider svg,
.vx-wave-svg {
  position: relative;
  display: block;
  width: 100%;
  height: 70px;
  vertical-align: bottom;
}
