/* SERVICE TIME - Stylesheet */
:root {
    --primary: #da8642;
    --primary-dark: #b86729;
    --primary-light: #fbe6d5;
    --orange-text: #da8642;
    --bg-light: #f7f7fa;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-color: #e5e5e5;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 30px rgba(0, 0, 0, 0.15);

    /* Фирменная палитра "Сервис Тайм" */
    --color-bg-main: #FDFBF7;       /* Мягкий кремовый/пергаментный фон блоков */
    --color-bg-light: #FBF9F3;      /* Чуть более насыщенный оттенок для чередования */
    --color-bg-dark: #4A2E1B;       /* Глубокий терракотово-коричневый (фон формы/обложки) */
    --color-accent: #D47A3B;        /* Терракотово-оранжевый из навигационной панели */
    --color-accent-hover: #BD6528;  /* Глубокий амбровый для эффекта наведения */
    --color-gold: #B8860B;          /* Патина / старое золото для акцентных цифр */
    --color-brass: #E6D8B8;         /* Светлая латунь для тонких рамок и разделителей */
    
    /* Цвета текста */
    --color-text-dark: #2C2623;     /* Насыщенный шоколадно-серый для заголовков и текста */
    --color-text-muted: #5C5552;    /* Приглушенный серый для подзаголовков и боли */
    --color-text-light: #FFFFFF;    /* Белый для контрастных фонов */

    /* Типографика */
    --font-header: "PT Serif", "Georgia", serif;     /* Премиальный шрифт старой школы */
    --font-body: "PT Sans", "Inter", sans-serif;    /* Читаемый, чистый шрифт для контента */
    
    /* Системные параметры */
    --container-width: 1200px;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: #f6f6f6;
    color: var(--text-dark);
    font-family: var(--font-body), Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-image: url('../img/fon.webp');
    background-repeat: repeat;
    background-position: top center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page container (matches original 1200px width limit) */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header Section */
header {
    background-color: #FBF7F0;
    padding: 10px 15px;
}

.header-row {
    display: grid;
    grid-template-columns: 8.33% 25% 25% 41.67%; /* matches col-md-1, col-md-3, col-md-3, col-md-5 */
    width: 100%;
    align-items: center;
}

/* Logo shield design */
.logo-area {
    align-self: start;
}

.logoHref {
    display: block;
    margin-top: -10px; /* Поднимаем логотип к самому верху шапки */
    margin-bottom: -102px;
    z-index: 150;
    position: relative;
}

.logoHref img {
    width: 243px;
    height: 172px;
    display: block;
}

/* Announcement Block Obj */
#Obj {
    padding: 10px;
}

.titleObj {
    color: #da8642;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    text-align: center;
}

.announcement-text-box {
    font-weight: bold;
    color: #cc0000;
    font-size: 14px;
    text-align: center;
}

.announcement-text-box p {
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* Contacts Header */
.contact_clock {
    line-height: 22px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: right;
    font-size: 13px;
    color: #333333;
}

.contact_clock a {
    color: #da8642;
    text-decoration: none;
    font-weight: bold;
}

.contact_clock a:hover {
    text-decoration: underline;
}

/* Navigation Menu */
nav:not(.footer-vintage-nav), #custom-bootstrap-menu {
    background-color: #1E110A;
    border-top: 1px solid rgba(230, 216, 184, 0.2);
    border-bottom: 1px solid rgba(230, 216, 184, 0.2);
    border-left: none;
    border-right: none;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 8px 0;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.mobile-nav-brand {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap; /* Prevent horizontal wrapping */
}

.nav-links li {
    flex: 0 0 auto;
    text-align: center;
}

/* Subpages Logo Badge */
.logo-badge {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-badge img {
    width: 60px;
    height: auto;
    display: block;
}

.logo-badge .brand-name {
    font-family: "PT Serif", "Georgia", serif;
    font-size: 20px;
    font-weight: 700;
    color: #da8642; /* Matches terracotta primary color */
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-badge .brand-sub {
    font-family: "PT Sans", "Inter", sans-serif;
    font-size: 11px;
    color: #666666;
    margin-top: 2px;
}

/* Subpages Announcement Block */
.announcement-block {
    text-align: center;
    padding: 8px 15px;
    background-color: #FFF9F6;
    border: 1px solid var(--color-brass, #E6D8B8);
    border-radius: 4px;
    max-width: 380px;
    margin: 0 auto;
}

.announcement-block .announcement-title {
    color: #da8642;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-block .announcement-text {
    font-weight: bold;
    color: #cc0000;
    font-size: 13px;
    line-height: 1.4;
}

.nav-links li a {
    display: block;
    padding: 10px 18px;
    color: rgba(253, 251, 247, 0.7);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 3px;
    border: 1px solid rgba(230, 216, 184, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap; /* Prevent horizontal wrapping to 2 lines */
    text-wrap: nowrap;
}

.nav-links li a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(230, 216, 184, 0.3);
}

.nav-links li.active a {
    background-color: #D47A3B;
    color: #ffffff;
    border-color: #D47A3B;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3), 0 0 15px rgba(212, 122, 59, 0.35);
    transform: translateY(1px);
}

/* Burger Menu for Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    cursor: pointer;
    margin: 15px 0;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Banner area & Circles */
.clock_home {
    background: url('../images/home_img.webp') repeat-x scroll 0 0 #F8AA57;
    position: relative;
    background-position: center;
    background-position-y: 0;
    height: 724px;
    width: 100%;
}

.rowIconsSlideHome {
    padding-top: 361px;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.rowIconsSlideHome .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Individual button classes */
.germrtichnost, .mify_chasov, .kak_isportit, .swatch, .kak_vibrat_remeshok, .chasovie_remeshki {
    height: 159px;
    width: 159px;
    margin: auto;
    position: relative;
    transition: transform 0.2s;
}

.germrtichnost:hover, .mify_chasov:hover, .kak_isportit:hover, .swatch:hover, .kak_vibrat_remeshok:hover, .chasovie_remeshki:hover {
    transform: translateY(-5px);
}

.germrtichnost {
    background: url('../images/germetichnost.webp') no-repeat center;
    background-size: contain;
    margin-top: -23px;
}

.mify_chasov {
    background: url('../images/mify_chasov.webp') no-repeat center;
    background-size: contain;
    margin-top: -6px;
}

.kak_isportit {
    background: url('../images/kak_isportit.webp') no-repeat center;
    background-size: contain;
}

.swatch {
    background: url('../images/swatch.webp') no-repeat center;
    background-size: contain;
}

.kak_vibrat_remeshok {
    background: url('../images/kak_vibrat_remeshok.webp') no-repeat center;
    background-size: contain;
    margin-top: -16px;
}

.chasovie_remeshki {
    background: url('../images/chasovie_remeshki.webp') no-repeat center;
    background-size: contain;
    margin-top: -41px;
}

.germrtichnost div, .mify_chasov div, .kak_isportit div, .kak_vibrat_remeshok div, .chasovie_remeshki div, .swatch div {
    color: #fff;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 1px 3px #000;
    width: 81%;
    padding-top: 64%;
    margin: auto;
    font-size: 13px;
    line-height: 1.2;
}

.germrtichnost a, .mify_chasov a, .kak_isportit a, .swatch a, .kak_vibrat_remeshok a, .chasovie_remeshki a {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

/* Main Content Layout */
main {
    flex: 1;
    padding: 30px 15px 40px;
    max-width: 100%;
}

.content-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.three-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

/* Typography */
h1 {
    color: var(--primary-dark);
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 8px;
}

h2 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

p {
    margin-bottom: 15px;
    color: #444;
}

/* Feature/Article Cards */
.info-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 18px;
}

/* Interactive Price Lists */
.price-section {
    margin-top: 30px;
}

.price-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.price-tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.price-tab-btn:hover {
    background-color: #f0f0f5;
    color: var(--primary);
}

.price-tab-btn.active {
    background-color: var(--primary);
    color: white;
}

.price-table-container {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.price-table-container.active {
    display: block;
}

table.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

table.price-table th, table.price-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table.price-table th {
    background-color: #f7f7fa;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

table.price-table tr:hover {
    background-color: #fdf6f0;
}

table.price-table td.price-col {
    font-weight: bold;
    color: var(--primary-dark);
    text-align: right;
    white-space: nowrap;
}

/* Contacts & Map Section */
.contacts-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 40px;
}

.contacts-info {
    font-size: 15px;
}

.contacts-info ul {
    list-style: none;
}

.contacts-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contacts-info li strong {
    width: 120px;
    flex-shrink: 0;
    color: var(--primary-dark);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    height: 450px;
}

/* Case study / Gallery Layout */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.case-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f5;
}

.case-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--primary-dark);
}

/* Footer Section */
footer {
    background-color: #2b2b2b;
    color: #bbbbbb;
    padding: 40px;
    margin-top: 40px;
    font-size: 13px;
}

.footer-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 15px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #bbbbbb;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.copyright {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    color: #888888;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
/* Mobile/Tablet Announcement Bar styling - Premium Design */
.mobile-announcement-bar {
    background-color: #FFF9F6;
    border-top: 1px solid var(--color-brass, #E6D8B8);
    border-bottom: 2px solid var(--color-accent, #D47A3B);
    padding: 12px 20px;
    text-align: center;
    display: none; /* Hidden on desktop by default */
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    position: relative;
    z-index: 4;
}

.mobile-announcement-bar .container-announcement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-announcement-bar .announcement-badge {
    background: linear-gradient(135deg, var(--color-accent, #D47A3B) 0%, var(--color-accent-hover, #BD6528) 100%);
    color: #FFFFFF;
    font-family: var(--font-body), sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 5px rgba(212, 122, 59, 0.2);
    animation: pulseGlow 2s infinite ease-in-out;
}

.mobile-announcement-bar .announcement-text {
    font-family: var(--font-header), serif;
    font-size: 13.5px;
    font-style: italic;
    font-weight: 700;
    color: var(--color-text-dark, #2C2623);
    line-height: 1.4;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 122, 59, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(212, 122, 59, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 122, 59, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .header-col-spacer {
        display: none !important;
    }
    .desktop-announcement, .announcement-block {
        display: none !important;
    }
    .mobile-announcement-bar {
        display: block;
    }
    .header-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        padding: 10px 0;
    }
    .logo-area {
        flex-shrink: 0;
        align-self: center;
    }
    .logoHref {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        z-index: 150 !important;
    }
    .logoHref img {
        width: 243px !important;
        height: 172px !important;
    }
    .logo-badge img {
        width: 50px; /* Scale down subpage logo badge */
    }
    .logo-badge .brand-name {
        font-size: 17px;
    }
    .header-col-contacts, .contacts-header {
        flex-shrink: 0;
        text-align: right;
        margin-left: auto !important;
    }
    .nav-links li a {
        padding: 14px 12px;
        font-size: 12px;
    }
    
    /* Premium Vintage Cards replacing circles on tablet/mobile */
    .germrtichnost, .mify_chasov, .kak_isportit, .swatch, .kak_vibrat_remeshok, .chasovie_remeshki {
        background-color: rgba(253, 251, 247, 0.85) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M0 8 l8 -8 l8 8 l-8 8 Z' fill='none' stroke='rgba(230, 216, 184, 0.25)' stroke-width='0.5'/%3E%3Cpath d='M8 8 m-4 0 a4 4 0 1 0 8 0 a4 4 0 1 0 -8 0' fill='none' stroke='rgba(230, 216, 184, 0.18)' stroke-width='0.5'/%3E%3C/svg%3E") !important;
        border: 1px solid var(--color-brass, #E6D8B8) !important;
        border-radius: 6px !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 10px rgba(0, 0, 0, 0.04) !important;
        display: flex !important;
        align-items: center;
        width: 100% !important;
        height: 80px !important;
        margin-top: 0 !important; /* Reset staggered offsets */
        text-shadow: none !important;
        position: relative !important;
        overflow: hidden !important;
        transition: border-color 0.3s var(--transition-smooth),
                    box-shadow 0.3s var(--transition-smooth),
                    transform 0.3s var(--transition-smooth) !important;
    }

    /* Limit numbers styling */
    .germrtichnost::before { content: "№ 01" !important; }
    .mify_chasov::before { content: "№ 02" !important; }
    .kak_isportit::before { content: "№ 03" !important; }
    .swatch::before { content: "№ 04" !important; }
    .kak_vibrat_remeshok::before { content: "№ 05" !important; }
    .chasovie_remeshki::before { content: "№ 06" !important; }

    .germrtichnost::before, .mify_chasov::before, .kak_isportit::before, .swatch::before, .kak_vibrat_remeshok::before, .chasovie_remeshki::before {
        position: absolute !important;
        top: 8px !important;
        left: 10px !important;
        font-family: var(--font-body), monospace !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        color: var(--color-accent, #D47A3B) !important;
        opacity: 0.65 !important;
        line-height: 1 !important;
        z-index: 2 !important;
    }

    .germrtichnost a, .mify_chasov a, .kak_isportit a, .swatch a, .kak_vibrat_remeshok a, .chasovie_remeshki a {
        display: flex !important;
        align-items: center;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        text-decoration: none !important;
        padding: 15px !important;
        box-sizing: border-box !important;
        z-index: 1 !important;
    }

    /* Gear behind cards */
    .germrtichnost a::after, .mify_chasov a::after, .kak_isportit a::after, .swatch a::after, .kak_vibrat_remeshok a::after, .chasovie_remeshki a::after {
        content: "" !important;
        position: absolute !important;
        right: -10px !important;
        bottom: -10px !important;
        width: 44px !important;
        height: 44px !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3E%3Ccircle cx='20' cy='20' r='14' stroke='%23D47A3B' stroke-width='1' stroke-dasharray='2 2'/%3E%3Ccircle cx='20' cy='20' r='6' stroke='%23D47A3B' stroke-width='1'/%3E%3Cpath d='M20 2 L20 5 M20 35 L20 38 M2 L20 L5 20 M35 20 L38 20 M7.3 7.3 L9.5 9.5 M30.5 30.5 L32.7 32.7 M7.3 32.7 L9.5 30.5 M30.5 7.3 L32.7 9.5' stroke='%23D47A3B' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        opacity: 0.05 !important;
        transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease !important;
        pointer-events: none !important;
        z-index: 0 !important;
    }

    .germrtichnost div, .mify_chasov div, .kak_isportit div, .swatch div, .kak_vibrat_remeshok div, .chasovie_remeshki div {
        padding-top: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        color: var(--color-text-dark, #2C2623) !important;
        text-shadow: none !important;
        font-family: var(--font-body), sans-serif !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        text-align: center !important;
        z-index: 2 !important;
    }

    /* Elegant Amber arrow pseudo-element */
    .germrtichnost div::after, .mify_chasov div::after, .kak_isportit div::after, .swatch div::after, .kak_vibrat_remeshok div::after, .chasovie_remeshki div::after {
        content: " →";
        color: var(--color-accent, #D47A3B);
        font-weight: bold;
        transition: transform 0.2s ease;
        display: inline-block;
        margin-left: 4px;
    }

    /* Hover animations */
    .germrtichnost:hover, .mify_chasov:hover, .kak_isportit:hover, .swatch:hover, .kak_vibrat_remeshok:hover, .chasovie_remeshki:hover {
        border-color: var(--color-accent, #D47A3B) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 15px rgba(212, 122, 59, 0.12) !important;
        transform: translateY(-2px) !important;
    }

    .germrtichnost:hover a::after, .mify_chasov:hover a::after, .kak_isportit:hover a::after, .swatch:hover a::after, .kak_vibrat_remeshok:hover a::after, .chasovie_remeshki:hover a::after {
        transform: rotate(120deg) !important;
        opacity: 0.15 !important;
    }

    .germrtichnost:hover div::after, .mify_chasov:hover div::after, .kak_isportit:hover div::after, .swatch:hover div::after, .kak_vibrat_remeshok:hover div::after, .chasovie_remeshki:hover div::after {
        transform: translateX(3px);
    }

    .rowIconsSlideHome {
        padding-top: 390px;
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }
    .rowIconsSlideHome .col-md-6 {
        width: 100%;
    }
    .rowIconsSlideHome .row {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 550px;
        margin: 0 auto;
    }
    .clock_home {
        height: 710px;
    }
    main {
        padding-top: 40px;
    }
    .two-columns, .three-columns, .contacts-grid {
        grid-template-columns: 1fr;
    }
    .footer-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        display: none !important;
    }
    .header-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 15px 0;
    }
    .logo-area {
        align-self: center;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 5px;
    }
    .logoHref {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        display: flex;
        justify-content: center;
    }
    .logoHref img {
        width: 160px;
        height: auto;
    }
    .logo-badge {
        justify-content: center;
        margin-bottom: 5px;
        width: 100%;
    }
    .logo-badge img {
        width: 50px;
    }
    .header-col-contacts, .contacts-header {
        text-align: center !important;
        width: 100%;
    }
    .contact_clock, .contacts-header .address, .contacts-header .phones, .contacts-header .social-links {
        text-align: center !important;
    }
    nav:not(.footer-vintage-nav), #custom-bootstrap-menu {
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        max-width: 100%;
        padding: 5px 15px;
    }
    .nav-container {
        justify-content: space-between;
    }
    .mobile-nav-brand {
        display: flex !important;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        z-index: 110;
    }
    .mobile-brand-logo {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }
    .mobile-brand-name {
        font-family: "PT Serif", "Georgia", serif;
        font-size: 16px;
        font-weight: 700;
        color: #B79554;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1E110A;
        border-top: 1px solid rgba(230, 216, 184, 0.15);
        border-bottom: 1px solid rgba(230, 216, 184, 0.2);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
        gap: 0;
        padding: 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        flex: none;
        text-align: left;
    }
    .nav-links li a {
        padding: 15px 20px;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(230, 216, 184, 0.1);
        background-color: transparent;
        font-size: 13px;
        color: rgba(253, 251, 247, 0.7);
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-align: left;
    }
    .nav-links li.active a {
        background-color: #D47A3B;
        color: #ffffff;
        box-shadow: none;
        transform: none;
        border-color: transparent;
    }
    .nav-links li a:hover {
        background-color: rgba(253, 251, 247, 0.05);
        color: #ffffff;
    }
    .nav-links li:last-child a {
        border-bottom: none;
    }
    .rowIconsSlideHome .col-md-6, .rowIconsSlideHome .row {
        display: contents;
    }
    .rowIconsSlideHome {
        padding-top: 320px; /* Смещено вниз еще на 100px */
        display: grid !important;
        grid-template-columns: repeat(2, 130px) !important;
        justify-content: center !important;
        gap: 15px !important;
        width: 100%;
        margin: auto;
    }
    .germrtichnost, .mify_chasov, .kak_isportit, .swatch, .kak_vibrat_remeshok, .chasovie_remeshki {
        width: 130px !important;
        height: 90px !important;
        margin-top: 0 !important;
    }
    .germrtichnost a, .mify_chasov a, .kak_isportit a, .swatch a, .kak_vibrat_remeshok a, .chasovie_remeshki a {
        padding: 10px !important;
    }
    .germrtichnost div, .mify_chasov div, .kak_isportit div, .kak_vibrat_remeshok div, .chasovie_remeshki div, .swatch div {
        font-size: 12px !important;
        text-align: center !important;
    }
    .germrtichnost::before, .mify_chasov::before, .kak_isportit::before, .swatch::before, .kak_vibrat_remeshok::before, .chasovie_remeshki::before {
        font-size: 9px !important;
        top: 6px !important;
        left: 8px !important;
    }
    .germrtichnost a::after, .mify_chasov a::after, .kak_isportit a::after, .swatch a::after, .kak_vibrat_remeshok a::after, .chasovie_remeshki a::after {
        width: 36px !important;
        height: 36px !important;
        right: -8px !important;
        bottom: -8px !important;
    }
    .clock_home {
        height: 640px !important; /* Увеличено еще на 100px, чтобы опустить границу первого экрана */
    }
    main {
        padding-top: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .price-tabs {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logoHref img {
        width: 140px;
    }
    .logo-badge img {
        width: 45px;
    }
    .logo-badge .brand-name {
        font-size: 15px;
    }
    .rowIconsSlideHome {
        padding-top: 290px !important; /* Смещено вниз еще на 100px */
        grid-template-columns: repeat(2, 125px) !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .germrtichnost, .mify_chasov, .kak_isportit, .swatch, .kak_vibrat_remeshok, .chasovie_remeshki {
        width: 125px !important;
        height: 88px !important;
    }
    .germrtichnost a, .mify_chasov a, .kak_isportit a, .swatch a, .kak_vibrat_remeshok a, .chasovie_remeshki a {
        padding: 8px !important;
    }
    .germrtichnost div, .mify_chasov div, .kak_isportit div, .kak_vibrat_remeshok div, .chasovie_remeshki div, .swatch div {
        font-size: 11px !important;
    }
    .germrtichnost::before, .mify_chasov::before, .kak_isportit::before, .swatch::before, .kak_vibrat_remeshok::before, .chasovie_remeshki::before {
        font-size: 8px !important;
        top: 5px !important;
        left: 6px !important;
    }
    .germrtichnost a::after, .mify_chasov a::after, .kak_isportit a::after, .swatch a::after, .kak_vibrat_remeshok a::after, .chasovie_remeshki a::after {
        width: 32px !important;
        height: 32px !important;
        right: -6px !important;
        bottom: -6px !important;
    }
    .clock_home {
        height: 600px !important; /* Увеличено еще на 100px, чтобы опустить границу первого экрана */
    }
}

/* Global Premium Layout & CTA Elements */
.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.btn-cta {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-text-light);
    background-color: var(--color-accent);
    padding: 16px 36px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(212, 122, 59, 0.2);
    transition: background-color 0.3s var(--transition-smooth), 
                transform 0.2s var(--transition-smooth),
                box-shadow 0.3s var(--transition-smooth);
}

.btn-cta:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 6px 20px rgba(212, 122, 59, 0.3);
    transform: translateY(-1px);
}

.btn-cta:active {
    transform: translateY(1px);
}

.card-vintage {
    background-color: #FFFFFF;
    border: 1px solid var(--color-brass);
    border-radius: 4px;
    padding: 30px;
    transition: box-shadow 0.3s var(--transition-smooth), 
                border-color 0.3s var(--transition-smooth);
}

.card-vintage:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(44, 38, 35, 0.05);
}

