.ranosys-gcc-models {
  --rsc-gcc-accent: #ff5b2e;
  --rsc-gcc-text-color: #1a1a1a;
  --rsc-gcc-text-muted: #4b5563;
  --rsc-gcc-border-color: #e5e7eb;
  position: relative;
  width: 100%;
  background: #ffffff;
  padding: 60px clamp(18px, 3.2vw, 64px);
  box-sizing: border-box;
}

.ranosys-gcc-models__container {
  max-width: 1350px;
  margin: 0 auto;
}

/* ---------------------------------------------------------------- */
/* Header                                                             */
/* ---------------------------------------------------------------- */
.ranosys-gcc-models__header {
  text-align: center;
  margin: 0 auto 56px;
}

.ranosys-gcc-models__label {
  display: inline-block;
  font-size: 1pc;
  font-family: Poppins, sans-serif !important;
  font-weight: 500 !important;
  color: #666 !important;
  letter-spacing: 2px !important;
  margin: 0 0 12px 0 !important;
  padding: 0 0 8px 0 !important;
  border-bottom: 1px solid #fe5907;
}

.ranosys-gcc-models__heading {
  font-family: Poppins, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.25;
  color: var(--rsc-gcc-text-color);
  margin: 0 0 14px;
}

.ranosys-gcc-models__subtitle,
.ranosys-gcc-models__description {
  color: #333;
  font-family: "source-sans-pro", sans-serif;
  font-size: 18px !important;
  line-height: 1.5 !important;
  max-width: 946px;
  margin-left: auto;
  margin-right: auto;
}

.ranosys-gcc-models__subtitle {
  font-weight: 600;
  margin-bottom: 18px;
}

.ranosys-gcc-models__description p {
  margin: 0 0 14px;
}

.ranosys-gcc-models__description p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- */
/* Card grid                                                          */
/* ---------------------------------------------------------------- */
.ranosys-gcc-models__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  gap: 0;
  align-items: stretch;
}

.ranosys-gcc-models__card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 6;
  background: #ffffff;
  border: 1px solid var(--rsc-gcc-border-color);
  padding: 40px;
  box-sizing: border-box;
  transition: background-color 0.35s ease;
}

.ranosys-gcc-models__card:hover,
.ranosys-gcc-models__card:focus-within {
  background-color: color-mix(in srgb, var(--rsc-gcc-accent) 6%, #ffffff);
}

/* Graceful fallback for browsers without CSS subgrid support:
   cards stack their own content instead of sharing row tracks,
   still equal height, just without the per-row alignment. */
@supports not (grid-template-rows: subgrid) {
  .ranosys-gcc-models__card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}

.ranosys-gcc-models__card-header {
  font-family: "source-sans-pro", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--rsc-gcc-text-muted);
  margin: 0 0 12px;
}

.ranosys-gcc-models__card-title {
  font-family: Poppins, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  color: var(--rsc-gcc-text-color);
  margin: 0 0 8px;
}

.ranosys-gcc-models__card-highlight {
  font-family: "source-sans-pro", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--rsc-gcc-accent);
  margin: 0;
}

.ranosys-gcc-models__card-divider {
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: var(--rsc-gcc-accent);
  margin: 14px 0 16px;
}

.ranosys-gcc-models__card-description {
  color: #333;
  font-family: "source-sans-pro", sans-serif;
  font-size: 18px !important;
  line-height: 1.5 !important;
  margin: 0 0 16px;
}

.ranosys-gcc-models__card-description p {
  margin: 0 0 12px;
}

.ranosys-gcc-models__card-description p:last-child {
  margin-bottom: 0;
}

.ranosys-gcc-models__card-best-for {
  margin-top: 0;
  padding-top: 16px;
  border-top: 1px solid var(--rsc-gcc-border-color);
}

.ranosys-gcc-models__card-best-for-label {
  display: inline;
  color: #333;
  font-family: "source-sans-pro", sans-serif;
  font-size: 18px !important;
  line-height: 1.5 !important;
  font-weight: 600;
  margin: 0 4px 0 0;
}

.ranosys-gcc-models__card-best-for-description,
.ranosys-gcc-models__card-best-for-description p {
  display: inline;
  color: #333;
  font-family: "source-sans-pro", sans-serif;
  font-size: 18px !important;
  line-height: 1.5 !important;
  margin: 0;
}

/* ---------------------------------------------------------------- */
/* Responsive                                                         */
/* ---------------------------------------------------------------- */
@media (max-width: 1200px) {
  .ranosys-gcc-models__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ranosys-gcc-models {
    padding: 64px clamp(16px, 5vw, 32px);
  }

  .ranosys-gcc-models__grid {
    grid-template-columns: 1fr;
  }

  .ranosys-gcc-models__heading {
    font-size: 30px;
  }

  .ranosys-gcc-models__card {
    padding: 28px;
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .ranosys-gcc-models__card {
    transition: none;
  }
}
