/* ==========================================================================
   DIRECTNAVIGATOR — UNIFIED RELATED SERVICES MATRIX (Section 10)
   Matches the Google Ads section 10 design:
   - Left sidebar with badge, custom H2, lead, and waves banner
   - Right 2x3 matrix of service cards with official brand icons & animated arrow pills
   ========================================================================== */

.dv3-shell {
  width: min(calc(100% - (clamp(1rem, 2.35vw, 2.5rem) * 2)), 100rem) !important;
  max-width: 100rem !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

.gads-sec-related,
.dn-sec-related,
#related {
  background-color: #ffffff;
  padding: clamp(4.5rem, 6.5vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
}

.gads-related-wrap {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: stretch;
}

.gads-related-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 0;
}

.gads-related-sidebar__top {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
}

.gads-related-badge {
  display: none !important;
}

.gads-related-sidebar .gads-h2,
.gads-related-sidebar h2 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(2.2rem, 3.2vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0c1015;
  margin: 0;
  font-weight: 850;
}

.gads-green-accent {
  color: #16a34a;
}

.gads-related-sidebar .gads-lead,
.gads-related-sidebar p.gads-lead {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
  max-width: 32rem;
}

.gads-related-sidebar__waves {
  margin-top: auto;
  margin-bottom: 0;
  line-height: 0;
}

.gads-related-sidebar__waves img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  border-radius: 16px;
  vertical-align: bottom;
}

/* Right Matrix: 2x3 cards */
.gads-related-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
  height: 100%;
}

.gads-related-tile {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  box-sizing: border-box;
}

.gads-related-tile:hover {
  transform: translateY(-3px);
  border-color: #22c55e !important;
  box-shadow: 0 0 0 1px #22c55e,
              0 14px 34px -6px rgba(15, 23, 42, 0.11),
              0 6px 18px -4px rgba(34, 197, 94, 0.22) !important;
}

.gads-related-tile__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gads-related-tile__icon img,
.gads-related-tile__icon svg {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
}

.gads-related-tile__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-grow: 1;
  min-width: 0;
}

.gads-related-tile__title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 750;
  color: #0c1015;
  margin: 0;
  line-height: 1.25;
}

.gads-related-tile__desc {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 0.78rem;
  line-height: 1.42;
  color: #64748b;
  margin: 0;
}

.gads-related-tile__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #64ee3f !important;
  background: linear-gradient(135deg, #68ee3f 0%, #4ae328 100%) !important;
  border: 1px solid rgba(7, 25, 37, 0.06) !important;
  color: #071925 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(100, 238, 63, 0.45) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.22s ease,
              border-color 0.22s ease,
              color 0.22s ease,
              box-shadow 0.25s ease !important;
}

.gads-related-tile__arrow svg {
  width: 17px;
  height: 17px;
  display: block;
  stroke: #071925 !important;
  color: #071925 !important;
  transform: translate3d(0, 0, 0);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gads-related-tile:hover .gads-related-tile__arrow {
  background: #6cf023 !important;
  background: linear-gradient(135deg, #72f242 0%, #56e62e 100%) !important;
  border-color: rgba(7, 25, 37, 0.08) !important;
  color: #071925 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(100, 238, 63, 0.7) !important;
}

.gads-related-tile:hover .gads-related-tile__arrow svg {
  stroke: #071925 !important;
  color: #071925 !important;
  transform: translate(2px, -2px) !important;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
  .gads-related-wrap {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }
  .gads-related-sidebar {
    height: auto;
    min-height: auto;
  }
  .gads-related-sidebar__waves {
    margin-top: 1.5rem;
  }
  .gads-related-matrix {
    grid-template-rows: auto;
    height: auto;
  }
  .gads-related-tile {
    height: auto;
  }
}
@media (max-width: 768px) {
  .gads-related-matrix {
    grid-template-columns: 1fr;
  }
}
