/* Feature card (single + cards in feature-cards-row) */

.t1-fc-card {
  --t1-fc-radius: var(--theme-radius, 12px);
  --t1-fc-shadow: var(--theme-shadow, 0 4px 18px rgba(15, 47, 44, 0.08));
  --t1-fc-shadow-hover: 0 14px 32px rgba(15, 47, 44, 0.14);

  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: calc(var(--t1-fc-radius) + 6px);
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: var(--t1-fc-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  color: var(--theme-text, #0f2f2c);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.t1-fc-card[data-fc-icon-position="center"] {
  text-align: center;
}

.t1-fc-card[data-fc-icon-position="center"] .t1-fc-body {
  text-align: center;
  align-items: center;
}

.t1-fc-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
  background: #e8eefc;
  color: var(--theme-secondary, #0f2f2c);
}

.t1-fc-card[data-fc-icon-shape="circle"] .t1-fc-icon-wrap {
  border-radius: 50%;
}

.t1-fc-card[data-fc-icon-position="center"] .t1-fc-icon-wrap {
  margin-inline: auto;
}

.t1-fc-icon-host {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.t1-fc-icon-host .t1-fc-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.t1-fc-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.t1-fc-title {
  font-family: var(--theme-font-family);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--theme-secondary, #0f2f2c);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.t1-fc-description {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--theme-muted, #5f6f69);
}

.t1-fc-cta {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--theme-primary, #00b72f);
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s ease;
}

.t1-fc-cta:hover {
  color: var(--theme-accent-dark, #008f25);
}

.t1-fc-cta[hidden] {
  display: none !important;
}

/* Hover: 3D lift */
.t1-fc-card[data-fc-hover="lift"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.09) !important;
}

/* Hover: vibrate */
@keyframes t1-fc-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-3px) rotate(-0.4deg);
  }
  40% {
    transform: translateX(3px) rotate(0.4deg);
  }
  60% {
    transform: translateX(-2px);
  }
  80% {
    transform: translateX(2px);
  }
}

.t1-fc-card[data-fc-hover="vibrate"]:hover {
  animation: t1-fc-shake 0.45s ease;
}

.t1-fc-card[data-fc-hover="both"]:hover {
  animation: t1-fc-shake 0.45s ease;
  transform: translateY(-6px);
  box-shadow: var(--t1-fc-shadow-hover);
}

.t1-fc-card[data-fc-hover="none"]:hover {
  transform: none;
  box-shadow: var(--t1-fc-shadow);
}

/* Row section */
.t1-fc-row {
  width: 100%;
  padding: var(--theme-section-spacing, 40px) 0;
  background: #fff !important;
}

.t1-fc-row-inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.t1-fc-section-title {
  font-family: var(--theme-font-serif) !important;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: var(--theme-hero-heading, #123a36);
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.t1-fc-section-title[hidden] {
  display: none !important;
}

.t1-fc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

@media (max-width: 1024px) {
  .t1-fc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .t1-fc-grid {
    grid-template-columns: 1fr;
  }
}

/* Optional: single card centered on page */
.t1-fc-card:only-child {
  max-width: 380px;
}