/* ==========================================================
   РЕДУКС
   style.css

   Часть 1

   Содержание:

   1. Сброс
   2. Переменные
   3. Общие стили
   4. Контейнер
   5. Шапка
   6. Кнопки
   7. Hero
   8. Статистика

========================================================== */





/* ==========================================================
   1. СБРОС
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Inter", sans-serif;

    background: #f5f6f8;

    color: #151515;

}





/* ==========================================================
   2. ПЕРЕМЕННЫЕ
========================================================== */

:root {

    --blue: #0A84FF;

    --blue-hover: #006fe0;

    --green: #2ECC71;

    --red: #FF4D4F;

    --text: #151515;

    --gray: #6B7280;

    --border: #E5E7EB;

    --card: #FFFFFF;

    --background: #F5F6F8;

    --radius: 20px;

    --shadow:

        0 8px 24px rgba(0,0,0,.05);

}





/* ==========================================================
   3. ОБЩИЕ СТИЛИ
========================================================== */

body {

    background: var(--background);

    color: var(--text);

}

a {

    color: inherit;

    text-decoration: none;

}

img {

    display: block;

    max-width: 100%;

}

.section {

    margin-top: 30px;

}

h1 {

    font-size: clamp(40px, 6vw, 60px);

    line-height: 1.08;

    font-weight: 800;

    margin-bottom: 20px;

}

h2 {

    font-size: 34px;

    margin-bottom: 14px;

}

h3 {

    font-size: 20px;

    margin-bottom: 10px;

}

p {

    color: var(--gray);

    line-height: 1.6;

}

img.button-icon{
    height: 10px;
}



/* ==========================================================
   4. КОНТЕЙНЕР
========================================================== */

.container {

    width: min(1120px, 94%);

    margin: auto;

}





/* ==========================================================
   5. ШАПКА
========================================================== */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255,255,255,.85);

    backdrop-filter: blur(20px);

    border-bottom: 1px solid var(--border);

}

.header img {
    height: 35px;
}

.header-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    height: 64px;

    gap: 24px;

}

.logo {

    font-size: 28px;

    font-weight: 800;

    letter-spacing: -.5px;

}

.header-status {

    display: flex;

    align-items: center;

    gap: 10px;

    background: rgba(240,240,240,.95);

    border-radius: 999px;

    padding: 10px 18px;

    font-size: 15px;

    font-weight: 600;

}

.header-status-mini {

    display: none;

    align-items: center;

    gap: 10px;

    background: none;

    border-radius: 999px;

    padding: 10px 18px;

    font-size: 15px;

    font-weight: 600;

    border: 1px solid #bac1cf;
    width: fit-content;
}

.status-dot {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: var(--grey);


}



/* Зеленый */
.status-dot.open {
    background: var(--green);
	animation: pulse 2s infinite;
}

/* Красный */
.status-dot.closed {
    background: var(--red);
}

@keyframes pulse {

    0% {

        transform: scale(1);

        opacity: 1;

    }

    50% {

        transform: scale(1.4);

        opacity: .4;

    }

    100% {

        transform: scale(1);

        opacity: 1;

    }

}

.status-dot-mini {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: var(--grey);

}

/* Зеленый */
.status-dot-mini.open {
    background: var(--green);
	animation: pulse 2s infinite;
}

/* Красный */
.status-dot-mini.closed {
    background: var(--red);
}


.header-call {

    background: var(--blue);

    color: white;

    height: 42px;

    padding: 0 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    font-weight: 700;

    transition: .2s;

}

.header-call-mini {
    background: var(--blue);

    color: white;

    height: 42px;

    padding: 0 24px;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    font-weight: 700;

    transition: .2s;
    display: none;
}

.header-call:hover {

    background: var(--blue-hover);

}





/* ==========================================================
   6. КНОПКИ
========================================================== */

.button {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    height: 52px;

    padding: 0 26px;

    border-radius: 14px;

    font-weight: 700;

    transition: .25s;

}

.button-primary {

    background: var(--blue);

    color: white;

}

.button-primary:hover {

    background: var(--blue-hover);

    transform: translateY(-2px);

}

.button-secondary {

    background: white;

    border: 1px solid var(--border);

}

.button-secondary:hover {

    background: #F8F8F8;

}





/* ==========================================================
   7. HERO
========================================================== */

.hero {

    margin-top: 26px;

}

.hero-card {

    background:

        linear-gradient(
            180deg,
            #ffffff,
            #f8f9fb
        );

    border-radius: 26px;

    padding: 56px;

    box-shadow: var(--shadow);

}

.hero-label {

    display: inline-block;

    background: #EAF3FF;

    color: var(--blue);

    padding: 10px 18px;

    border-radius: 999px;

    font-weight: 700;

    margin-bottom: 24px;

}

.hero p {

    max-width: 760px;

    font-size: 18px;

}

.hero-buttons {

    display: flex;

    gap: 14px;

    margin-top: 36px;

}





/* ==========================================================
   8. СТАТИСТИКА
========================================================== */

.hero-stats {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 18px;

    margin-top: 48px;

}

.stat {

    background: white;

    border-radius: 18px;

    padding: 26px;

    border: 1px solid var(--border);

    text-align: center;

}

.stat strong {

    display: block;

    font-size: 34px;

    font-weight: 800;

}

.stat span {

    display: block;

    margin-top: 8px;

    color: var(--gray);

    font-size: 15px;

}

/* ==========================================================
   9. ПРЕИМУЩЕСТВА
========================================================== */

.advantages {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

}

.advantage {

    background: var(--card);

    border-radius: var(--radius);

    padding: 28px;

    border: 1px solid var(--border);

    transition: .25s;

}

.advantage:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow);

}

.icon {

    width: 54px;

    height: 54px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 16px;

    background: #EEF5FF;

    font-size: 24px;

    margin-bottom: 20px;

}

.advantage p {

    font-size: 15px;

}





/* ==========================================================
   10. РАСПИСАНИЕ
========================================================== */

.schedule-card {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;

    background: white;

    border-radius: 24px;

    padding: 38px;

    box-shadow: var(--shadow);

}

.schedule-main {

    min-width: 280px;

}

.schedule-status {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 12px;

    margin-bottom: 12px;

    font-size: 18px;

    font-weight: 700;

}

.schedule-main p {

    font-size: 16px;

}





/* ==========================================================
   КАРТОЧКИ ДНЕЙ
========================================================== */

.days {

    display: flex;

    gap: 14px;

    flex-wrap: nowrap;

}

.day {

    width: 118px;

    min-height: 118px;

    background: #FAFAFB;

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 16px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: .2s;

}

.day:hover {

    transform: translateY(-3px);

}

.day span {

    color: var(--gray);

    font-size: 14px;

}

.day strong {

    font-size: 24px;

    line-height: 1.15;

}

.today {

    background: #EAF3FF;

    border-color: #BFD8FF;

}

.today strong {

    color: var(--blue);

}

.weekend {

    background: #FFF5F5;

}

.weekend strong {

    color: #D93025;

}





/* ==========================================================
   11. КАРТА
========================================================== */

.map-card {

    background: white;

    border-radius: 24px;

    padding: 34px;

    box-shadow: var(--shadow);

}

.map-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 24px;

}

.map-links {

    display: flex;

    gap: 12px;

}

.map-links a {

    padding: 12px 20px;

    border-radius: 14px;

    background: #F4F5F6;

    transition: .2s;

    font-weight: 600;

}

.map-links a:hover {

    background: #E8EAED;

}

.map {

    height: 340px;

    border-radius: 20px;

    background: linear-gradient(
        135deg,
        #ECECEC,
        #E1E1E1
    );

    display: flex;

    justify-content: center;

    align-items: center;

    color: #777;

    font-size: 18px;

}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
	border-radius: 20px;
}




/* ==========================================================
   12. ПОДВАЛ
========================================================== */

footer {

    margin-top: 36px;

    margin-bottom: 30px;

}

.footer-content {

    background: white;

    border-radius: 24px;

    padding: 36px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    box-shadow: var(--shadow);

}





/* ==========================================================
   13. АДАПТИВНОСТЬ
========================================================== */

@media (max-width: 1100px) {

    .advantages {

        grid-template-columns: repeat(2, 1fr);

    }

    .schedule-card {

        flex-direction: column;

        align-items: flex-start;

    }

    .days {

        width: 100%;

        overflow-x: auto;

        padding-bottom: 4px;

    }

}





@media (max-width: 700px) {
	
	.header {
		position: static;
	}

   /* .header-content {

        height: auto;

        padding: 14px 0;

        flex-wrap: wrap;

        justify-content: center;

    }*/
    
    .header-status{
        display: none;
    }
    
    .header-status-mini{
        display: flex;
        /*margin-bottom: 20px;*/
        margin: 0 auto;
        margin-bottom: 20px;
    }
    
    .header-call {
        display: none;
    }
    
    .header-call-mini {
        display: flex;
    }

    .hero-card {

        padding: 30px;

    }

    h1 {

        font-size: 38px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .button {

        width: 100%;

    }

    .hero-stats {

        grid-template-columns: 1fr;

    }

    .advantages {

        grid-template-columns: 1fr;

    }

    .map-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

    }

    .map-links {

        width: 100%;

        flex-direction: column;

    }

    .map-links a {

        text-align: center;

    }

    .footer-content {

        flex-direction: column;

        gap: 24px;

        text-align: center;

    }

}





@media (max-width: 500px) {
	
	.header {
		position: static;
	}


    .day {

        min-width: 100px;

        width: 100px;

        min-height: 100px;

    }

}





.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}