/* Блок «концепції»: плитки + панель з деталями. Колір бренду — через --c на плитці й панелі. */
.concepts {
  margin-top: 48px;
  font-family: Montserrat, sans-serif;
  color: var(--blue);
}

.concept-group {
  margin-top: 56px;
}

.concept-group__title {
  margin-bottom: 24px;
  text-transform: uppercase;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.concept-tile {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.concept-tile:hover {
  transform: translateY(-3px);
}

.concept-tile:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.concept-tile[aria-expanded="true"] {
  border-color: var(--c);
  box-shadow: 0 0 0 3px var(--c);
}

.concept-tile__logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 92px;
  padding: 18px 22px;
  color: var(--white);
  background: var(--c);
}

.concept-tile__name {
  font-family: Corsairpe Rg, sans-serif;
  font-size: 30px;
  line-height: 32px;
}

.concept-tile__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.concept-tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 18px 22px 20px;
}

.concept-tile__tag {
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.concept-tile__facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.concept-tile__facts span {
  display: flex;
  flex-direction: column;
}

.concept-tile__facts i,
.concept-stats i {
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

.concept-tile__facts b {
  font-family: Corsairpe Rg, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
}

.concept-tile__more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--c);
}

.concept-tile__more::after {
  content: " ↓";
}

.concept-tile[aria-expanded="true"] .concept-tile__more::after {
  content: " ↑";
}

/* Панель з деталями */
.concept-panel {
  margin-top: 24px;
  overflow: hidden;
  scroll-margin-top: 90px;
  background: var(--white);
  border: 2px solid var(--c);
  border-radius: 24px;
}

.concept-panel[hidden] {
  display: none;
}

.concept-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  color: var(--white);
  background: var(--c);
}

.concept-panel__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.concept-panel__name {
  margin: 4px 0 6px;
  font-family: Corsairpe Rg, sans-serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 46px;
}

.concept-panel__tag {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

.concept-panel__close {
  flex: none;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
  color: var(--white);
  cursor: pointer;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.concept-panel__body {
  padding: 32px;
}

.concept-panel__intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: center;
}

.concept-photo {
  aspect-ratio: 4 / 3;
  background: color-mix(in srgb, var(--c) 12%, white);
  border-radius: 16px;
}

.concept-panel__headline {
  margin: 0 0 16px;
  font-family: Corsairpe Rg, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 40px;
}

.concept-panel__intro p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.concept-theses {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.concept-theses li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0 0;
  background: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  border-top: 2px solid var(--c);
}

.concept-theses b {
  font-family: Corsairpe Rg, sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--c);
}

.concept-panel__sub {
  margin: 40px 0 16px;
  font-family: Corsairpe Rg, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 32px;
  color: var(--pink);
  text-transform: uppercase;
}

.concept-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.concept-stats div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--c) 8%, white);
  border-top: 4px solid var(--c);
  border-radius: 12px;
}

.concept-stats b {
  font-family: Corsairpe Rg, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 30px;
}

.concept-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 28px;
}

.concept-cols h5 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

.concept-cols p,
.concept-cols li {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.concept-cols p {
  margin: 0 0 12px;
}

.concept-cols .concept-note {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.75;
}

.concept-cols ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.concept-cols li {
  padding: 0 0 8px 34px;
  background-size: 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--blue) 15%, white);
}

.concept-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  margin-top: 32px;
}

.concept-cta__btn {
  padding: 16px 32px;
  font-family: Corsairpe Rg, sans-serif;
  font-size: 22px;
  color: var(--white);
  text-decoration: none;
  background: var(--c);
  border-radius: 20px;
}

.concept-cta__btn:hover {
  filter: brightness(1.1);
}

.concept-cta p {
  flex: 1;
  min-width: 220px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.75;
}

@media screen and (max-width: 991px) {
  .concept-theses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .concept-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .concept-panel__head,
  .concept-panel__body {
    padding: 20px;
  }

  .concept-panel__name {
    font-size: 34px;
    line-height: 36px;
  }

  .concept-panel__intro,
  .concept-cols,
  .concept-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .concept-panel__headline {
    font-size: 30px;
    line-height: 32px;
  }

  .concept-cta__btn {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 479px) {
  .concept-theses {
    grid-template-columns: minmax(0, 1fr);
  }

  .concept-group__title {
    font-size: 26px;
    line-height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .concept-tile {
    transition: none;
  }

  .concept-tile:hover {
    transform: none;
  }
}
