/* ============================================================
   VoltPack Contact Card – Stylesheet
   Font: Inter (400 / 500 / 600) via Google Fonts
   Breakpoint: 640px  (tablet / desktop vs mobile)
   Fixed brands strip: screens ≥ 890px tall
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Page Wrapper ── */
.page-wrapper {
  background-color: #efefef;
  background-image: url('images/pattern-bolt.png');
  background-repeat: repeat;
  background-size: 64px 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-bottom: 50px;
  padding-top: 28px;
  position: relative;
  isolation: isolate;
}

/* On short screens: enable scroll, remove bottom padding */
@media (max-height: 890px) {
  .page-wrapper {
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 0;
  }
}

/* ── Card Container ── */
.card-container {
  position: relative;
  width: 100%;
  z-index: 2;
  margin-bottom: -50px;  /* overlap into brands strip area */
}

.card-outer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.card-padder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  width: 100%;
}

/* ── White Card ── */
.card {
  background: #ffffff;
  flex: 1;
  max-width: 434px;
  position: relative;
  box-shadow:
    0px 43px 33px 0px rgba(0,0,0,0.03),
    0px 27.87px 19.326px 0px rgba(0,0,0,0.02),
    0px 16.563px 10.511px 0px rgba(0,0,0,0.02),
    0px 8.6px 5.363px 0px rgba(0,0,0,0.01),
    0px 3.504px 2.689px 0px rgba(0,0,0,0.01),
    0px 0.796px 1.299px 0px rgba(0,0,0,0.01);
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 32px 24px;
  width: 100%;
}

/* ── VoltPack Logo ── */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.voltpack-logo {
  width: 215px;
  height: 54px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-layer {
  position: absolute;
}

/* ── Category Grid Wrapper ── */
.category-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 100%;
}

/* Desktop grid: hidden on mobile, shown on ≥640px */
.grid-desktop {
  display: none;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Mobile grid: shown on mobile, hidden on ≥640px */
.grid-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

@media (min-width: 640px) {
  .grid-desktop { display: flex; }
  .grid-mobile  { display: none;  }
}

/* Row of two desktop cards */
.grid-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

/* ── Base card styles ── */
.card-blue {
  background-color: #002957;
  transition: background-color 0.2s ease;
  cursor: pointer;
  display: block;
}
.card-blue:hover { background-color: #003678; }

.card-red {
  background-color: #c61236;
  transition: background-color 0.2s ease;
  cursor: pointer;
  display: block;
}
.card-red:hover { background-color: #a50f2d; }

/* ── Desktop Card ── */
.card-desktop {
  flex: 1;
  height: 80px;
  position: relative;
  min-width: 0;
}

.cd-body {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px 16px 20px 20px;
  width: 100%;
  height: 100%;
}

.cd-text-wrap {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: flex-end;
  min-width: 0;
}

.cd-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  flex: 1;
}

.cd-text-bold {
  font-weight: 600;
}

.cd-arrow {
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
  flex-shrink: 0;
}

/* Price icon in desktop price card (absolute top-right) */
.price-icon {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.price-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Mobile Card ── */
.card-mobile {
  width: 100%;
  position: relative;
}

.cm-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 20px;
  width: 100%;
}

.cm-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  flex: 1;
}

.cm-text-bold {
  font-weight: 600;
}

.price-icon-sm {
  width: 24px;
  height: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.price-icon-sm svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Arrow Icon ── */
.arrow-icon {
  width: 16px;
  height: 16px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
}

.arrow-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Hover: arrow moves 3px right and 3px up */
.card-blue:hover .arrow-icon,
.card-red:hover .arrow-icon {
  transform: translateX(3px) translateY(-3px);
}

/* ── Social Row ── */
.social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.social-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.social-group-left {
  align-items: flex-start;
  width: 160px;
}

.social-group-right {
  align-items: flex-end;
  width: 122px;
}

.social-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #000000;
  width: 100%;
}

.social-label-right {
  text-align: right;
}

.social-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-icon-link {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.social-icon-link:hover {
  opacity: 0.85;
}

.social-icon-link svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Contact Rows ── */
.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
}

.contact-row {
  height: 54px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  border: 1px solid #bbbbbb;
}

.contact-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  width: 100%;
  height: 100%;
}

.contact-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  text-align: center;
  white-space: nowrap;
}

/* Email / Phone icon – hidden on mobile, visible on tablet/desktop */
.contact-icon {
  position: absolute;
  right: 20px;
  top: 15px;
  width: 24px;
  height: 24px;
  display: none;
}

@media (min-width: 640px) {
  .contact-icon { display: block; }
}

/* ── Website Button ── */
.website-btn {
  background-color: #002957;
  height: 54px;
  position: relative;
  width: 100%;
  display: block;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.website-btn:hover {
  background-color: #003678;
}

.website-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}

/* Arrow icon on website button */
.arrow-icon-white {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 16px;
  height: 16px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.website-btn:hover .arrow-icon-white {
  transform: translateX(3px) translateY(-3px);
}

/* ── Brands Strip ── */
.brands-strip-wrapper {
  background: #ffffff;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.brands-strip {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 10px 32px;
  width: 100%;
}

/* On tall screens (≥890px): fix brands strip to bottom */
@media (min-height: 890px) {
  .brands-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -10;
  }
}

.brands-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.brand-logo {
  position: relative;
  flex-shrink: 0;
}

.brand-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
