/* SonicWall partner page */

:root {
  --sw-orange: #FF6E42;
  --sw-orange-dark: #d4431e;
  --sw-ink: #111;
}

.container-lp p {
  font-size: 1rem;
}

.vendor-color {
  color: var(--sw-orange);
}

body {
  overflow-x: hidden;
}

/* ── buttons ── */

.btn-theme {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8a63 0%, var(--sw-orange) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(255, 110, 66, 0.4);
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-theme:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(255, 110, 66, 0.5);
}

.btn-theme:focus-visible,
.read-more:focus-visible,
.next-wave-card:focus-visible {
  outline: 3px solid #ffb59c;
  outline-offset: 3px;
}

/* ── hero ── */

.sw-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56vh;
  padding: 90px 20px 110px;
  background:
      radial-gradient(60% 90% at 50% 100%, rgba(255, 110, 66, 0.28) 0%, transparent 70%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.7) 100%),
      url('/images/sonicwall/hero-homepage.webp') no-repeat center center / cover;
  text-align: center;
  color: #fff;
}

.sw-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.sw-hero-subtitle {
  max-width: 780px;
  margin: 1.5rem auto 0;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.sw-hero-tagline {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.75);
}

.scroll-indicator a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.scroll-indicator a:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.arrow-down {
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1;
  color: #fff;
  animation: bounce 1.6s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(4px);
  }
}

/* ── section headings ── */

.sw-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  color: var(--sw-ink);
}

/* ── next-wave cards ── */

.next-wave-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.next-wave-card:hover {
  transform: translateY(-5px);
  border-color: var(--sw-orange);
  box-shadow: 0 20px 40px rgba(255, 110, 66, 0.2);
}

.next-wave-img-wrapper {
  position: relative;
  overflow: hidden;
}

.next-wave-img-wrapper img {
  display: block;
  border-radius: 0 !important;
  transition: transform 0.5s;
}

.next-wave-card:hover .next-wave-img-wrapper img {
  transform: scale(1.05);
}

.next-wave-btn {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.8);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.next-wave-card:hover .next-wave-btn {
  background: var(--sw-orange);
}

.next-wave-category,
.next-wave-title,
.next-wave-desc {
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.next-wave-category {
  margin: 1.25rem 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sw-orange);
}

.next-wave-title {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sw-ink);
}

.next-wave-desc {
  flex-grow: 1;
  margin-bottom: 0;
  padding-bottom: 1.5rem;
  font-size: 0.95rem !important;
  line-height: 1.6;
  color: #4a4a4a;
}

/* ── product banners ── */

.product-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 40px 0;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.product-banner.firewalls {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.35) 100%),
      url('/images/sonicwall/banner.webp');
}

.product-banner.switches {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.35) 100%),
      url('/images/sonicwall/switches-banner.webp');
}

.banner-title {
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.banner-desc {
  font-size: 1rem !important;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.product-banner img {
  width: auto;
  max-width: 100%;
  max-height: 190px;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.5));
}

.product-banner .btn-theme {
  padding: 0.55rem 1.5rem;
  font-size: 0.95rem;
}

/* ── intro blocks ── */

.product-intro h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--sw-ink);
}

.product-intro h4 {
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sw-orange);
}

.product-intro p {
  max-width: 52rem;
  font-size: 1.05rem !important;
  line-height: 1.65;
  color: #4a4a4a;
}

/* ── product cards: flat, joined grid (as before) with refinements ── */

.sw-products > div + div .product-card {
  margin-left: -1px;
}

@media (min-width: 576px) {
  .sw-products > div:nth-child(n+3) .product-card {
    margin-top: -1px;
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.25s, background 0.25s;
}

.product-card:hover {
  z-index: 1;
  border-color: var(--sw-orange);
  box-shadow: 0 14px 30px rgba(255, 110, 66, 0.18);
}

.product-card img {
  height: 96px;
  margin-bottom: 1.25rem;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-tag {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4421b;
}

.product-title {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--sw-ink);
}

.product-desc {
  flex-grow: 1;
  margin-bottom: 1.1rem;
  font-size: 0.9375rem !important;
  line-height: 1.55;
  color: #444;
}

.read-more {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.35rem 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--sw-orange);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.read-more span {
  display: inline-block;
  margin-left: 4px;
  font-size: 1.2rem;
  vertical-align: middle;
  transition: transform 0.2s;
}

.read-more:hover {
  color: var(--sw-orange-dark);
  border-bottom-color: var(--sw-orange-dark);
}

.read-more:hover span {
  transform: translateX(4px);
}

.sw-group {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

@media (max-width: 767px) {
  .sw-hero {
    min-height: 0;
    padding: 60px 16px 100px;
  }

  .container-lp .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .sw-group {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .product-banner {
    padding: 32px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arrow-down {
    animation: none;
  }

  .btn-theme,
  .next-wave-card,
  .next-wave-img-wrapper img,
  .product-card,
  .product-card img,
  .read-more span {
    transition: none;
  }

  .next-wave-card:hover,
  .next-wave-card:hover .next-wave-img-wrapper img,
  .product-card:hover,
  .product-card:hover img,
  .btn-theme:hover,
  .read-more:hover span {
    transform: none;
  }
}

/* Hero logo */
.sw-hero-logo {
  display: block;
  width: auto;
  height: 40px;
  margin: 0 auto 1.75rem;
}
