.social-help-box{

    max-width:900px;
    margin:35px auto;

    padding:28px;

    background:#ffffff;

    border-radius:20px;

    border:3px solid #ff5d5d;

    text-align:center;

    color:#333;

    position:relative;

    overflow:hidden;

    box-shadow:
    0 0 25px rgba(255,0,0,.15),
    0 15px 40px rgba(0,0,0,.12);

}

.social-help-box::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:20px;

    padding:3px;

    background:linear-gradient(
        90deg,
        #ff4d4d,
        #ffd54f,
        #ff4d4d,
        #ff7b7b
    );

    background-size:400%;

    animation:borderMove 6s linear infinite;

    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;

    mask-composite:exclude;

    pointer-events:none;

}

@keyframes borderMove{

0%{background-position:0%;}
100%{background-position:400%;}

}

.social-help-box h3{

font-size:28px;

margin-bottom:20px;

color:#d60000;

}

.heart{

display:inline-block;

animation:heart 1.1s infinite;

}

@keyframes heart{

0%{transform:scale(1);}

25%{transform:scale(1.3);}

50%{transform:scale(1);}

75%{transform:scale(1.2);}

100%{transform:scale(1);}

}

.social-help-box p{

font-size:17px;

line-height:1.8;

margin:16px 0;

}

.social-note{

font-weight:bold;

font-size:19px;

color:#b45309;

}

@media(max-width:700px){

.social-help-box{

margin:25px 12px;

padding:20px;

}

.social-help-box h3{

font-size:22px;

}

.social-help-box p{

font-size:15px;

}

.social-note{

font-size:17px;

}

}
.max-fixed-container{
    position:fixed;
    right:15px;
    bottom:90px;
    z-index:9999;
}


.max-fixed-btn{
    display:flex;
    align-items:center;
    gap:8px;

    background:#111;
    color:#fff;

    padding:10px 16px;

    border-radius:30px;

    text-decoration:none;

    font-size:15px;
    font-weight:700;

    box-shadow:
    0 4px 15px rgba(0,0,0,.25);

    transition:.3s;

    animation:maxPulse 3s infinite;
}


.max-fixed-btn img{
    width:32px;
    height:32px;
    display:block;
}


.max-fixed-btn:hover{
    transform:translateY(-3px);
    background:#222;
}


@keyframes maxPulse{

    0%,100%{
        box-shadow:0 4px 15px rgba(0,0,0,.25);
    }

    50%{
        box-shadow:
        0 4px 25px rgba(0,140,255,.65);
    }

}


@media(max-width:600px){

    .max-fixed-container{
        right:10px;
        bottom:80px;
    }


    .max-fixed-btn{

        width:54px;
        height:54px;

        padding:0;

        display:flex;
        align-items:center;
        justify-content:center;

        border-radius:50%;

        overflow:hidden;
    }


    .max-fixed-btn img{

        width:34px;
        height:34px;

        flex-shrink:0;

    }


    .max-fixed-btn span,
    .max-text{

        display:none !important;

    }

}


.no-spam-warning {
    display: block;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
}



.faq-answer p {
    margin:15px 0;
}

.faq-answer{

    display:none;

    padding:15px;

    line-height:1.6;

}

.faq-answer.open{

    display:block;

}

.breadcrumbs {
    font-size:11px;
    color:#666;
    margin:10px 0;
    text-align:center;
}

.breadcrumbs a {
    color:#007bff;
    text-decoration:none;
}

.order-button-container {
  text-align: center;
  margin: 20px 0;
}

.order-button {
  display: inline-block;
  background-color: #ff6600;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.order-button:hover {
  background-color: #e05500;
}


/* ===== Общие настройки ===== */
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  margin: 0; padding: 0;
  color: #eee;
  background: #111; /* тёмный брутальный фон */
}
header {
  background: linear-gradient(135deg,#222,#444);
  color:#fff;
  text-align:center;
  padding:20px 10px;
}
header h1 { margin:0; font-size:24px; }
header p { margin:5px 0 15px; font-size:16px; }
header .contacts a {
  display:inline-block; margin:5px;
  padding:12px 20px;
  border-radius:8px;
  text-decoration:none; font-weight:600;
  color:#fff;
}
header .contacts a.phone { background:#ff6b00; }
header .contacts a.whatsapp { background:#25d366; }
header .contacts a:hover { opacity:0.9; }

.container { max-width:900px; margin:20px auto; padding:0 15px; }

.about-master {
  display:flex; flex-wrap:wrap; align-items:center;
  background:#222; padding:15px;
  border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,0.4);
  margin-bottom:20px;
}
.about-master img { max-width:200px; border-radius:8px; margin-left:15px; }

.services { display:grid; gap:10px; margin:20px 0; }
.service {
  background:#222;
  padding:14px;
  border-radius:8px;
  box-shadow:0 2px 8px rgba(0,0,0,0.4);
  display:flex; align-items:center;
  color:#eee;
}

/* ===== Кнопки ===== */
.btn { display:inline-block; padding:12px 24px; border-radius:8px; text-decoration:none; font-weight:600; margin:6px; cursor:pointer; }
.call { background:#ff6b00; color:#fff; }
.whatsapp { background:#25d366; color:#fff; }
.order { background:#ffa000; color:#fff; }
.btn:hover { opacity:0.9; }

/* ===== Футер ===== */
footer {
  background:#111;
  color:#ccc;
  text-align:center;
  padding:20px 10px;
  font-size:13px;
}
footer a { color:#66b3ff; text-decoration:none; }
footer a:hover { text-decoration:underline; }

/* ===== Гирлянда ===== */
#garland {
  display:flex; justify-content:center; flex-wrap:nowrap;
  overflow-x:hidden; position:absolute; top:10px; left:50%;
  transform:translateX(-50%); z-index:10; pointer-events:none;
  max-width:100%;
}
.lamp {
  width:12px; height:20px; border-radius:50% 50% 5px 5px;
  margin:0 4px; animation:blink 1.2s infinite alternate;
  transform-origin:top center;
}
.lamp.red { background:#ff4d4d; }
.lamp.green { background:#4dff4d; }
.lamp.blue { background:#4d4dff; }
.lamp.yellow { background:#fff84d; }
@keyframes blink {
  0% { opacity:0.4; transform:translateY(0); }
  50% { opacity:1; transform:translateY(-3px); }
  100% { opacity:0.4; transform:translateY(0); }
}

/* ===== Снежинки ===== */
.snowflake {
  font-size:12px; color:#66ccff; position:fixed;
  top:-20px; pointer-events:none; z-index:8;
  animation:fall linear infinite;
}
@keyframes fall {
  0% { transform:translate(0,0) rotate(0deg); }
  25% { transform:translate(15px,25vh) rotate(10deg); }
  50% { transform:translate(-15px,50vh) rotate(-10deg); }
  75% { transform:translate(10px,75vh) rotate(5deg); }
  100% { transform:translate(-10px,110vh) rotate(-5deg); }
}

/* ===== Солнце и Луна ===== */
.sun, .moon {
  position:fixed; top:20px; left:20px;
  font-size:60px; opacity:0.4; z-index:5;
}
.moon { display:none; }
.night .moon { display:block; }
.day .sun { display:block; }

/* ===== Адаптив ===== */
@media(max-width:600px){
  header h1{font-size:20px;}
  .btn{padding:10px 18px; font-size:15px;}
  .services { display:block; }
  .service { margin-bottom:10px; }
  .about-master { flex-direction:column; }
  .about-master img { margin:15px 0 0 0; }
}

.marquee-container {
  background-color: #FFD700;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  border-top: 2px solid #e6c200;
  border-bottom: 2px solid #e6c200;
  box-sizing: border-box;
}

.marquee {
  display: flex;
  width: 100%;
}

.marquee-track {
  display: flex;               /* важно flex, не inline-flex */
  flex-shrink: 0;              /* не сжимать */
  min-width: max-content;      /* чтобы текст не переносился */
  animation: marquee 90s linear infinite;
  will-change: transform;      /* ускорение на мобильных */
  transform: translate3d(0,0,0); /* включаем аппаратное ускорение */
}

.marquee-track span {
  display: inline-block;
  margin: 0 30px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  color: #000;
  position: relative;
  padding-right: 20px;
}

.marquee-track span::after {
  content: "•";
  position: absolute;
  right: 0;
  top: 0;
  color: #000;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* адаптив для смартфонов, чтобы бегущая строка всегда была видна */
@media (max-width: 768px) {
  .marquee-track span {
    margin: 0 15px; /* меньше расстояние для маленьких экранов */
    font-size: 14px;
  }
}

/* контейнер */
.max-fixed-container{
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  transition: all 0.3s ease;
}

/* кнопка */
.max-fixed-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.05rem;

  /* 🔥 новый цвет */
  background: linear-gradient(270deg, #ff006a, #ff7a00, #ff00d4, #ffae00);
  background-size: 800% 800%;

  box-shadow: 0 6px 18px rgba(0,0,0,0.35);

  animation: pulse 1.8s infinite, gradientMove 6s ease infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* текст */
.max-text{
  display: inline-block;
}

/* hover */
.max-fixed-btn:hover{
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

/* пульсация */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* перелив цвета */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* свернутое состояние */
.max-fixed-container.minimized .max-text{
  display: none;
}

.max-fixed-container.minimized .max-fixed-btn{
  padding: 12px;
  border-radius: 50%;
}

/* мобильная адаптация */
@media (max-width: 650px){
  .max-fixed-btn{
    font-size: 0.95rem;
    padding: 10px 16px;
  }
}

/* ======= HEADER ======= */
header {
  background: linear-gradient(135deg, #001f2e, #00334d); /* брутальный тёмный стиль */
  color: #fff;
  text-align: center;
  padding: 25px 15px;
  border-bottom: 4px solid #000d1a;
}
header h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
}
header p {
  margin: 6px 0 15px;
  font-size: 16px;
  opacity: 0.9;
}
header .contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
header .contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ————— Кнопка Позвонить в header ————— */
header .contacts a.btn-phone {
  background: #ff6b00; /* ярко-оранжевый */
  color: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
header .contacts a.btn-phone:hover {
  background: #ff7f24;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Остальные кнопки (WhatsApp, Telegram) */
header .contacts a:not(.btn-phone) {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
header .contacts a:not(.btn-phone):hover {
  background: #fff;
  color: #001f2e;
}

header .contacts a img.icon {
  width: 20px;
  height: auto;
}

@media (max-width: 600px) {
  header h1 { font-size: 20px; }
  header .contacts a {
    width: 100%;
    justify-content: center;
    font-size: 16px;
  }
}

/* ======= ДЕЖУРНЫЙ МАСТЕР ======= */
/* ===== Компактная кнопка MAX для блока электрика ===== */

.expert-check .max-btn{

    display:flex;

    align-items:center;

    gap:8px;

    padding:9px 14px;

    max-width:250px;

    background:#0055aa;

    color:#fff;

    text-decoration:none;

    border-radius:10px;

    font-size:14px;

    line-height:1.3;

    box-shadow:none;

}


.expert-check .max-btn img{

    width:26px;

    height:26px;

}


.expert-check .max-btn small{

    display:block;

    font-size:11px;

    font-weight:400;

}


/* аудио + MAX рядом */

.expert-check .expert-actions{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:15px;

    margin:15px 0;

}


.expert-check .expert-actions audio{

    width:260px;

    height:38px;

}


/* мобильная версия */

@media(max-width:700px){

    .expert-check .expert-actions{

        flex-direction:column;

    }


    .expert-check .expert-actions audio{

        width:100%;

        max-width:300px;

    }


    .expert-check .max-btn{

        width:100%;

        max-width:300px;

        justify-content:center;

    }

}

.duty-master {
  text-align: center;
  margin: 20px auto;
  padding: 20px 15px;
  background: #1a1a1a; /* тёмный брутальный фон */
  border-radius: 10px;
  font-weight: 600;
  max-width: 700px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-size: 16px;
  color: #fff;
}

/* Мигающая точка рядом с именем мастера */
.duty-master .status {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #28a745; /* зелёная точка */
  border-radius: 50%;
  margin-right: 6px;
  animation: blink 1s infinite;
  vertical-align: middle;
}
@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* Кнопка "Позвонить мастеру" */
.duty-master a.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ff6b00; /* ярко-оранжевый */
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 15px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.duty-master a.call-btn:hover {
  background: #ff7f24;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.duty-master a.call-btn img.icon {
  width: 20px;
  height: auto;
}

@media (max-width: 600px) {
  .duty-master a.call-btn {
    width: 90%;
    font-size: 16px;
  }
}


.contacts {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  color: #fff;
  position: relative;
  transition: all 0.2s ease;
}
.btn-phone {
  background-color: #FF6B00;
}
.btn-phone:hover {
  background-color: #ff832f;
}
.contacts a[href*="wa.me"] {
  background-color: #25D366;
}
.contacts a[href*="wa.me"]:hover {
  background-color: #1ebe57;
}
.contacts a[href*="t.me"] {
  background-color: #229ED9;
}
.contacts a[href*="t.me"]:hover {
  background-color: #1b8ec3;
}
.icon {
  width: 22px;
  height: 22px;
}

/* ===== Подсказка при наведении на кнопку звонка ===== */
.tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 105%;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  text-align: center;
  width: 200px;
  transition: opacity 0.3s;
  z-index: 10;
}
.btn-phone:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
.tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(0,0,0,0.85);
}

/* ===== Мобильная адаптация ===== */
@media (max-width: 600px) {
  .tooltip {
    right: auto;
    left: 50%;
    top: -10px;
    transform: translate(-50%, -100%);
    width: 220px;
    font-size: 11px;
  }
  .tooltip::after {
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-color: rgba(0,0,0,0.85) transparent transparent transparent;
  }
}

.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);
}

.duty-master {
    margin:25px auto;
    padding:20px;
    max-width:900px;

    background:#1a1a1a;
    border-radius:15px;

    box-shadow:
    0 0 20px rgba(0,0,0,.4);
}


.master-card {

    display:flex;
    align-items:center;
    gap:25px;

}


.master-photo {

    flex:0 0 260px;
    text-align:center;

}


.master-photo img {

    width:260px;
    max-width:100%;

    border-radius:14px;

    box-shadow:
    0 0 20px rgba(255,215,0,.35);

}


.photo-note {

    margin-top:8px;

    font-size:11px;

    color:#999;

    line-height:1.4;

}


.master-info {

    flex:1;

}


.master-info h3 {

    margin:0 0 12px;

    color:#FFD700;

    font-size:22px;

}


.master-text {

    color:#fff;

    line-height:1.6;

}


.status {

    display:inline-block;

    width:10px;
    height:10px;

    background:#28a745;

    border-radius:50%;

    margin-right:6px;

    animation:blink 1s infinite;

}


.call-btn {

    display:inline-flex;

    align-items:center;
    justify-content:center;

    gap:8px;

    background:#ff6b00;

    color:#fff;

    text-decoration:none;

    padding:12px 20px;

    border-radius:10px;

    font-weight:700;

    margin-top:15px;

}


.call-btn:hover {

    background:#ff832f;

}


.call-btn img {

    width:22px;

}


@media(max-width:700px){

    .master-card {

        flex-direction:column;

        text-align:center;

    }


    .master-info h3 {

        font-size:19px;

    }

}

.no-spam-warning{

    display:block;
    width:100%;
    max-width:920px;

    margin:24px auto;
    padding:16px 20px;

    background:#111;

    border:1px solid rgba(255,0,0,.45);
    border-left:5px solid #ff2f2f;

    border-radius:14px;

    color:#ffffff;
    text-decoration:none;

    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;

    font-size:14px;
    font-weight:700;
    line-height:1.55;
    letter-spacing:.2px;

    box-shadow:
        0 8px 28px rgba(0,0,0,.18),
        0 0 18px rgba(255,0,0,.08);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease;

}

.no-spam-warning:hover{

    transform:translateY(-2px);

    background:#0a0a0a;

    border-color:rgba(255,60,60,.75);

    box-shadow:
        0 12px 34px rgba(0,0,0,.28),
        0 0 26px rgba(255,0,0,.16);

}

.no-spam-warning:active{
    transform:scale(.995);
}

@media(max-width:768px){

    .no-spam-warning{

        font-size:13px;

        padding:14px 16px;

        line-height:1.5;

    }

}


/* Основная сетка */
.services-grid, .advantages-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:15px;
}

/* Блоки услуг и преимуществ */
.service-item, .adv-item {
  background: linear-gradient(145deg, #fff9e6, #fffde0); /* светлый, но живой фон */
  color: #111; /* яркий контраст */
  padding: 16px 18px;
  border-radius:10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  line-height:1.4;
  text-align: center;
  font-size:14px;
  font-weight:500;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.5s ease;
  position: relative;
  overflow: hidden;
}

/* Лёгкое мерцание/сияние */
.service-item::before, .adv-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,200,0.2) 0%, transparent 60%);
  animation: glowPulse 2.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(0.9); opacity:0.3; }
  50% { transform: scale(1.1); opacity:0.6; }
}

/* Hover эффекты */
.service-item:hover, .adv-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  background: linear-gradient(145deg, #fffbe6, #fffde6);
}

/* Адаптив */
@media (max-width: 480px) {
  .services-grid, .advantages-grid {
    grid-template-columns: 1fr;
  }
  .service-item, .adv-item {
    font-size:13px;
    padding:14px 16px;
  }
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }
}

#error-report-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
}
#error-report-modal.active {
  display: flex;
}
.error-modal-box {
  background: #fff;
  padding: 20px 25px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: left;
  position: relative;
}
.error-modal-box h3 {
  margin-top: 0;
  color: #333;
  font-size: 18px;
}
.error-selected {
  background: #f6f6f6;
  padding: 8px 10px;
  border-left: 3px solid #ff6600;
  margin: 10px 0;
  font-style: italic;
  color: #444;
  white-space: pre-line;
}
.error-modal-box textarea {
  width: 100%;
  height: 70px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 8px;
  font-size: 14px;
  resize: vertical;
}
.error-modal-box button {
  margin-top: 10px;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.error-modal-box button:hover {
  background-color: #e05500;
}
.error-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  color: #777;
  cursor: pointer;
}

.faq {
  max-width: 800px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
}

.faq h2 {
  color: #00e5ff;
  text-shadow: 0 0 10px #00e5ff;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid #00e5ff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,229,255,0.2);
}



.alice-support {

    display:flex;

    align-items:center;

    gap:16px;

    max-width:800px;

    margin:25px auto;

    padding:18px;

    background:linear-gradient(135deg,#e0f7ff,#ffffff);

    border-radius:18px;

    border:1px solid #bae6fd;

    box-shadow:0 8px 25px rgba(0,0,0,.10);

}



.alice-support-icon {

    width:55px;

    height:55px;

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    background:#00a8e8;

    border-radius:50%;

}



.alice-support-content h3 {

    margin:0 0 8px;

    color:#17417A;

    font-size:19px;

}



.alice-support-content p {

    margin:7px 0;

    color:#444;

    font-size:14px;

    line-height:1.45;

}



.alice-more {

    margin-top:10px;

    color:#17417A;

    font-size:14px;

}



.alice-more summary {

    cursor:pointer;

    font-weight:700;

}



.alice-buttons {

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin-top:15px;

}



.alice-buttons a {

    padding:10px 16px;

    border-radius:25px;

    text-decoration:none;

    font-weight:700;

    font-size:14px;

    transition:.3s;

}



.alice-open {

    background:#00a8e8;

    color:#fff;

}



.alice-donate {

    background:#17417A;

    color:#fff;

}



.alice-buttons a:hover {

    transform:translateY(-2px);

    opacity:.9;

}



.alice-yandex-badge {

    margin-top:10px;

}



.alice-yandex-badge img {

    width:120px;

}



@media(max-width:600px){

    .alice-support {

        flex-direction:column;

        text-align:center;

    }


    .alice-buttons {

        justify-content:center;

    }

}



.footer-legal-box {
  margin: 25px auto;
  max-width: 800px;
}

.footer-legal-header {
  position: relative;
  padding: 14px 16px;
  background: #f7f7f7;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #e2e2e2;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: background 0.25s;
  text-align: center;
}

.footer-legal-header:hover {
  background: #f0f0f0;
}

.footer-legal-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

#footerLegalArrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #666;
  transition: 0.3s;
}

#footerLegalContent {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 0 14px;
}

.footer-legal-box a {
  color: #4CAF50;
  text-decoration: underline;
  cursor: pointer;
}

.content-inner {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  padding: 14px 4px;
  text-align: justify;
}

.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;
  }
}

@keyframes emgPulse {
    0%   { box-shadow: 0 10px 20px rgba(255,77,109,0.25); }
    50%  { box-shadow: 0 10px 32px rgba(255,77,109,0.55); }
    100% { box-shadow: 0 10px 20px rgba(255,77,109,0.25); }
}

.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;
  }
}

/* контейнер */
.max-fixed-container{
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  transition: all 0.3s ease;
}

/* кнопка */
.max-fixed-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.05rem;

  /* 🔥 новый цвет */
  background: linear-gradient(270deg, #ff006a, #ff7a00, #ff00d4, #ffae00);
  background-size: 800% 800%;

  box-shadow: 0 6px 18px rgba(0,0,0,0.35);

  animation: pulse 1.8s infinite, gradientMove 6s ease infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* текст */
.max-text{
  display: inline-block;
}

/* hover */
.max-fixed-btn:hover{
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

/* пульсация */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* перелив цвета */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* свернутое состояние */
.max-fixed-container.minimized .max-text{
  display: none;
}

.max-fixed-container.minimized .max-fixed-btn{
  padding: 12px;
  border-radius: 50%;
}

/* мобильная адаптация */
@media (max-width: 650px){
  .max-fixed-btn{
    font-size: 0.95rem;
    padding: 10px 16px;
  }
}

@keyframes emgPulse {
    0%   { box-shadow: 0 10px 20px rgba(255,77,109,0.25); }
    50%  { box-shadow: 0 10px 32px rgba(255,77,109,0.55); }
    100% { box-shadow: 0 10px 20px rgba(255,77,109,0.25); }
}

/* Контейнер кнопки */
.order-button-container {
  text-align: center;
  margin: 20px 0;
}

/* Основная кнопка */
.order-button {
  display: inline-block;
  background-color: #ff6600; /* яркий оранжевый */
  color: #fff;
  font-size: 16px; /* ПК */
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.order-button:hover {
  background-color: #e05500;
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
  .order-button {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Модальное окно */
#modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

#modal .modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

#modal input, #modal button[type="submit"] {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#modal button[type="submit"] {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

#modal button[type="submit"]:hover {
  background-color: #45a049;
}

#modal .close-btn {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

#successMsg {
  display: none;
  color: green;
  margin-top: 10px;
}

.order-button-container {
  text-align: center;
  margin: 20px 0;
}

.order-button {
  display: inline-block;
  background-color: #ff6600;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  max-width: 90%; /* ограничиваем ширину */
  box-sizing: border-box;
  word-break: break-word; /* перенос текста при необходимости */
}

.order-button:hover {
  background-color: #e05500;
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
  .order-button {
    font-size: 16px;
    padding: 10px 14px;
    max-width: 95%;
  }
}

/* FIX MAX MOBILE */
@media (max-width:650px){

  .max-fixed-container{
      right:10px;
      top:auto;
      bottom:90px;
  }


  .max-fixed-btn{
      width:56px;
      height:56px;
      padding:0;
      border-radius:50%;
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;
  }


  .max-fixed-btn img{
      width:34px;
      height:34px;
      flex-shrink:0;
  }


  .max-fixed-btn .max-text{
      display:none !important;
  }

}

/* Защита от случайного выделения текста на телефонах */
body {

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}


/* Разрешаем выделение там, где оно реально нужно */
input,
textarea,
[contenteditable="true"] {

    -webkit-user-select: text;
    user-select: text;

}


/* Убираем синюю подсветку при долгом нажатии на iPhone */
body {

    -webkit-touch-callout: none;

}


/* Кнопки и ссылки остаются кликабельными */
a,
button {

    -webkit-user-select: none;
    user-select: none;

}

/* ===== СОЦИАЛЬНАЯ ПОДДЕРЖКА ===== */

.social-help-box{

    max-width:850px;

    margin:35px auto;

    padding:28px;

    background:#fffdf7;

    border-radius:18px;

    border:3px solid #ff6868;

    text-align:center;

    position:relative;

    color:#333;

    box-shadow:
    0 0 20px rgba(255,80,80,.25),
    0 10px 30px rgba(0,0,0,.15);

    animation:socialGlow 3s infinite;

}

@keyframes socialGlow{

0%,100%{

box-shadow:
0 0 20px rgba(255,80,80,.25),
0 10px 30px rgba(0,0,0,.15);

}

50%{

box-shadow:
0 0 35px rgba(255,80,80,.6),
0 10px 35px rgba(0,0,0,.2);

}

}

.social-help-box h3{

margin:0 0 18px;

font-size:28px;

color:#d10000;

}

.social-heart{

display:inline-block;

animation:socialHeart 1s infinite;

transform-origin:center;

}

@keyframes socialHeart{

0%{transform:scale(1);}

15%{transform:scale(1.35);}

30%{transform:scale(1);}

45%{transform:scale(1.25);}

60%{transform:scale(1);}

100%{transform:scale(1);}

}

.social-help-box p{

font-size:16px;

line-height:1.8;

margin:15px 0;

}

.social-note{

font-weight:700;

font-size:18px;

color:#b45309;

}

@media(max-width:700px){

.social-help-box{

margin:20px 12px;

padding:20px;

}

.social-help-box h3{

font-size:22px;

}

.social-help-box p{

font-size:15px;

}

}
.site-development-note {

    max-width:1100px;
    margin:40px auto 25px;

    display:flex;
    align-items:center;
    gap:20px;

    padding:18px 25px;

    background:#f1f7ff;

    border:1px solid #d7e8ff;

    border-radius:14px;

}


.site-development-icon {

    font-size:35px;

}



.site-development-text {

    flex:1;

}



.site-development-text strong {

    display:block;

    color:#17417A;

    font-size:18px;

    margin-bottom:5px;

}



.site-development-text p {

    margin:0;

    color:#555;

    font-size:15px;

    line-height:1.5;

}



.site-development-btn {

    white-space:nowrap;

    background:#0077cc;

    color:#fff;

    padding:10px 22px;

    border-radius:8px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}


.site-development-btn:hover {

    background:#005fa8;

}



@media(max-width:700px){

.site-development-note {

    flex-direction:column;

    text-align:center;

}


.site-development-btn {

    width:100%;

}

}

#copyProtect {

    position: fixed;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    background: #111827;

    color: #ffffff;

    padding: 12px 20px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 600;

    z-index: 999999;

    display: none;

    box-shadow: 0 8px 25px rgba(0,0,0,.35);

    border: 1px solid #334155;

}




.faq-question {
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;

    background:#fff;
    border:1px solid #e3e8ef;

    padding:15px 18px;

    font-size:16px;
    font-weight:600;
    color:#17417A;

    cursor:pointer;

    text-align:left;

    border-radius:10px;

    transition:.3s;

}


/* текст вопроса */
.faq-question::before {

    content:"❓";

    margin-right:10px;

    font-size:16px;

}


/* плюс справа */
.faq-question::after {

    content:"+";

    min-width:28px;
    height:28px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#0057b7;

    color:#fff;

    font-size:22px;
    font-weight:400;

    transition:.35s;

}



/* когда открыт */
.faq-question.active::after {

    content:"−";

    background:#ff6b00;

    transform:rotate(180deg);

}



.faq-question:hover {

    background:#f5f9ff;

    border-color:#bcd7ff;

}

/* ======================================================
   ПРИЛОЖЕНИЕ / APK / MAX
====================================================== */

.app-max-block {

    width: min(100% - 30px, 760px);

    margin: 30px auto;

    padding: 24px;

    box-sizing: border-box;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f7fa
        );

    border: 1px solid rgba(0, 123, 255, 0.15);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.10);

}


/* ======================================================
   HEADER
====================================================== */

.app-max-header {

    text-align: center;

    margin-bottom: 20px;

}


.app-max-title {

    font-size: 24px;

    font-weight: 800;

    color: #111827;

    line-height: 1.25;

}


.app-max-subtitle {

    margin-top: 7px;

    font-size: 15px;

    color: #64748b;

}


/* ======================================================
   DESCRIPTION
====================================================== */

.app-max-description {

    color: #374151;

    font-size: 15px;

    line-height: 1.65;

    text-align: center;

    margin-bottom: 20px;

}


.app-max-description p {

    margin: 0 0 14px;

}


.app-max-description strong {

    color: #111827;

}


/* ======================================================
   ACTION BUTTONS
====================================================== */

.app-action {

    width: 100%;

    min-height: 68px;

    margin: 12px 0;

    padding: 10px 16px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    gap: 14px;

    border-radius: 15px;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;

}


/* INSTALL */

.app-action-install {

    border: 1px solid rgba(0, 123, 255, 0.25);

    background:
        linear-gradient(
            135deg,
            #007bff,
            #0067d9
        );

    color: #fff;

    box-shadow:
        0 5px 18px rgba(0, 123, 255, 0.25);

}


/* APK */

.app-action-apk {

    border: 1px solid rgba(255, 193, 7, 0.45);

    background:
        linear-gradient(
            135deg,
            #fff4c2,
            #ffe082
        );

    color: #111827;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.08);

}


/* ICON */

.app-action-icon {

    width: 42px;

    min-width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: rgba(255,255,255,0.22);

    font-size: 23px;

}


/* CONTENT */

.app-action-content {

    flex: 1;

    min-width: 0;

    text-align: left;

}


.app-action-title {

    display: block;

    font-size: 16px;

    font-weight: 800;

    line-height: 1.25;

}


.app-action-description {

    display: block;

    margin-top: 4px;

    font-size: 13px;

    opacity: 0.78;

    line-height: 1.35;

}


/* ARROW */

.app-action-arrow {

    font-size: 30px;

    line-height: 1;

    opacity: 0.55;

}


/* HOVER */

.app-action:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.14);

}


.app-action:active {

    transform: translateY(1px);

}


/* ======================================================
   MAX SECTION
====================================================== */

.max-section {

    margin-top: 28px;

    padding-top: 24px;

    border-top:
        1px solid rgba(0,0,0,0.08);

}


.max-section-title {

    text-align: center;

    font-size: 21px;

    font-weight: 800;

    color: #111827;

}


.max-section-text {

    margin-top: 6px;

    text-align: center;

    color: #64748b;

    font-size: 14px;

}


/* ======================================================
   MAX NOTE
====================================================== */

.max-section-note {

    margin: 18px 0;

    padding: 16px;

    border-radius: 14px;

    background:
        rgba(0, 123, 255, 0.06);

    border:
        1px solid rgba(0, 123, 255, 0.10);

    color: #374151;

    font-size: 14px;

    line-height: 1.6;

}


/* ======================================================
   MAX ACTION
====================================================== */

.max-action {

    width: 100%;

    min-height: 68px;

    margin: 12px 0;

    padding: 10px 14px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    gap: 13px;

    border-radius: 15px;

    background: #ffffff;

    border:
        1px solid rgba(0,0,0,0.08);

    color: #111827;

    text-decoration: none;

    box-shadow:
        0 4px 14px rgba(0,0,0,0.06);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;

}


.max-action:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(0,0,0,0.11);

}


.max-action:active {

    transform: translateY(1px);

}


/* ======================================================
   MAX ICON
====================================================== */

.max-icon {

    width: 46px;

    min-width: 46px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.max-icon img {

    width: 42px;

    height: 42px;

    display: block;

    object-fit: contain;

}


/* ======================================================
   MAX CONTENT
====================================================== */

.max-action-content {

    flex: 1;

    min-width: 0;

    text-align: left;

}


.max-action-title {

    display: block;

    font-size: 15px;

    font-weight: 800;

    line-height: 1.3;

}


.max-action-description {

    display: block;

    margin-top: 4px;

    font-size: 13px;

    color: #64748b;

    line-height: 1.35;

}


/* ======================================================
   BOTTOM
====================================================== */

.max-section-bottom {

    margin-top: 18px;

    text-align: center;

    color: #64748b;

    font-size: 13px;

    line-height: 1.5;

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 600px) {

    .app-max-block {

        width: calc(100% - 20px);

        margin: 22px auto;

        padding: 18px 14px;

        border-radius: 17px;

    }


    .app-max-title {

        font-size: 21px;

    }


    .app-max-description {

        font-size: 14px;

        line-height: 1.6;

    }


    .app-action {

        min-height: 64px;

        padding: 9px 12px;

        gap: 11px;

    }


    .app-action-title {

        font-size: 15px;

    }


    .app-action-description {

        font-size: 12px;

    }


    .max-section-title {

        font-size: 19px;

    }


    .max-section-note {

        padding: 13px;

        font-size: 13px;

    }


    .max-action {

        min-height: 64px;

        padding: 9px 10px;

    }


    .max-icon {

        width: 42px;

        min-width: 42px;

    }


    .max-icon img {

        width: 40px;

        height: 40px;

    }

}