@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Roboto+Condensed:wght@400;700&display=swap');

/* Стиловете засягат само секцията с цените. */
.cm-prices {
  --cm-accent: #2ba8bd;
  --cm-ink: #222;
  --cm-muted: #606970;
  --cm-line: #e1e8ea;
  box-sizing: border-box;
  background: #fff;
  color: var(--cm-ink);
  font: 400 15px/1.7 'Open Sans', Arial, sans-serif;
  padding: 64px 20px;
  width: 100%;
}

.cm-prices *,
.cm-prices *::before,
.cm-prices *::after {
  box-sizing: border-box;
}

.cm-prices .cm-container {
  max-width: 1140px;
  margin: 0 auto;
}

.cm-prices .cm-intro {
  text-align: center;
  margin-bottom: 40px;
}

.cm-prices .cm-eyebrow {
  margin: 0 0 8px;
  color: #187a8b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cm-prices h2 {
  margin: 0;
  font: 400 clamp(36px, 5vw, 52px)/1.15
    'Roboto Condensed', Arial, sans-serif;
  color: var(--cm-ink);
}

.cm-prices .cm-intro h2::after {
  content: '';
  display: block;
  width: 58px;
  height: 3px;
  background: var(--cm-accent);
  margin: 20px auto;
}

.cm-prices .cm-subtitle {
  margin: 0;
  color: var(--cm-muted);
  font-size: 16px;
}

.cm-prices .cm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.cm-prices .cm-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--cm-line);
  border-top: 3px solid var(--cm-accent);
  border-radius: 3px;
  overflow: hidden;
}

.cm-prices .cm-card-title {
  padding: 23px 24px 17px;
}

.cm-prices h3 {
  margin: 0;
  color: var(--cm-ink);
  font: 400 25px/1.25 'Roboto Condensed', Arial, sans-serif;
}

.cm-prices .cm-caption {
  margin: 8px 0 0;
  color: var(--cm-muted);
  font-size: 13px;
  line-height: 1.6;
}

.cm-prices .cm-wide {
  grid-column: 1 / -1;
}

.cm-prices table {
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  width: 100%;
  margin: 0;
  background: #fff;
  font: inherit;
}

.cm-prices thead th {
  background: #f2f7f8;
  border: 0;
  padding: 11px 24px;
  font: 600 11px/1.5 'Open Sans', Arial, sans-serif;
  color: #53646a;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
}

.cm-prices thead th:last-child {
  width: 36%;
  text-align: right;
}

.cm-prices tbody th,
.cm-prices tbody td {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf0f1;
  padding: 14px 24px;
  vertical-align: middle;
  font: inherit;
}

.cm-prices tbody th {
  text-align: left;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.cm-prices tbody td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cm-prices tbody tr:last-child > * {
  border-bottom: 0;
}

.cm-prices tbody tr:nth-child(even) > * {
  background: #fcfdfd;
}

.cm-prices .cm-value {
  display: block;
  color: #187a8b;
  font: 700 23px/1.2 'Roboto Condensed', Arial, sans-serif;
  white-space: nowrap;
}

.cm-prices .cm-unit {
  display: block;
  margin-top: 4px;
  color: var(--cm-muted);
  font-size: 11px;
  line-height: 1.4;
}

.cm-prices .cm-negotiable {
  font-size: 18px;
  white-space: normal;
}

.cm-prices .cm-business {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 28px;
  background: #f2f9fa;
}

.cm-prices .cm-business p {
  margin: 9px 0 0;
  color: var(--cm-muted);
  max-width: 760px;
}

.cm-prices .cm-label {
  flex-shrink: 0;
  padding: 10px 15px;
  border: 1px solid #bbdfe5;
  background: #fff;
  color: #187a8b;
  font-weight: 600;
  font-size: 13px;
}

.cm-prices .cm-note {
  margin-top: 30px;
  padding: 23px 26px;
  background: #f5f5f5;
  border-left: 3px solid var(--cm-accent);
}

.cm-prices .cm-note p {
  margin: 0;
}

.cm-prices .cm-note strong {
  font-weight: 700;
}

@media (max-width: 760px) {
  .cm-prices {
    padding: 40px 14px;
  }

  .cm-prices .cm-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .cm-prices .cm-intro {
    margin-bottom: 28px;
  }

  .cm-prices .cm-card-title {
    padding: 20px 18px 16px;
  }

  .cm-prices .cm-business {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px;
    gap: 16px;
  }

  .cm-prices thead th,
  .cm-prices tbody th,
  .cm-prices tbody td {
    padding: 12px 16px;
  }

  .cm-prices h3 {
    font-size: 23px;
  }

  .cm-prices .cm-value {
    font-size: 22px;
  }

  .cm-prices .cm-negotiable {
    font-size: 17px;
  }

  .cm-prices .cm-note {
    padding: 20px;
  }
}

@media (max-width: 380px) {
  .cm-prices {
    font-size: 13px;
    padding-inline: 10px;
  }

  .cm-prices thead th,
  .cm-prices tbody th,
  .cm-prices tbody td {
    padding-inline: 12px;
  }

  .cm-prices .cm-value {
    font-size: 20px;
  }

  .cm-prices .cm-negotiable {
    font-size: 16px;
  }
}