/* Vertiv vendor page (partner/vertiv.php) */

:root {
  --vtv-orange: #FD5B1B;
  --vtv-orange-dark: #d44c15;
  --vtv-dark: #1a1a2e;
  --vtv-text: #4a4f5c;
  --vtv-light: #f5f6f9;
  --vtv-radius: 18px;
  --vtv-shadow: 0 10px 30px rgba(26, 26, 46, 0.1);
}

body {
  overflow-x: hidden;
}

.vtv-accent {
  color: var(--vtv-orange);
}

.vtv-light {
  background: var(--vtv-light);
}

.vtv-section {
  padding: 4.5rem 0;
}

.vtv-head {
  margin-bottom: 2.5rem;
  text-align: center;
}

.vtv-h1 {
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.vtv-h2 {
  margin: 0;
  color: var(--vtv-dark);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.vtv-h3 {
  margin-bottom: 0.6rem;
  color: var(--vtv-dark);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.vertiv-page p {
  font-size: 1rem;
  line-height: 1.7;
}

/* hero */
.vtv-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 480px;
  background: #111 url('/images/vertiv/1600x700_annual-report-render_image-8-with-screens.webp') center bottom / cover no-repeat;
}

.vtv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 20, 0.9) 0%, rgba(10, 10, 20, 0.6) 60%, rgba(10, 10, 20, 0.25) 100%);
}

.vtv-hero .container {
  position: relative;
  z-index: 1;
}

.vertiv-page .vtv-hero p {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

/* buttons */
.vtv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border: 2px solid var(--vtv-orange);
  border-radius: 999px;
  background: var(--vtv-orange);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.vtv-btn:hover {
  border-color: var(--vtv-orange-dark);
  background: var(--vtv-orange-dark);
  color: #fff;
}

.vtv-btn i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.vtv-btn:hover i {
  transform: translateX(4px);
}

.vtv-btn:focus-visible,
.vtv-pill:focus-visible,
.vtv-tile:focus-visible {
  outline: 3px solid #ffb899;
  outline-offset: 3px;
}

/* category cards */
.vtv-cat {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #eceef3;
  border-radius: var(--vtv-radius);
  background: #fff;
  box-shadow: var(--vtv-shadow);
}

.vtv-cat-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.vtv-cat-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vtv-cat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
}

.vtv-fold {
  flex: 1;
  width: 100%;
  margin-bottom: 1.25rem;
}

.vtv-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-top: 1px solid #e8ebf1;
  color: var(--vtv-dark);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.vtv-fold summary::-webkit-details-marker {
  display: none;
}

.vtv-fold summary::after {
  content: '\f078';
  color: var(--vtv-orange);
  font-family: 'Font Awesome 6 Free';
  font-size: 0.7rem;
  font-weight: 900;
  transition: transform 0.2s;
}

.vtv-fold[open] summary::after {
  transform: rotate(180deg);
}

.vtv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.vtv-pill {
  padding: 0.3rem 0.8rem;
  border: 1px solid #e3e6ed;
  border-radius: 999px;
  background: #fff;
  color: var(--vtv-dark);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.vtv-pill:hover {
  border-color: var(--vtv-orange);
  background: var(--vtv-orange);
  color: #fff;
}

/* featured products */
.vtv-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--vtv-radius);
  background: #fff;
  box-shadow: var(--vtv-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.vtv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(253, 91, 27, 0.18);
}

.vtv-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid #eef0f4;
}

.vtv-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.vtv-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
}

.vtv-kicker {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--vtv-orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vertiv-page .vtv-card-body p {
  flex: 1;
  margin-bottom: 1.25rem;
  color: var(--vtv-text);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* industries and offerings */
.vtv-tabs {
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.vtv-tabs .nav-link {
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  background: var(--vtv-light);
  color: var(--vtv-dark);
  font-weight: 700;
}

.vtv-tabs .nav-link:hover {
  background: #eceef3;
}

.vtv-tabs .nav-link.active {
  background: var(--vtv-orange);
  color: #fff;
}

.vtv-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--vtv-radius);
  background: #111;
  cursor: pointer;
  box-shadow: var(--vtv-shadow);
}

.vtv-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.vtv-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 20, 0.88) 100%);
}

.vtv-tile span {
  position: absolute;
  right: 0.9rem;
  bottom: 0.8rem;
  left: 0.9rem;
  z-index: 1;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.vtv-tile:hover img {
  transform: scale(1.06);
}

@media (max-width: 767px) {
  .vtv-section {
    padding: 2.75rem 0;
  }

  .vtv-hero {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .vtv-btn,
  .vtv-btn i,
  .vtv-pill,
  .vtv-card,
  .vtv-tile img,
  .vtv-fold summary::after {
    transition: none;
  }

  .vtv-card:hover,
  .vtv-btn:hover i,
  .vtv-tile:hover img {
    transform: none;
  }
}

/* Hero logo */
.vtv-hero-logo {
  display: block;
  width: auto;
  height: 44px;
  margin: 0 0 1.5rem;
}

