/* «Everything in one place»: the bento grid of features. */
/* bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.tile {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 4px rgba(11, 31, 68, 0.05),
    0 20px 40px rgba(11, 31, 68, 0.09);
}
.tile h3 {
  font-size: 20px;
  font-weight: 600;
}
.tile p {
  color: var(--soft);
  font-size: 15.5px;
  line-height: 1.75;
}
.t-order {
  grid-column: span 7;
  grid-row: span 2;
  flex-direction: row;
  align-items: flex-end;
  gap: 24px;
  background: linear-gradient(160deg, #0f2550, #0b1f44 55%, #071733);
  border-color: transparent;
  color: #fff;
  padding-bottom: 0;
}
.t-order p {
  color: var(--on-night-soft);
}
.t-order .tile-txt {
  align-self: center;
  flex: 1;
  display: grid;
  gap: 12px;
  padding-bottom: 30px;
}
.t-order h3 {
  font-size: 26px;
}
.tile-phone {
  width: 46%;
  max-width: 260px;
  flex: none;
  border-radius: 34px 34px 0 0;
  padding: 7px 7px 0;
  margin-bottom: -1px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
}
.tile-phone img {
  border-radius: 27px 27px 0 0;
  aspect-ratio: 390 / 640;
}
.t-call,
.t-lang {
  grid-column: span 5;
}
.chips,
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.chips span {
  background: #eef3fd;
  color: var(--navy);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
}
.langs span {
  font-family: var(--f-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  padding: 4px 16px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.langs span[lang='en'] {
  font-family: var(--f-latin);
  letter-spacing: 0.02em;
}
.t-kitchen,
.t-reports {
  grid-column: span 6;
  padding-bottom: 0;
}
.tile-shot {
  margin: 14px -30px 0;
  margin-inline-start: 30px;
  border-radius: 14px 0 0 0;
  overflow: hidden;
  border: 1px solid var(--line-cool);
  border-bottom: 0;
  border-inline-end: 0;
  box-shadow: 0 -6px 24px rgba(11, 31, 68, 0.08);
}
[dir='rtl'] .tile-shot {
  border-radius: 0 14px 0 0;
}
.tile-shot img {
  aspect-ratio: 16 / 8;
  width: 100%;
  object-fit: cover;
  object-position: top right;
}
.t-small {
  grid-column: span 3;
}
.t-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef3fd;
  color: var(--blue);
  margin-bottom: 6px;
}
@media (max-width: 1020px) {
  .t-order {
    grid-column: span 12;
    grid-row: auto;
  }
  .t-call,
  .t-lang {
    grid-column: span 6;
  }
  .t-small {
    grid-column: span 6;
  }
}
@media (max-width: 700px) {
  .bento {
    gap: 12px;
  }
  .tile {
    padding: 24px;
    border-radius: 22px;
  }
  .t-order {
    flex-direction: column;
    align-items: stretch;
  }
  .t-order .tile-txt {
    padding-bottom: 0;
  }
  .tile-phone {
    width: 62%;
    align-self: center;
  }
  .t-call,
  .t-lang,
  .t-kitchen,
  .t-reports {
    grid-column: span 12;
  }
  .t-small {
    grid-column: span 6;
  }
  .t-small p {
    font-size: 14px;
  }
  .tile-shot {
    margin-inline: 24px -24px;
  }
}
@media (max-width: 420px) {
  .t-small {
    grid-column: span 12;
  }
}
