

.colleague-button {

background:#17417A;
color:#fff;

border:none;

padding:14px 30px;

border-radius:14px;

font-size:16px;

font-weight:700;

cursor:pointer;

box-shadow:0 8px 20px rgba(23,65,122,.25);

}


.colleague-modal {

display:none;

position:fixed;

inset:0;

background:rgba(15,23,42,.75);

z-index:9999;

align-items:center;

justify-content:center;

padding:20px;

}


.colleague-card {

position:relative;

max-width:600px;

width:100%;

background:#fff;

border-radius:24px;

padding:30px;

box-shadow:0 20px 50px rgba(0,0,0,.3);

animation:showModal .25s ease;

}


@keyframes showModal {

from {
transform:scale(.9);
opacity:0;
}

to {
transform:scale(1);
opacity:1;
}

}


.close-modal {

position:absolute;

right:18px;

top:15px;

border:none;

background:#fee2e2;

color:#dc2626;

width:35px;

height:35px;

border-radius:50%;

font-size:25px;

cursor:pointer;

}


.colleague-card h3 {

color:#17417A;

text-align:center;

font-size:22px;

}


.colleague-info {

background:#f8fafc;

border-radius:15px;

padding:15px;

}


.colleague-photos {

display:flex;

gap:10px;

margin-top:20px;

}


.colleague-photos img {

width:32%;

height:120px;

object-fit:cover;

border-radius:12px;

}


.colleague-note {

margin-top:20px;

font-size:13px;

color:#64748b;

text-align:center;

}

.partner-block {

    max-width:720px;

    margin:40px auto;

    padding:30px;

    text-align:center;

    background:
    linear-gradient(135deg,#fff7ed,#fff);

    border-radius:24px;

    border:1px solid #fed7aa;

    box-shadow:
    0 8px 25px rgba(0,0,0,.07);

}


.partner-icon {

    font-size:42px;

}


.partner-block h3 {

    margin:10px 0;

    color:#17417A;

    font-size:24px;

}


.partner-percent {

    display:inline-block;

    margin:15px 0;

    padding:10px 25px;

    border-radius:30px;

    background:#ef4444;

    color:#fff;

    font-size:22px;

    font-weight:800;

    text-transform:uppercase;

}


.partner-block p {

    color:#475569;

    line-height:1.6;

}


.partner-scheme {

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;

    margin:25px 0;

    font-weight:700;

    color:#17417A;

}


.partner-scheme span {

    background:#fff;

    padding:10px 14px;

    border-radius:12px;

    border:1px solid #e2e8f0;

}


.partner-button {

    display:inline-block;

    padding:15px 35px;

    border-radius:14px;

    background:#17417A;

    color:#fff;

    text-decoration:none;

    font-size:17px;

    font-weight:700;

    transition:.2s;

}


.partner-button:hover {

    background:#0f2d55;

    transform:translateY(-2px);

}


.partner-note {

    margin-top:20px;

    font-size:13px;

    color:#64748b;

}

#redirect-container {

    max-width:550px;
    margin:50px auto;
    padding:35px 30px;

    text-align:center;

    background:
    linear-gradient(135deg,#f8fafc,#eef6ff);

    border-radius:24px;

    border:1px solid #dbeafe;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

    font-family:Arial,sans-serif;

}


.redirect-icon {

    font-size:45px;
    margin-bottom:10px;

}


#redirect-container h3 {

    color:#17417A;
    font-size:24px;
    margin:10px 0;

}


.redirect-description {

    color:#64748b;
    line-height:1.6;
    font-size:15px;

}


.timer-box {

    margin:25px 0;

}


.progress-wrapper {

    height:18px;

    background:#e5e7eb;

    border-radius:20px;

    overflow:hidden;

}


#progress-bar {

    width:0%;

    height:100%;

    border-radius:20px;

    background:
    linear-gradient(90deg,#22c55e,#f97316,#ef4444);

    transition:
    width 1s linear;

}


#time-remaining {

    margin-top:12px;

    font-size:18px;

    font-weight:700;

    color:#334155;

}


.home-button {

    display:inline-block;

    margin-top:15px;

    padding:14px 28px;

    border-radius:14px;

    background:#17417A;

    color:white;

    text-decoration:none;

    font-weight:600;

    transition:.2s;

}


.home-button:hover {

    background:#0f2d55;

    transform:translateY(-2px);

}

.legal-info {
    max-width:900px;
    margin:35px auto 20px;
    padding:25px;
    text-align:center;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:18px;
    color:#64748b;
    font-size:13.5px;
    line-height:1.7;
}


.legal-info h3 {
    margin:0 0 15px;
    color:#1e293b;
    font-size:18px;
}


.legal-info a {
    color:#0055aa;
    text-decoration:underline;
}


.legal-info details {
    margin-top:20px;
    background:#fff;
    border-radius:12px;
    padding:12px 18px;
    border:1px solid #e2e8f0;
}


.legal-info summary {
    cursor:pointer;
    font-weight:600;
    color:#334155;
    list-style:none;
}


.legal-info summary::-webkit-details-marker {
    display:none;
}


.legal-info summary:after {
    content:"+";
    float:right;
    font-size:20px;
    color:#0055aa;
}


.legal-info details[open] summary:after {
    content:"−";
    color:#dc2626;
}


.legal-details {
    margin-top:15px;
    text-align:center;
}


.faq-section{
    max-width:1000px;
    margin:40px auto;
    padding:25px;
    background:#fff;
    border-radius:16px;
    box-shadow:0 4px 20px rgba(0,0,0,0.08);
}


.faq-title{
    text-align:center;
    margin-bottom:25px;
    color:#17417A;
}


.faq-item{
    margin-bottom:14px;
}


.faq-item details{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:12px;
    overflow:hidden;
}


.faq-item summary{
    list-style:none;
    cursor:pointer;
    padding:18px 20px;
    font-weight:600;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:#17417A;
}


.faq-item summary::-webkit-details-marker{
    display:none;
}


.faq-icon{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#17417A;
    color:white;
    font-size:22px;
    transition:.3s;
}


details[open] .faq-icon{
    transform:rotate(180deg);
    background:#e53935;
}


details[open] .faq-icon::after{
    content:"−";
}


details[open] .faq-icon{
    font-size:0;
}


details[open] .faq-icon::after{
    font-size:22px;
}


.faq-answer{
    padding:0 20px 20px;
    color:#444;
    line-height:1.7;
}

.apartment-description {
    max-width:1440px;
    width:100%;
    margin:30px auto;
    padding:35px 45px;
    box-sizing:border-box;
}

@media(max-width:768px){
    .apartment-description{
        padding:20px 15px;
        border-radius:10px;
    }
}


.booking-info {
    margin:25px 0;
    padding:20px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 3px 12px rgba(0,0,0,0.08);
    border:1px solid #eee;
}

.booking-title {
    font-size:18px;
    font-weight:700;
    color:#17417A;
    margin-bottom:15px;
}

.booking-list {
    margin:0;
    padding-left:22px;
    color:#333;
    line-height:1.6;
}

.booking-list li {
    margin-bottom:8px;
}
.contact-buttons-wrapper {
  position: fixed;
  bottom: 120px; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  gap: 8px;
  justify-content: center;
  background: transparent;
}

.contact-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 6px; 
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 15px; 
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  user-select: none;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 60px; 
  position: relative;
}

.contact-button .tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 6px;
  white-space: pre-line;
  text-align: center;
  z-index: 10;
  transition: opacity 0.3s, transform 0.3s;
}
.contact-button:hover .tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-12px);
}

/* Кнопка Позвонить */
.call-button {
  background-color: #ff6b00;
  color: white;
  box-shadow: 0 0 10px rgba(255,107,0,0.7);
}
.call-button:hover {
  background-color: #ff832f;
  box-shadow: 0 0 12px rgba(255,107,0,0.9);
}

/* Кнопка WhatsApp */
.whatsapp-button {
  background-color: #25D366;
  color: white;
  box-shadow: 0 0 10px rgba(37,211,102,0.7);
}
.whatsapp-button:hover {
  background-color: #1ebe57;
  box-shadow: 0 0 12px rgba(37,211,102,0.9);
}

/* Кнопка MAX */
.max-button {
  background: linear-gradient(90deg, #0078ff, #00c3ff);
  color: white;
}
.max-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0,180,255,0.8);
}

/* Кнопка Telegram */
.telegram-button {
  background-color: #0088cc;
  color: white;
  box-shadow: 0 0 10px rgba(0,136,204,0.7);
}
.telegram-button:hover {
  background-color: #006699;
  box-shadow: 0 0 12px rgba(0,136,204,0.9);
}

/* Glow для всех кнопок */
.glow {
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shine 2.5s infinite linear;
  pointer-events: none;
}
@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

.icon, .icon-img {
  width: 12px; 
  height: 12px;
}

.text {
  line-height: 1;
  text-align: center;
}

@media (max-width: 480px) {
  .contact-buttons-wrapper {
    bottom: 60px;
    gap: 6px;
  }
  .contact-button {
    padding: 3px 5px;
    font-size: 10px;
    min-width: 50px;
  }
  .icon, .icon-img {
    width: 10px;
    height: 10px;
  }
  .contact-button .tooltip {
    font-size: 9px;
    padding: 3px 5px;
  }
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding-top: 42px; /* минимально под фиксированное меню */
  background: #fafafa;
  color: #222;
}

/* МЕНЮ (тонкое) */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fffaf5;
  border-bottom: 1px solid #f2e6da;
  z-index: 1000;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #a56f45;
  font-size: 13px;
  padding: 2px 4px;
}

.nav-links a:hover {
  color: #82532f;
}

/* ВЕРХ (супер тонкий) */
.first-block-wrapper {
  background-color: #f0f8ff;
  padding: 2px 8px 2px 8px; /* минимальные отступы */
}

/* ВСЁ В ОДНУ ЛИНИЮ */
.short-term-rent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px; 
  flex-wrap: wrap;
  text-align: center;
}

/* ЛОГО */
.short-term-rent img.logo {
  max-width: 75px;
  height: auto;
  display: inline-block;
}

/* ТЕКСТ В ОДНУ СТРОКУ */
.header-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0; 
}

/* ЗЕЛЕНАЯ ТОЧКА */
.online-indicator {
  width: 6px;
  height: 6px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: inline-block;
  margin-left: 4px;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* КРОШКИ (микро) */
.breadcrumbs {
  text-align: center;
  font-size: 10px;
  margin: 0; 
  color: #555;
}

.breadcrumbs a {
  color: #0077ff;
  text-decoration: none;
}

/* ПОДНЯТИЕ MAIN */
main {
  margin-top: -20px; /* поднять текст на ~1 см */
}

/* Убираем верхний маргин у H1 */
main h1 {
  margin-top: 0;
  font-size: 20px;
  text-align: center;
}

/* МОБИЛКА */
@media (max-width: 768px) {
  .header-title {
    font-size: 12px;
  }

  .short-term-rent img.logo {
    max-width: 65px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .first-block-wrapper {
    padding-top: 50px;
    padding-bottom: 4px;
  }
}

.apartment-card { 
  max-width: 1200px; 
  margin: 30px auto; 
  background: #fff; 
  padding: 20px; 
  border-radius: 10px; 
  box-shadow: 0 2px 8px rgba(0,0,0,.15); 
}

.slider { 
  position: relative; 
  text-align: center; 
}

.slider img { 
  width: 100%; 
  max-height: 520px; 
  object-fit: cover; 
  display: none; 
  border-radius: 6px; 
  cursor: zoom-in;
}

.slider img.active { 
  display: block; 
}

.slider-buttons { 
  position: absolute; 
  top: 50%; 
  left: 0; 
  right: 0; 
  display: flex; 
  justify-content: space-between; 
  padding: 0 10px; 
}

.slider-buttons button { 
  background: rgba(0,0,0,.5); 
  color: #fff; 
  border: none; 
  font-size: 24px; 
  padding: 8px 12px; 
  border-radius: 5px; 
  cursor: pointer; 
}

.slider-buttons button:hover {
  background: rgba(0,0,0,.7);
}

/* Миниатюры */
.thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.thumbnails img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  border: 2px solid transparent;
  transition: 0.2s;
  display: block;
}

.thumbnails img:hover {
  opacity: 1;
  transform: scale(1.03);
}

.thumbnails img.active-thumb {
  opacity: 1;
  border-color: #0077ff;
}

/* Lightbox */
#lightbox {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

#lightbox img {
  max-width: 98%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 6px;
}

#lightbox .lb-buttons {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  width: 120px;
}

#lightbox .lb-buttons button {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 5px;
}

#lightbox .lb-buttons button:hover {
  background: rgba(255,255,255,0.5);
}

/* Крестик закрытия под кнопками */
#lightbox .close-btn {
  margin-top: 10px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
}

.photo-note{
  font-size:12px;
  color:#888;
  margin-top:10px;
  line-height:1.4;
  text-align:center;
}

.contact-wrapper {
  display: inline-block;
  position: relative;
}

/* Главная кнопка */
.contact-main-btn {
  background-color: #17417A;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: background 0.3s, transform 0.2s;
}

.contact-main-btn:hover {
  background-color: #0f2d5c;
  transform: translateY(-1px);
}

.contact-text { white-space: nowrap; }

.contact-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-popup {
  display: none;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #f8f8f8;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}

.contact-wrapper.active .contact-popup { display: flex; }

.contact-popup .option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.contact-popup .option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.phone { background-color: #ff6b00; }
.whatsapp { background-color: #25D366; }
.telegram { background-color: #0088cc; }
.max { background-color: #0055aa; }

.contact-popup img { filter: invert(1); }

/* === ОБЩИЕ СТИЛИ === */
.info-layout {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 35px auto;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.info-panel {
    flex: 1 1 380px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 20px;
    margin: 18px 0 12px;
    color: #222;
    font-weight: bold;
}

/* === РЕЙТИНГ === */
.rating-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.rating-label {
    width: 140px;
    font-size: 14px;
    color: #333;
}

.rating-value {
    width: 45px;
    text-align: right;
    font-weight: bold;
    color: #111;
    margin-right: 10px;
    font-size: 14px;
}

.progressbar {
    width: 100%;
    max-width: 130px;
    height: 8px;
    background: #e4e4e4;
    border-radius: 6px;
    overflow: hidden;
}

.progressbar-fill {
    height: 100%;
    display: block;
    border-radius: 6px;
    width: 0;
    animation: fillBar 1.2s forwards;
}

.progress-green { background: #2ecc71; animation-delay: 0s; }
.progress-blue { background: #3C8DFF; animation-delay: 0.2s; }
.progress-orange { background: #ff9d2f; animation-delay: 0.4s; }

@keyframes fillBar {
    to { width: var(--bar-width); }
}

/* === ВРЕМЯ ЗАЕЗДА/ВЫЕЗДА === */
.time-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 22px 0;
    flex-wrap: wrap;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-label {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

.time-line {
    width: 100%;
    max-width: 140px;
    height: 8px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.time-line .time-fill-left {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 4px 0 0 4px;
    width: 0;
    animation: fillTimeLeft 1.2s forwards;
}

.time-line .time-fill-right {
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 0 4px 4px 0;
    width: 0;
    animation: fillTimeRight 1.2s forwards;
}

.time-marker {
    width: 14px;
    height: 14px;
    background: #3C8DFF;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    transform: translateX(-50%);
    border: 2px solid #fff;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.time-scale {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 140px;
    font-size: 11px;
    margin-top: 4px;
    color: #666;
}

/* Анимации для шкал времени */
@keyframes fillTimeLeft {
    to { width: var(--fill-left); }
}
@keyframes fillTimeRight {
    to { width: var(--fill-right); }
}

/* === ПО ЧАСАМ === */
.hourly-block {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
}

.hourly-block h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hourly-block ul {
    margin-left: 18px;
    font-size: 13px;
    line-height: 1.5;
}

.hourly-block p {
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

/* Кнопка для почасовой аренды */
.hourly-button {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: #3C8DFF;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}
.hourly-button:hover {
    background: #3577d1;
}

/* === ОТЗЫВЫ === */
.review {
    margin: 4px 0;
}
.review span {
    font-weight: bold;
}

/* === АДАПТИВ ДЛЯ МОБИЛОК === */
@media screen and (max-width: 480px) {
    .info-layout {
        flex-direction: column;
        gap: 18px;
        margin: 15px auto;
    }
    .info-panel {
        flex: 1 1 100%;
        padding: 18px;
    }
    .progressbar, .time-line {
        max-width: 100%;
    }
    .time-scale {
        font-size: 10px;
    }
    .section-title {
        font-size: 18px;
    }
    .hourly-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}

  #max-bot-info a:hover {
    filter: brightness(1.1);
  }

  a:hover {
    background-color: #ff4500;
    transform: scale(1.05);
  }


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

  .btn {
    display: inline-block;
    padding: 8px 15px;
    font-size: 14px;
    text-align: center;
    background-color: #4CAF50; /* Зелёный фон */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    width: auto; /* Подстраивается под текст */
    max-width: 250px; /* Ограничение ширины */
    transition: background-color 0.3s;
  }

  .btn:hover {
    background-color: #45a049; /* Тёмно-зелёный при наведении */
  }

  .btn-container {
    display: flex;
    justify-content: center; /* Центрируем кнопки по горизонтали */
    gap: 10px; /* Расстояние между кнопками */
    margin-top: 15px;
  }
  
  
  .site-footer {
    margin-top:40px;
    background:#0f172a;
    color:#fff;
    text-align:center;
    padding:35px 20px;
    border-radius:18px 18px 0 0;
}

.footer-content {
    max-width:900px;
    margin:0 auto;
}

.footer-title {
    font-size:20px;
    font-weight:700;
    margin:0 0 12px;
}

.footer-text {
    font-size:14px;
    line-height:1.6;
    color:#cbd5e1;
    margin:0 auto 15px;
}

.footer-contact {
    font-size:15px;
    font-weight:600;
    color:#fff;
    margin:15px 0;
}

.footer-copy {
    margin-top:20px;
    padding-top:15px;
    border-top:1px solid rgba(255,255,255,0.15);
    font-size:13px;
    color:#94a3b8;
}


.partner-block {
  max-width:900px;
  margin:35px auto;
  padding:25px;
  background:linear-gradient(135deg,#f8fafc,#eef6ff);
  border:1px solid #dbeafe;
  border-radius:20px;
  text-align:center;
  box-shadow:0 8px 25px rgba(0,0,0,.08);
}


.partner-block h2 {
  margin-top:0;
  color:#17417A;
  font-size:26px;
}


.partner-block p {
  color:#444;
  line-height:1.6;
}


.partner-flow {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:15px;
  margin:25px 0;
  flex-wrap:wrap;
}


.flow-item {
  width:190px;
  padding:15px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 4px 15px rgba(0,0,0,.08);
}


.flow-item span {
  font-size:32px;
  display:block;
  margin-bottom:8px;
}


.flow-item strong {
  display:block;
  font-size:17px;
}


.flow-item small {
  color:#666;
}


.flow-arrow {
  font-size:28px;
  color:#ff9800;
}


.partner-button {

  display:block;
  max-width:350px;
  margin:25px auto;

  padding:15px 20px;

  background:linear-gradient(135deg,#ff3b30,#ff7a18);

  color:white;

  text-decoration:none;

  border-radius:14px;

  font-weight:800;

  font-size:17px;

  box-shadow:0 8px 20px rgba(255,59,48,.35);

}


.partner-note {

  margin-top:20px;

  padding:15px;

  background:#fff;

  border-radius:14px;

  color:#555;

  font-size:14px;

  line-height:1.6;

}


@media(max-width:600px){

.partner-flow{
 flex-direction:column;
}

.flow-arrow{
 transform:rotate(90deg);
}

.partner-block h2{
 font-size:22px;
}

}



/* Контейнер панели */
.info-panel {
    max-width: 900px;
    margin: 40px auto;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
}

/* Заголовки секций */
.section-title {
    font-size: 22px;
    margin: 20px 0 10px;
    color: #333;
}

/* Одна строка рейтинга или времени */
.rating-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* Название рейтинга */
.rating-label {
    width: 160px;
    font-weight: bold;
    color: #444;
    flex-shrink: 0;
}

/* Числовое значение */
.rating-value {
    width: 40px;
    text-align: right;
    font-weight: bold;
    color: #444;
    flex-shrink: 0;
}

/* Серая полоса */
.progressbar {
    flex: 1;
    height: 16px;
    background: #e5e5e5;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    min-width: 120px; /* гарантирует видимость полосы */
}

/* Зелёная заполненная часть */
.progressbar-fill {
    height: 100%;
    background: #27ae60;
    border-radius: 10px;
    display: block;
}
    
/* Текст снизу */
.rating-text {
    margin-top: 20px;
    color: #555;
    line-height: 1.6;
}
