.amc-showcase {
  --amc-bg: #0B2D3A;
  --amc-card: #ffffff;
  --amc-text: #12202a;
  --amc-muted: #64748b;
  --amc-border: rgba(15, 23, 42, 0.12);
  --amc-accent: #38BDF8;
  --amc-accent-dark: #0B2D3A;
  width: 100%;
}

.amc-grid {
  display: grid;
  grid-template-columns: repeat(var(--amc-columns, 3), minmax(0, 1fr));
  gap: 24px;
}

.amc-card {
  background: var(--amc-card);
  border: 1px solid var(--amc-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.amc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
  border-color: rgba(56, 189, 248, 0.45);
}

.amc-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e7f6fb, #f8fafc);
  overflow: hidden;
}

.amc-image-button {
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: zoom-in;
}

.amc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.amc-card:hover .amc-card-image img {
  transform: scale(1.04);
}

.amc-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(11, 45, 58, 0.86);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
}

.amc-card-body {
  padding: 22px;
}

.amc-subtitle {
  margin-bottom: 8px;
  color: #0284c7;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.amc-card h3 {
  margin: 0 0 10px;
  color: var(--amc-text);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.18;
  font-weight: 800;
}

.amc-card p {
  margin: 0 0 18px;
  color: var(--amc-muted);
  font-size: 15px;
  line-height: 1.65;
}

.amc-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--amc-accent-dark);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.amc-quote-button:hover,
.amc-quote-button:focus {
  background: #064258;
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(11, 45, 58, 0.18);
}

.amc-no-image,
.amc-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #64748b;
  font-weight: 700;
}

.amc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.amc-filter {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
  text-decoration: none !important;
  font-weight: 700;
}

.amc-filter.is-active,
.amc-filter:hover {
  background: #0B2D3A;
  color: #fff;
  border-color: #0B2D3A;
}

.amc-pagination {
  margin-top: 30px;
}

.amc-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.amc-pagination a,
.amc-pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
  text-decoration: none !important;
  font-weight: 800;
}

.amc-pagination .current {
  background: #0B2D3A;
  color: #fff;
  border-color: #0B2D3A;
}

.amc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(8px);
}

.amc-lightbox.is-open {
  display: flex;
}

.amc-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

.amc-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

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

@media (max-width: 680px) {
  .amc-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .amc-card-body {
    padding: 18px;
  }

  .amc-quote-button {
    width: 100%;
  }
}
