*{box-sizing:border-box}

/* ----- Tabs (общие) ----- */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.card--glass{background:rgba(255,255,255,0.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:var(--shadow)}
.card--soft{background:#fff;border:1px solid #e9f2fb;box-shadow:0 6px 18px rgba(22,60,97,.06)}

.tabs.card.card--glass{
  display:inline-flex !important;
  align-items:center;
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  gap:8px;
  max-width:100%;
  width:fit-content;
  box-sizing:border-box;
  padding:6px 10px !important; /* override .card padding */
  border-radius:16px;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 12px 36px rgba(22,60,97,.12);
  scrollbar-width:thin;
}
.tabs.card.card--glass .tab{white-space:nowrap;flex:0 0 auto;}
.tabs.card.card--glass::-webkit-scrollbar{height:6px}
.tabs.card.card--glass::-webkit-scrollbar-thumb{background:rgba(30,144,255,.35);border-radius:999px}
.tabs.card.card--glass::-webkit-scrollbar-track{background:transparent}
@media (max-width:600px){
  .tabs.card.card--glass{gap:6px;padding:6px 8px !important;}
  .tabs.card.card--glass .tab{padding:8px 12px;}
}
.tab{
  position:relative;
  display:inline-block;
  padding:10px 16px;
  border-radius:12px;
  color:#5a7693;
  text-decoration:none;
  font-weight:700;
  transition:color .18s ease, background .18s ease;
}
.tab--active{color:#1e90ff;}
.tab--active::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:6px;
  height:3px;
  border-radius:999px;
  background:#1e90ff;
  box-shadow:0 0 10px rgba(30,144,255,.45);
}
.tab:hover:not(.tab--active){
  color:#1e90ff;
  background:rgba(30,144,255,0.06);
}

/* ----- Layout контактов ----- */
.contacts{
  margin-top:18px;
  border-radius:24px;
  padding:22px 22px 24px 22px;
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:22px;
}
.contacts__full{
  max-width:100%;
}
.page-title{
  font-size:30px;
  margin:4px 0 10px 0;
  color:#2f6f90;
}
.contacts-lead{
  margin:0 0 16px 0;
  color:#4b647a;
}

/* Списки контактов */
.contacts-list{
  margin:0 0 18px 0;
  padding:14px 16px;
  border-radius:18px;
  background:#f5f9ff;
  border:1px solid #dbeafe;
}
.contact-item + .contact-item{
  margin-top:10px;
}
.contact-label{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#6b859c;
  margin-bottom:2px;
}
.contact-value{
  font-weight:600;
  color:#163047;
}
.contact-link{
  color:#1e90ff;
  text-decoration:none;
}
.contact-link:hover{
  text-decoration:underline;
}

/* Боковая карточка доставки */
.contacts__right{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.info{
  display:flex;
  flex-direction:column;
  gap:8px;
  border-radius:18px;
  padding:16px 18px;
}
.info__ico{
  width:40px;
  height:40px;
  border-radius:12px;
  background:#eaf5ff;
  border:1px solid #d8eafb;
  display:grid;
  place-items:center;
  color:#2f6f90;
  font-size:20px;
}
.info__label{
  color:#6b859c;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.info__value{
  font-weight:600;
  color:#2b4f6a;
}
.delivery-list{
  margin:4px 0 0 0;
  padding-left:18px;
}

/* ----- Карты ----- */
.map-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:12px;
}
.map-card{
  border-radius:20px;
  padding:18px 18px 18px 18px;
}
.map-title{
  font-size:18px;
  font-weight:800;
  margin:0 0 8px 0;
  color:#12324b;
}
.map-address{
  margin:0 0 8px 0;
  color:#4b647a;
}
.map-note{
  margin:0 0 10px 0;
}
.map-phone{
  margin:0 0 10px 0;
  color:#4b647a;
}
.map-embed{
  margin-top:6px;
}

/* ----- Реквизиты ----- */
.req-list{
  margin:10px 0 0 0;
  padding:16px 18px;
  border-radius:18px;
  background:#f5f9ff;
  border:1px solid #dbeafe;
}
.req-row{
  display:grid;
  grid-template-columns:200px 1fr;
  gap:8px;
  padding:6px 0;
  border-bottom:1px solid #e2edf9;
}
.req-row:last-child{
  border-bottom:none;
}
.req-row dt{
  font-weight:700;
  color:#2b4f6a;
}
.req-row dd{
  margin:0;
  color:#4b647a;
  overflow-wrap:anywhere;
  word-break:break-word;
}

@media (max-width: 640px){
  .req-row{
    grid-template-columns:1fr;
  }
}

/* ----- Адаптив ----- */
@media (max-width:1100px){
  .contacts{
    grid-template-columns:1fr;
  }
  .map-grid{
    grid-template-columns:1fr;
  }
}
/* updated map sizing and blue titles */
.map-title, .page-title, .section-title { color:#1e90ff!important; }
.map-embed iframe { width:100%!important; height:420px!important; border-radius:22px!important; border:0!important; }
.map-card { padding:24px 26px!important; border-radius:24px!important; }
.map-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
@media(max-width:1100px){ .map-grid{grid-template-columns:1fr;} .map-embed iframe{height:380px!important;} }


