/* TilingSystems.css — full page layout (fixes broken absolute ribbons / feature rows) */
.ts-page-container {
  --accent: var(--royal-500, #2C67B3);
  --accent-pink: #db2777;
  --accent-orange: #ea580c;
  --accent-purple: #7c3aed;
  --accent-yellow: #ca8a04;
  position: relative;
  overflow-x: hidden;
}

/* Hero */
.ts-hero {
  position: relative;
  overflow: hidden;
}
.ts-hero-bg-blur {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(20,154,121,0.15), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(201,112,39,0.12), transparent 40%);
}
.ts-hero .ts-container { position: relative; z-index: 1; }
.ts-hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.ts-hero-main-img {
  width: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  box-shadow: var(--chem-shadow, 0 12px 32px rgba(11,37,69,0.10));
}
.ts-hero-img-card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(11,37,69,0.18);
  overflow: visible;
}
.ts-hero-img-card .ts-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--chem-navy, #0B2545), var(--chem-royal, #1B4F91));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
}
.ts-hero-img-card .ts-card-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--chem-ink, #33495F);
  font-weight: 600;
}

/* Soft section background — NEVER absolute */
.ts-bg-ribbons {
  position: relative !important;
  inset: auto !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  background:
    linear-gradient(180deg, #F7F9FB 0%, #EEF4FF 45%, #F7F9FB 100%);
  overflow: hidden;
}
.ts-bg-ribbons::before {
  content: none;
}

/* Featured product cards */
.ts-grid-v3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.ts-product-card-v3 {
  background: #fff;
  border: 1px solid var(--chem-line, #E1E7ED);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(11,37,69,0.06);
  position: relative;
  z-index: 1;
}
.ts-card-img-v3 {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: #0B2545;
}
.ts-card-body-v3 {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.ts-card-title-v3 {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--chem-navy, #0B2545);
  margin: 0;
}
.ts-card-desc-v3 {
  color: var(--chem-muted, #5B7186);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.ts-specs-benefits-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 6px 0 10px;
}
.ts-column-v3 h4 {
  font-size: 14px;
  color: var(--chem-navy, #0B2545);
  margin: 0 0 10px;
  font-weight: 800;
}
.ts-list-v3,
.ts-benefits-list-v3 {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ts-list-v3 li,
.ts-benefits-list-v3 li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--chem-line, #E1E7ED);
  font-size: 13.5px;
  color: var(--chem-ink, #33495F);
  line-height: 1.4;
}
.ts-list-v3 li:last-child,
.ts-benefits-list-v3 li:last-child { border-bottom: none; }
.ts-list-v3 i { color: var(--chem-royal, #1B4F91); font-size: 8px; margin-top: 6px; }
.ts-benefits-list-v3 i { color: var(--chem-emerald, #149A79); margin-top: 2px; }
.ts-card-footer-v3 { margin-top: auto; padding-top: 8px; }

/* Solution feature lines (NOT icon boxes) */
.ts-solution-feature-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ts-solution-feature,
p.ts-solution-feature {
  width: auto !important;
  height: auto !important;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--chem-ink, #33495F);
  line-height: 1.45;
}
.ts-solution-feature i {
  color: var(--chem-emerald, #149A79);
  margin-top: 2px;
}
.ts-solution-feature.pink i { color: var(--accent-pink); }
.ts-solution-feature.orange i { color: var(--accent-orange); }
.ts-solution-feature.purple i { color: var(--accent-purple); }

.ts-info-card i { font-size: 22px; margin-bottom: 12px; display: inline-block; }
.ts-info-card h3 { font-size: 16px; color: var(--chem-navy, #0B2545); margin-bottom: 8px; }
.ts-info-card p { font-size: 14px; color: var(--chem-muted, #5B7186); line-height: 1.55; margin: 0; }

.ts-why-card-title.pink { color: var(--accent-pink); }
.ts-why-card-title.orange { color: var(--accent-orange); }
.ts-why-card-title.purple { color: var(--accent-purple); }
.ts-why-card-title.yellow { color: var(--accent-yellow); }

@media (max-width: 900px) {
  .ts-grid-v3 { grid-template-columns: 1fr; }
  .ts-specs-benefits-row { grid-template-columns: 1fr; }
  .ts-hero-img-card { max-width: calc(100% - 32px); }
}
