/* =========================================================================
   DAWGS Solutions Carousel — self-contained styles
   Drop this file in and load it on any page. All brand tokens are scoped to
   the .dawgs-solutions wrapper below, so nothing leaks into the host page.
   Fonts: Barlow (body) + Rockwell Extra Bold (display) — load via the host
   page. Barlow is on Google Fonts; a fallback stack is provided.
   ========================================================================= */

.dawgs-solutions {
  /* Brand tokens (from the DAWGS design system) */
  --dawgs-charcoal: #2f302f;
  --dawgs-gray-soft: #f4f4f4;
  --dawgs-border: #d1d3d4;
  --dawgs-teal-dark: #008ab0;
  --dawgs-teal-bright: #00b6de;
  --dawgs-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --dawgs-radius-lg: 8px;
  --dawgs-radius-full: 9999px;
  --dawgs-shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --dawgs-shadow-lg: 0 8px 24px rgba(0,0,0,0.15);

  background: var(--dawgs-gray-soft);
  padding: 130px 0;
  font-family: var(--dawgs-body);
}
.dawgs-solutions *, .dawgs-solutions *::before, .dawgs-solutions *::after { box-sizing: border-box; }
.dawgs-solutions .wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.dawgs-solutions img { max-width: 100%; display: block; }

/* Section heading */
.dawgs-solutions .sec-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.dawgs-solutions .eyebrow {
  color: #ed2628; font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; margin: 0;
}
.dawgs-solutions .sec-head h2 {
  font-family: "Rockwell Extra Bold", "Rockwell", Georgia, serif; font-weight: 400;
  font-size: clamp(36px, 3.8vw, 50px); margin: 16px 0 0; color: var(--dawgs-charcoal);
  line-height: 1.05;
}

/* Carousel shell */
.sol-carousel { position: relative; }
.sol-track {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 6px 2px 14px; margin: 0 -2px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.sol-track::-webkit-scrollbar { display: none; }
.sol-track .sol-card { flex: 0 0 calc((100% - 56px) / 3); scroll-snap-align: start; }

/* Nav arrows */
.sol-nav {
  position: absolute; top: calc((100% - 66px) * 0.28); transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: var(--dawgs-radius-full);
  background: #fff; border: 1px solid var(--dawgs-border); box-shadow: var(--dawgs-shadow-md);
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3;
  color: var(--dawgs-charcoal); transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.sol-nav:hover:not(:disabled) { background: var(--dawgs-charcoal); color: #fff; }
.sol-nav svg { width: 22px; height: 22px; }
.sol-nav.prev { left: -22px; }
.sol-nav.next { right: -22px; }
.sol-nav:disabled { opacity: 0; pointer-events: none; }

/* Card */
.sol-card {
  background: #fff; border: 1px solid var(--dawgs-border); border-radius: var(--dawgs-radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.sol-card:hover { box-shadow: var(--dawgs-shadow-lg); transform: translateY(-3px); }
.sol-card .photo { aspect-ratio: 4 / 3; overflow: hidden; }
.sol-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.sol-card .bd { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.sol-card h3 { font-size: 21px; font-weight: 700; margin: 0 0 10px; color: var(--dawgs-charcoal); font-family: var(--dawgs-body); }
.sol-card p { font-size: 15px; line-height: 1.65; color: #55584f; margin: 0 0 24px; }
.sol-card .text-link { margin-top: auto; }

/* Text link */
.dawgs-solutions .text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dawgs-teal-dark); text-decoration: none;
}
.dawgs-solutions .text-link svg { width: 16px; height: 16px; }
.dawgs-solutions .text-link:hover { color: var(--dawgs-teal-bright); }

/* Footer button */
.sol-foot { text-align: center; margin-top: 56px; }
.dawgs-solutions .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--dawgs-body); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  border: none; border-radius: 6px; padding: 16px 28px; cursor: pointer;
  white-space: nowrap; text-decoration: none;
}
.dawgs-solutions .btn svg { width: 18px; height: 18px; }
.dawgs-solutions .btn-charcoal { background: var(--dawgs-charcoal); color: #fff; }
.dawgs-solutions .btn-charcoal:hover { background: #000; color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .dawgs-solutions { padding: 84px 0; }
  .dawgs-solutions .wrap { padding: 0 24px; }
  .sol-track .sol-card { flex: 0 0 82%; }
  .sol-nav { display: none; }
}
