
/* ===== ГЛОБАЛЬНЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text: #ffffff;
    --accent: rgba(255, 140, 0, 0.4);
}

/* ===== HTML ===== */
html {
    min-height: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    display: none;
}

/* ===== BODY ===== */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #000;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 18px;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* ===== ССЫЛКИ И ИЗОБРАЖЕНИЯ ===== */
a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ===== WRAPPER И CONTAINER ===== */
.wrapper {
    flex: 1 0 auto;
    background: radial-gradient(circle at top center, rgba(255, 140, 0, 0.8) 0%, rgba(255, 140, 0, 0) 20%), #000;
    max-width: 100%;
}

.container {
    max-width: 1600px;
    width: 98%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ===== HEADER ===== */
header {
    padding: 50px 0;
}

header nav {
    float: right;
    width: 50%;
}

header nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    z-index: 2;
    position: relative;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    color: #fff;
    font-size: 18px;
}

/* ===== LOGO И SUBTITLE ===== */
.logo {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}

.subtitle {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 300;
    color: #cfcfcf;
    text-transform: lowercase;
}

/* ===== ССЫЛКИ - СОСТОЯНИЯ ===== */
a,
a:visited {
    color: #ffffff;
}

a:hover,
a:focus {
    color: #e6e6e6;
    outline: none;
    box-shadow: none;
}

/* ===== ОСНОВНОЙ КОНТЕНТ - ГЛАВНАЯ ФОТО ===== */
.main-photo img {
    object-fit: cover;
    aspect-ratio: 1280 / 853;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px solid rgba(255, 140, 0, 0.4);
    border-radius: 15px;
    box-sizing: border-box;
}

.main-photo {
    position: relative;
    z-index: 1;
}

.main-photo .info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    color: #fff;
}

.main-photo h3 {
    font-size: clamp(18px, 3.5vw, 26px);
    font-weight: 500;
    letter-spacing: 1px;
}

.main-photo h1 {
    font-size: clamp(44px, 6.5vw, 100px);
    font-weight: 800;
    letter-spacing: 2px;
    margin: 6px 0;
}

.main-photo h2 {
    font-size: clamp(18px, 4vw, 32px);
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 1px;
}

/* ===== КНОПКИ ДЕЙСТВИЙ ===== */
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 180px);
    justify-content: center;
    align-items: flex-end;
    padding: 30px 0;
}

.info-action {
    flex: 1 1 320px;
}

.filial {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex: 1 1 320px;
}

.filial h2 {
    position: relative;
    font-weight: 400;
    font-size: 20px;
}

/* ===== КНОПКА ИНФОРМАЦИЯ И ФИЛИАЛ ===== */
.btn-info,
.btn-filial {
    min-width: 0;
    width: 100%;
    display: inline-block;
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 140, 0, 0.4);
    border-radius: 15px;
    padding: 26px 38px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    max-width: 700px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    text-align: left;
}

.btn-info {
    width: 100%;
}

.btn-filial {
    position: relative;
    overflow: hidden;
    background: #c48e5e;
    background: linear-gradient(90deg, rgba(196, 142, 94, 1) 0%, rgba(143, 88, 60, 1) 50%, rgba(145, 86, 64, 1) 50%, rgba(128, 80, 51, 1) 69%, rgba(143, 93, 33, 1) 100%);
    width: 100%;
    border-radius: 20px;
    max-width: 1200px;
    padding: 36px 60px;
    font-size: 22px;
    text-align: center;
    transition: color 0.35s ease, border-color 0.35s ease, transform 0.2s ease;
    z-index: 0;
}

.btn-filial:hover,
.btn-info:hover {
    transform: scale(1.03);
}

.btn-filial::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(143, 93, 33, 1) 0%, rgba(128, 80, 51, 1) 31%, rgba(145, 86, 64, 1) 50%, rgba(143, 88, 60, 1) 50%, rgba(196, 142, 94, 1) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.btn-filial:hover::after {
    opacity: 1;
}

.btn-info::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    right: 18px;
    bottom: 18px;
    border-right: 2px solid rgba(255, 140, 0, 0.4);
    border-top: 2px solid rgba(255, 140, 0, 0.4);
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.btn-info:hover {
    background: rgba(255, 140, 0, 0.15);
    border-color: rgba(255, 140, 0, 0.4);
    color: #ffffff;
}

.btn-info:hover::after {
    transform: rotate(45deg);
    border-color: rgba(255, 140, 0, 0.4);
}

/* ===== ТЕКСТ НА КНОПКАХ ===== */
.btn-title {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 10px;
    width: max-content;
}

.btn-subtitle {
    display: block;
    margin: 0 auto 10px;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    width: max-content;
}

.btn-desc {
    display: block;
    margin: 0 auto 8px;
    text-align: center;
    width: max-content;
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.7;
}

.sub-desc {
    display: block;
    margin: 0 auto 0;
    text-align: center;
    width: max-content;
    font-size: 16px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.5;
}

/* ===== УСЛУГИ (ТАБЛИЦА УСЛУГ) ===== */
.uslugi {
    margin-top: 100px;
    color: var(--text);
    font-family: "Akt", sans-serif;
    font-weight: 900;
    font-size: 80px;
}

.service-tabs {
    margin-top: 80px;
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    background: transparent;
    border: 1px solid #222;
    color: white;
    padding: 18px 35px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: .3s;
}

.tab.active {
    border-color: var(--accent);
    background: rgba(255, 140, 0, 0.1);
}

.tab:hover {
    border-color: var(--accent);
}

.price-list {
    border-top: 1px solid var(--accent);
    padding-top: 40px;
}

.price-list table {
    width: 100%;
    border-collapse: collapse;
}

.price-list th {
    color: #bdbdbd;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 30px;
}

.price-list td {
    padding: 18px 0;
    font-size: 30px;
    color: white;
}

.price-list td:first-child {
    width: 50%;
    text-align: left;
    font-size: 22px;
}

.price-list td:not(:first-child) {
    text-align: center;
    font-weight: 600;
}

.price-list tr {
    border: none;
}

.hidden {
    display: none !important;
}

/* ===== REVEAL АНИМАЦИЯ ===== */
.reveal {
    opacity: 0;
    transition: opacity 0.5s ease;
}


.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== СОЦИАЛЬНЫЕ СЕТИ ===== */
.social-block {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
    min-width: 0;
}

.social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.social-title {
    font-family: "Alumni Sans SC", sans-serif;
    display: inline-block;
    white-space: nowrap;
    font-weight: 300;
    font-size: 30px;
    opacity: 0.5;
    padding-right: 50px;
}

.social li {
    list-style: none;
    margin-right: 10px;
    font-weight: 800;
    font-size: 15px;
}

.social li a {
    transition: all 500ms ease;
}

.social li a:hover {
    color: #ff9b2d;
}

@media (max-width: 480px) {
    .main-photo h1 { font-size: 32px; letter-spacing: 0.6px; }
    .main-photo h2, .main-photo h3 { font-size: 16px; letter-spacing: 0.6px; }
}

@media (max-width: 992px) {
    .btn-info { max-width: none; }
    header { padding: 10px 0; }
    .logo { font-size: 40px; }
    header nav { float: none; width: 100%; margin-top: 10px; }
    header nav ul { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }
    .main-photo .info { padding: 0 12px; }
    .button-row { flex-direction: column; gap: 20px; align-items: stretch; }
    .info-action, .filial { flex: 1 1 auto; }
    .btn-info, .btn-filial { min-width: auto; width: 100%; padding: 20px 24px; }
    .btn-title { font-size: 32px; }
    .btn-subtitle { font-size: 22px; }
    .sub-desc { font-size: 18px; }
    .filial { min-width: 0; }
}

@media (max-width: 600px) {
    html, body { font-size: 16px; }
    .container { width: 95%; }
    header { padding: 20px 0; }
    header nav { width: auto; float: none; }
    header nav ul { gap: 18px; }
    .logo { font-size: 36px; }
    .subtitle { font-size: 12px; }
}

@media (max-width: 480px) {
    header { padding: 20px 0; }
    .logo { font-size: 28px; }
    .container { width: 96%; }
    .main-photo .info { padding: 0 8px; }
}

@media (max-width: 250px) {
    .subtitle { display: none; }
}

@media (max-width: 768px) {
    body { min-height: auto; }
    .wrapper { flex: 0 1 auto; }

    header nav ul { flex-wrap: nowrap; gap: clamp(6px, 2vw, 20px); }
    header nav ul li a { font-size: clamp(11px, 3.2vw, 16px); white-space: nowrap; }

    .social-title { white-space: normal; font-size: 18px; padding-right: 0; text-align: center; }
    .social { flex-wrap: wrap; justify-content: center; }
    .button-row { flex-direction: column; gap: 20px; align-items: stretch; }
    .info-action, .filial, .social-block { width: 100%; text-align: center; }
    .btn-info, .btn-filial { min-width: auto; width: 100%; padding: 20px 24px; }
    .btn-info { text-align: center; }
    .btn-desc { text-align: center; width: auto; }
    .btn-title, .btn-subtitle { width: auto; margin: 0 auto 10px; }
    .btn-title { font-size: 32px; }
    .btn-subtitle { font-size: 22px; }
    .sub-desc { display: block; text-align: center; font-size: 22px; margin: 0 auto 10px; width: auto; }
    .filial { min-width: auto; }
    .social-block { justify-content: center; margin-left: 0; }
}

.uslugi { margin-top: 100px; color: var(--text); font-family: "Akt", sans-serif; font-weight: 900; font-size: 80px; }
.service-tabs { margin-top: 80px; display: flex; gap: 20px; margin-bottom: 60px; flex-wrap: wrap; }
.tab {
    -webkit-tap-highlight-color: transparent;
    outline: none; background: transparent; border: 1px solid #222; color: white; padding: 18px 35px; border-radius: 12px; font-size: 18px; cursor: pointer; transition: .3s; }
.tab.active {
    border-color: var(--accent);
    background: rgba(255, 140, 0, 0.1);
}
.tab:hover { border-color: var(--accent); }
.price-list { border-top: 1px solid var(--accent); padding-top: 40px; }

.reveal { opacity: 0; transition: opacity 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.price-list table { width: 100%; border-collapse: collapse; }
.price-list th { color: #bdbdbd; font-size: 16px; font-weight: 600; text-align: center; padding-bottom: 30px; }
.price-list td { padding: 18px 0; font-size: 30px; color: white; }
.price-list td:first-child { width: 50%; text-align: left; font-size: 22px; }
.price-list td:not(:first-child) { text-align: center; font-weight: 600; }
.price-list tr { border: none; }
.hidden { display: none !important; }

.social-block { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.social { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; }
.social-title { font-family: "Alumni Sans SC", sans-serif; display: inline-block; white-space: nowrap; font-weight: 300; font-size: 30px; opacity: 0.5; padding-right: 50px; }
.social li { list-style: none; margin-right: 10px; font-weight: 800; font-size: 15px; }
.social li a { transition: all 500ms ease; }
.social li a:hover { color: #ff9b2d; }

/* ===== FOOTER (ПОДВАЛ) ===== */
footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 40px;
    row-gap: 8px;
    max-width: 1600px;
    width: 98%;
    margin: 100px auto 0;
}

.footer.container {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin: 0;
}

.footer-logo {
    font-family: "Akt", sans-serif;
    font-weight: 900;
    font-size: 30px;
    color: var(--text);
}

.footer-subtitle {
    font-family: "Akt", sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: var(--text);
}

.footer-info {
    display: inline-block;
    vertical-align: middle;
}

.footer-social {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 50px;
    padding: 0;
}

.footer-social li {
    list-style: none;
    margin-right: 10px;
    font-weight: 800;
    font-size: 15px;
}

.footer-social li a {
    transition: all 500ms ease;
}

.footer-social li a:hover {
    color: #ff9b2d;
}

.footer-social ul {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.footer-email,
.footer-time,
.footer-inn,
.footer-oferta,
.footer-nav {
    min-width: 0;
}

.footer-email {
    grid-column: 1;
    grid-row: 2;
    text-decoration: underline;
    text-decoration-color: var(--text);
    text-decoration-thickness: 1px;
    font-family: "Akt", sans-serif;
    font-weight: 500;
}

.footer-time {
    grid-column: 1;
    grid-row: 3;
    font-family: "Akt", sans-serif;
    font-weight: 300;
    font-size: 14px;
}

.footer-inn {
    grid-column: 1;
    grid-row: 4;
    margin-top: 20px;
}

.footer-inn span {
    display: block;
    opacity: 0.5;
    font-family: "Akt", sans-serif;
    font-weight: 300;
    margin-top: 5px;
    font-size: 12px;
}

.footer-oferta {
    grid-column: 2;
    grid-row: 4;
    margin-top: 20px;
    font-family: "Akt", sans-serif;
    font-weight: 300;
    font-size: 14px;
    opacity: 0.5;
    max-width: 360px;
}

.footer-nav {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: start;
    opacity: 0.5;
}

.footer-nav a {
    font-family: "Akt", sans-serif;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 100px);
}

.footer-nav li {
    list-style: none;
}

@media (max-width: 992px) {
    footer { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto auto auto; }
    .footer.container { grid-row: 1; }
    .footer-email     { grid-column: 1; grid-row: 2; }
    .footer-time      { grid-column: 1; grid-row: 3; }
    .footer-inn       { grid-column: 1; grid-row: 4; }
    .footer-oferta { grid-column: 1; grid-row: 5; max-width: 100%; }
    .footer-nav { grid-column: 1; grid-row: 6; align-self: start; }
    .footer-nav ul { flex-wrap: wrap; gap: 16px; }
}

@media (hover: none) {
    a:hover, a:focus, .tab:hover, .btn-filial:hover, .btn-info:hover, .footer-social li a:hover {
        color: inherit !important; background: none !important; border-color: transparent !important;
        transform: none !important; box-shadow: none !important; opacity: 1 !important;
    }
}

@media (hover: none) {
    .btn-filial:hover {
        background: linear-gradient(90deg, rgba(196, 142, 94, 1) 0%, rgba(143, 88, 60, 1) 50%, rgba(145, 86, 64, 1) 50%, rgba(128, 80, 51, 1) 69%, rgba(143, 93, 33, 1) 100%) !important;
        transform: none !important;
    }
}

.tab {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.tab.active {
    background: rgba(255, 140, 0, 0.1);
}

.tab.active {
    border: 2px solid #ff8c00;
    background: rgba(255, 140, 0, 0.15);
    color: #ff8c00;
    font-weight: 600;
}

@media (hover: none) {
    .tab:hover {
        border-color: #222 !important;
    }
}
.tab.active {
    border: 2px solid #ff8c00 !important;
    background: rgba(255, 140, 0, 0.15) !important;
}

.uslugi {
    margin-top: 40px !important;
}

.main-photo.reveal {
    opacity: 1 !important;
    transform: none !important;
}
