/* ====================================== */
/* Banner / Hero */
/* ====================================== */

.banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: white;
  padding: 0 16px 64px;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .banner {
    padding: 0 24px 100px;
  }
}

@media (min-width: 1200px) {
  .banner {
    padding: 0 120px 240px;
  }
}

.banner__video {
  position: fixed;
  top: 0;
  right: -250px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.5) 5%,
    rgba(255, 255, 255, 0) 15%
  );
  z-index: 1;
}

.banner__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.banner__content {
  max-width: 560px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.banner__illustration {
  display: none;
}

.banner__eyebrow {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4d4d4d;
  margin-bottom: 16px;
  display: inline-block;
  border-bottom: 3px solid #fc0386;
  padding-bottom: 4px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.banner__title {
  font-family: var(--font-serif);
  font-size: 50px;
  font-weight: 300;
  line-height: 1.2;
  color: #191919;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

.banner__subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.38;
  color: #4d4d4d;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.banner__content .btn {
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
  opacity: 0;
}

@media (min-width: 1200px) {
  .banner__title {
    font-size: 62px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .banner__title {
    font-size: 44px;
  }
}

@media (max-width: 767px) {
  .banner__title {
    font-size: 34px;
    margin-bottom: 16px;
  }

  .banner__subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .banner__video {
    right: -100px;
  }
  .banner__title {
    font-size: 28px;
  }
}

@media (max-height: 480px) {
  .banner__content {
    max-width: none;
  }
}

/* ====================================== */
/* Section Base Styles */
/* ====================================== */

.section {
  padding: var(--spacing-2xl) var(--spacing-md);
  animation: fadeInUp 0.7s ease-out;
}

@media (min-width: 768px) {
  .section {
    padding: var(--spacing-2xl) var(--spacing-lg);
  }
}

@media (min-width: 1200px) {
  .section {
    padding: var(--spacing-2xl) 0;
  }
}

.section__title {
  margin: var(--spacing-lg) 0 var(--spacing-md) 0;
  animation: fadeInUp 0.6s ease-out 0.2s both;
  transition:
    color 0.3s ease-out,
    transform 0.3s ease-out;
  cursor: pointer;
}

.section__title:hover {
  color: var(--color-primary);
  transform: scale(1.02);
}

.section__desc {
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.section__desc:hover {
  color: var(--color-dark);
  opacity: 0.95;
}

.section--why-chubb {
  background: var(--color-bg-white-transparent);
  position: relative;
  z-index: 1;
}

/* Normalize horizontal alignment to match other sections (120px desktop) */
.section--why-chubb > .container,
.section--propositions > .container {
  padding: 0;
  max-width: 1440px;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .section--why-chubb,
  .section--propositions {
    padding: 64px 120px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .section--why-chubb,
  .section--propositions {
    padding: 48px 24px;
  }
}

@media (max-width: 767px) {
  .section--why-chubb,
  .section--propositions {
    padding: 48px 16px;
  }
}

.why-chubb__header {
  margin-bottom: 3rem;
}

.why-chubb__title {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: #4d4d4d;
  margin-bottom: 1rem;
  max-width: 100%;
}

.why-chubb__subtitle {
  color: #191919;
  font-size: 1rem;
  max-width: 1200px;
}

.why-chubb__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .why-chubb__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .why-chubb__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .why-chubb__grid .why-chubb__card:nth-child(-n + 3) {
    grid-column: span 2;
  }

  .why-chubb__grid .why-chubb__card:nth-child(4),
  .why-chubb__grid .why-chubb__card:nth-child(5) {
    grid-column: span 3;
  }
}

.why-chubb__card {
  background: #ffffff;
  box-shadow:
    0px 1px 2px rgba(0, 0, 0, 0.3),
    0px 1px 3px 1px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  overflow: hidden;
}

.why-chubb__card-stripe {
  height: 4px;
  background: #6526d9;
  width: 100%;
}

.why-chubb__card-content {
  padding: 1.5rem;
}

.why-chubb__card-number {
  font-family: "Chubb Publico App";
  font-style: italic;
  font-weight: 400;
  font-size: 3.875rem;
  line-height: 1;
  color: #6526d9;
  margin-bottom: 0.5rem;
}

.why-chubb__card-title {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.38;
  text-transform: uppercase;
  color: #4d4d4d;
  margin-bottom: 0.75rem;
}

.why-chubb__card-desc {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.38;
  color: #4d4d4d;
}

.section-label--eyebrow {
  color: #191919;
  background: transparent;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.75rem;
  display: inline-block;
}

.section-label--eyebrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #6526d9;
  animation: underlineExpand 0.8s ease-out 0.3s both;
}

/* ====================================== */
/* Propositions Section */
/* ====================================== */

.section--propositions {
  background: var(--color-light-bg);
  position: relative;
  z-index: 1;
}

.section--propositions .section__title {
  font-weight: 300;
}

.propositions__eyebrow {
  font-family: "Lato", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #191919;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.propositions__eyebrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #c41230;
  animation: underlineExpand 0.8s ease-out 0.3s both;
}

.propositions__card {
  flex: 0 0 265px;
  min-width: 265px;
  width: 265px;
  height: 340px;
  background: #ffffff;
  box-shadow:
    0px 1px 2px rgba(0, 0, 0, 0.3),
    0px 1px 3px 1px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.propositions__card:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

/* Card image — fills remaining height above the fixed body */
.propositions__card-image {
  flex: 1 1 0;
  overflow: hidden;
  display: block;
  min-height: 0;
}

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

/* Card body — fixed height at the bottom */
.propositions__card-body {
  flex: 0 0 138px;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  gap: 6px;
}

.propositions__card-header {
  padding: 0;
}

.propositions__card-title {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  color: #191919;
  margin: 0;
}

.propositions__card-count {
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  text-transform: uppercase;
  color: #666666;
  margin: 0;
}

.propositions__card-content {
  padding: 0;
  flex: 1;
  overflow: hidden;
}

.propositions__card-desc {
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #666666;
  margin: 0;
  display: none;
}

.propositions__card-footer {
  padding: 0;
  flex-shrink: 0;
}

.propositions__card-link {
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #191919;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease;
}

.propositions__card-link::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23191919' stroke-width='1.5'/%3E%3Cpath fill='none' stroke='%23191919' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M10 8l4 4-4 4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.propositions__card-link:hover {
  opacity: 0.7;
  text-decoration: none;
}

/* Override carousel defaults for propositions */
#propositions-carousel {
  margin: 0 0 32px 0;
}

#propositions-carousel .carousel__track {
  gap: 24px;
  padding: 16px 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

#propositions-carousel .carousel__track::-webkit-scrollbar {
  display: none;
}

.propositions__controls {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.propositions__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  height: 46px;
  white-space: nowrap;
  border: 1px solid #191919;
  background: transparent;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: #191919;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  box-sizing: border-box;
}

.propositions__view-all::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23191919' stroke-width='1.5'/%3E%3Cpath fill='none' stroke='%23191919' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M10 8l4 4-4 4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.propositions__view-all:hover {
  background: #191919;
  color: #ffffff;
  text-decoration: none;
}

.propositions__view-all:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M10 8l4 4-4 4'/%3E%3C/svg%3E");
}

.propositions__nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.propositions__nav-btn {
  width: 46px;
  height: 46px;
  border: 1px solid #191919;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #191919;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  padding: 0;
  box-sizing: border-box;
}

.propositions__nav-btn:hover {
  background: #191919;
  color: #ffffff;
}

/* Propositions section label override */

.carousel__card-description {
  font-size: 13px;
  color: #999;
  opacity: 0.85;
}

/* ====================================== */
/* Products Section */
/* ====================================== */

.section--products {
  background: var(--color-bg-white-transparent);
  padding: 64px 120px;
  position: relative;
  z-index: 1;
}

.products__container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Eyebrow with orange accent underline */
.products__eyebrow {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-transform: uppercase;
  color: #191919;
  display: inline-block;
  padding-bottom: 4px;
  position: relative;
  margin-bottom: 0;
}

.products__eyebrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ffa300;
}

.products__title {
  font-family: "Chubb Publico App", Georgia, serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 46px;
  color: #191919;
  margin: 0;
}

.products__desc {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #191919;
  margin: 0;
  max-width: 1200px;
}

/* Override carousel defaults for products */
#products-carousel {
  margin: 0;
}

/* Card track: override carousel defaults for products */
#products-carousel .carousel__track {
  gap: 24px;
  padding: 16px 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

#products-carousel .carousel__track::-webkit-scrollbar {
  display: none;
}

/* Card */
.products__card {
  flex: 0 0 384px;
  min-width: 384px;
  width: 384px;
  height: 640px;
  background: #ffffff;
  box-shadow:
    0px 1px 2px rgba(0, 0, 0, 0.3),
    0px 1px 3px 1px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.products__card:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  transform: none;
}

/* Card image — fills remaining height above the 178px body */
.products__card-image {
  flex: 1 1 0;
  overflow: hidden;
  display: block;
  min-height: 0;
}

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

/* Card body — fixed 178px at the bottom */
.products__card-body {
  flex: 0 0 178px;
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  gap: 16px;
}

.products__card-header {
  padding: 0 16px;
}

.products__card-title {
  font-family: "Lato", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
  color: #191919;
  margin: 0;
}

.products__card-content {
  padding: 0 16px;
  flex: 1;
  overflow: hidden;
}

.products__card-desc {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #4d4d4d;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products__card-footer {
  padding: 0 16px;
  flex-shrink: 0;
}

.products__card-link {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: #191919;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.products__card-link::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23191919' stroke-width='1.5'/%3E%3Cpath fill='none' stroke='%23191919' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M10 8l4 4-4 4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.products__card-link:hover {
  opacity: 0.7;
  text-decoration: none;
  color: #191919;
}

/* Bottom controls row */
.products__controls {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* "View all products" secondary outlined button */
.products__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  height: 46px;
  white-space: nowrap;
  border: 1px solid #191919;
  background: transparent;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: #191919;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  box-sizing: border-box;
}

.products__view-all::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23191919' stroke-width='1.5'/%3E%3Cpath fill='none' stroke='%23191919' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M10 8l4 4-4 4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.products__view-all:hover {
  background: #191919;
  color: #ffffff;
  text-decoration: none;
}

.products__view-all:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M10 8l4 4-4 4'/%3E%3C/svg%3E");
}

/* Navigation arrows */
.products__nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.products__nav-btn {
  width: 46px;
  height: 46px;
  border: 1px solid #191919;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #191919;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  padding: 0;
  box-sizing: border-box;
}

.products__nav-btn:hover {
  background: #191919;
  color: #ffffff;
}

/* Responsive overrides */
@media (max-width: 1199px) {
  .section--products {
    padding: 48px 24px;
  }
}

@media (max-width: 767px) {
  .section--products {
    padding: 48px 16px;
  }

  .products__card {
    flex: 0 0 300px;
    min-width: 300px;
    width: 300px;
    height: auto;
  }

  .products__card-body {
    flex: 0 0 auto;
  }

  .products__controls {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ====================================== */
/* Innovation Section */
/* ====================================== */

.section--innovation {
  background: #f2f2f2;
  padding: 64px 120px;
  position: relative;
  z-index: 1;
}

.section--innovation .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0;
  max-width: 1440px;
  margin: 0 auto;
}

.innovation__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.innovation__eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-self: flex-start;
}

.innovation__label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #191919;
  line-height: 22px;
  padding-bottom: 4px;
  border-bottom: 3px solid #6526d9;
}

.innovation__heading {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 300;
  color: #191919;
  line-height: 46px;
  margin: 0;
}

.innovation__desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #191919;
  line-height: 22px;
  margin: 0;
  max-width: 825px;
}

.innovation__read-more {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 40px;
  border: 1px solid #191919;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #191919;
  text-decoration: none;
  align-self: flex-start;
  cursor: pointer;
}

.innovation__read-more:hover {
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #191919;
}

.innovation__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.innovation__card {
  background: #ffffff;
  box-shadow:
    0px 1px 2px rgba(0, 0, 0, 0.3),
    0px 1px 3px 1px rgba(0, 0, 0, 0.15);
  border-top: 4px solid #6526d9;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
}

.innovation__card-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}

.innovation__card-icon {
  display: flex;
  align-items: center;
  width: 24px;
  height: 24px;
  color: #6526d9;
}

.innovation__card-icon svg {
  fill: #6526d9;
}

.innovation__card-subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #4d4d4d;
  line-height: 22px;
}

.innovation__card-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #4d4d4d;
  line-height: 22px;
  margin: 0;
  padding: 0 16px;
}

@keyframes innovation-card-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.innovation__card {
  animation: innovation-card-in 0.4s ease both;
  transition: all 0.3s ease;
}

.innovation__card:nth-child(1) {
  animation-delay: 0.05s;
}
.innovation__card:nth-child(2) {
  animation-delay: 0.15s;
}
.innovation__card:nth-child(3) {
  animation-delay: 0.25s;
}
.innovation__card:nth-child(4) {
  animation-delay: 0.35s;
}

.innovation__card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 4px 12px rgba(101, 38, 217, 0.2);
}

@media (max-width: 1199px) {
  .section--innovation {
    padding: 48px 24px;
  }

  .innovation__cards {
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .section--innovation {
    padding: 48px 16px;
  }

  .innovation__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .innovation__heading {
    font-size: 28px;
    line-height: 34px;
  }
}

/* ====================================== */
/* Integrations Section */
/* ====================================== */

.section--integrations {
  background: var(--color-light-bg);
  padding: 64px 120px;
  position: relative;
  z-index: 1;
}

.integrations__container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.integrations__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.integrations__eyebrow {
  display: inline-block;
  padding-bottom: 4px;
}

.integrations__label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #191919;
  line-height: 22px;
  padding-bottom: 4px;
  border-bottom: 3px solid #000ecc;
  display: inline-block;
}

.integrations__heading {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 300;
  color: #191919;
  line-height: 46px;
  margin: 0;
}

.integrations__desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #4d4d4d;
  line-height: 22px;
  margin: 0;
  max-width: 1058px;
}

.integrations__tab-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.integrations__tab {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px;
  gap: 8px;
  flex: 1;
  min-width: 160px;
  height: 80px;
  background: #f2f2f2;
  border: 1px solid #000066;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.integrations__tab--active {
  background: #000066;
}

.integrations__tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #000066;
}

.integrations__tab--active .integrations__tab-icon {
  color: #ffffff;
}

.integrations__tab-label {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  color: #000066;
}

.integrations__tab--active .integrations__tab-label {
  font-weight: 700;
  color: #ffffff;
}

.integrations__panels {
  display: flex;
  flex-direction: column;
}

.integrations__panel {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.integrations__panel--active {
  display: flex;
}

.integrations__panel-eyebrow {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000ecc;
  line-height: 22px;
}

.integrations__panel-heading {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 300;
  color: #191919;
  line-height: 40px;
  margin: 0;
}

.integrations__panel-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #191919;
  line-height: 22px;
  margin: 0;
  max-width: 916px;
}

.integrations__read-more {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 40px;
  border: 1px solid #191919;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #191919;
  text-decoration: none;
  align-self: flex-start;
  cursor: pointer;
  margin-top: 12px;
}

.integrations__read-more:hover {
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #191919;
}

@media (max-width: 1199px) {
  .section--integrations {
    padding: 48px 24px;
  }
}

@media (max-width: 767px) {
  .section--integrations {
    padding: 48px 16px;
  }

  .integrations__tab-row {
    flex-direction: column;
    gap: 8px;
  }

  .integrations__tab {
    width: 100%;
    height: auto;
    padding: 16px;
  }

  .integrations__heading {
    font-size: 28px;
    line-height: 34px;
  }

  .integrations__panel-heading {
    font-size: 24px;
    line-height: 30px;
  }
}

/* ====================================== */
/* Partners Section */
/* ====================================== */

.partners {
  padding: 64px 120px;
  background: var(--color-bg-white-transparent);
  position: relative;
  z-index: 2;
}

.partners__container {
  max-width: 1440px;
  margin: 0 auto;
}

.partners__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.partners__eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-self: flex-start;
}

.partners__label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #191919;
  line-height: 22px;
  padding-bottom: 4px;
  border-bottom: 3px solid #fc0386;
}

.partners__heading {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 300;
  color: #191919;
  line-height: 46px;
  margin: 0;
}

.partners__subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #191919;
  line-height: 22px;
  margin: 0;
}

.partners__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.partners__card {
  display: flex;
  flex-direction: row;
  background: #ffffff;
  box-shadow:
    0px 1px 2px rgba(0, 0, 0, 0.3),
    0px 1px 3px 1px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.partners__card[data-page="1"] {
  display: none;
}

.partners__card-image {
  flex: 0 0 50%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.partners__card-image img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.partners__card-image--dbs {
  background-color: #000000;
}

.partners__card-image--nubank {
  background-color: #820ad1;
}

.partners__card-image--mercado-libre {
  background-color: #ffe600;
}

.partners__card-image--shopee {
  background-color: #ee4d2d;
}

.partners__card-image--stanchart {
  background-color: #0066b3;
}

.partners__card-image--gcash {
  background-color: #007dff;
}

.partners__card-body {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0;
}

.partners__card-header {
  padding: 0 16px;
}

.partners__card-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.partners__card-name {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  color: #191919;
  line-height: 26px;
  margin: 0;
}

.partners__card-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid #191919;
  border-radius: 1000px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: #191919;
  line-height: 18px;
  white-space: nowrap;
}

.partners__card-content {
  padding: 0 16px;
  margin-top: 12px;
  flex-grow: 1;
}

.partners__card-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #4d4d4d;
  line-height: 22px;
  margin: 0;
}

.partners__card-footer {
  padding: 0 16px;
  margin-top: 16px;
}

.partners__card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #191919;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.partners__card-link:hover {
  color: #6e27c5;
}

.partners__card-link svg {
  flex-shrink: 0;
}

.partners__controls {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.partners__view-all {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  height: 46px;
  white-space: nowrap;
  border: 1px solid #191919;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #191919;
  box-sizing: border-box;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.partners__view-all:hover {
  background-color: #191919;
  color: #ffffff;
}

.partners__view-all span {
  white-space: nowrap;
}

.partners__view-all svg {
  flex-shrink: 0;
}

.partners__nav {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.partners__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #191919;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}

.partners__nav-btn:hover:not(.partners__nav-btn--disabled) {
  background-color: #191919;
}

.partners__nav-btn:hover:not(.partners__nav-btn--disabled) svg {
  color: #ffffff;
}

.partners__nav-btn--disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .partners {
    padding: 48px 24px;
  }
}

@media (max-width: 767px) {
  .partners {
    padding: 48px 16px;
  }

  .partners__heading {
    font-size: 28px;
    line-height: 34px;
  }

  .partners__card {
    flex-direction: column;
    height: auto;
  }

  .partners__card-image {
    flex: none;
    width: 100%;
    height: 200px;
  }

  .partners__card-body {
    flex: none;
    width: 100%;
  }

  .partners__controls {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ====================================== */
/* Footer (home page: stack above fixed video) */
/* ====================================== */

#footer-container {
  position: relative;
  z-index: 3;
}
