/* ========== CSS главной страницы «Короли Танцпола» ========== */
/* Все селекторы заскоупированы под .kt-home, чтобы не пересекаться с Kadence. */

/* Фон и overflow — только для шаблона главной */
body.page-template-template-homepage {
    background: #ECBC16;
    overflow-x: hidden;
}

.kt-home {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c2f2f;
    background: #ECBC16;
    --accent-yellow: #ecbc16;
    --accent-yellow-hover: #d8a90c;
}

.kt-home .screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.kt-home .screen-reader-text:focus,
.kt-home .skip-link:focus,
.kt-home a.skip-link:focus,
.kt-home a.scroll-ignore:focus {
    clip: auto !important;
    clip-path: none !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 15px 20px !important;
    background: #514093 !important;
    color: #fff !important;
    font-size: 16px !important;
    z-index: 100000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    text-decoration: none !important;
    border-radius: 0 0 4px 0 !important;
    outline: 2px solid #ECBC16 !important;
    outline-offset: 2px !important;
    overflow: visible !important;
}

.kt-home .icon {
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    width: 1em;
    height: 1em;
}

/* HERO */
.kt-home .hero-section { position: relative; width: 100%; height: 100vh; min-height: 700px; overflow: hidden; }
.kt-home .hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.kt-home .hero-background img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.kt-home .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.3); z-index: 2; }
.kt-home .hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: #fff; padding: 0 20px; }
.kt-home .hero-subtitle { font-size: 18px; letter-spacing: .4em; text-transform: uppercase; font-weight: 400; margin-bottom: 40px; opacity: .9; }
.kt-home .hero-main-title { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 50px; max-width: 1000px; width: 100%; }
.kt-home .project-title { color: #e0e0e0; font-size: 72px; font-weight: 700; line-height: 1.1; text-transform: uppercase; margin-bottom: 30px; text-shadow: 0 0 4px rgba(255,255,255,.4), 0 0 8px rgba(255,255,255,.15); position: relative; letter-spacing: 1px; }
.kt-home .brand-logo { width: 100%; display: flex; justify-content: center; align-items: center; }
.kt-home .brand-logo img { max-width: 1000px; width: 90%; height: auto; object-fit: contain; }
.kt-home .hero-btn { display: inline-flex; align-items: center; justify-content: center; padding: 18px 40px; font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid #fff; color: #fff; background: transparent; transition: all .3s; text-transform: uppercase; letter-spacing: .1em; min-width: 200px; }
.kt-home .hero-btn:hover,
.kt-home .hero-btn:focus { background: #fff; color: #2c2f2f; transform: translateY(-2px); outline: none; }
.kt-home .hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 80px; }
.kt-home .scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 4; width: 50px; height: 50px; border: 2px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: transparent; cursor: pointer; transition: all .3s; text-decoration: none; }
.kt-home .scroll-down:hover,
.kt-home .scroll-down:focus { background: rgba(255,255,255,.1); transform: translateX(-50%) translateY(5px); outline: none; }
.kt-home .scroll-down-arrow { width: 16px; height: 16px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); margin-top: -5px; transition: all .3s; }
.kt-home .scroll-down:hover .scroll-down-arrow { margin-top: 0; }

/* PROJECTS */
.kt-home .projects-section { position: relative; width: 100%; min-height: 100vh; background: #ECBC16; overflow: hidden; }
.kt-home .projects-header { background: #ECBC16; padding: 80px 20px 60px; text-align: center; }
.kt-home .projects-title { color: #514093; font-size: 48px; font-weight: 700; text-transform: uppercase; margin: 0; }
.kt-home .projects-grid-container { position: relative; width: 100%; height: calc(100vh - 200px); background: #000; }
.kt-home .projects-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; transition: opacity .5s; background: #000; }
.kt-home .projects-background img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; transition: opacity .5s; }
.kt-home .projects-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.4); z-index: 2; }
.kt-home .projects-grid { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3,1fr); width: 100%; height: 100%; }
.kt-home .project-item { position: relative; display: flex; align-items: flex-end; text-decoration: none; border: 1px solid rgba(255,255,255,.2); padding: 30px; color: #e0e0e0; transition: all .3s; background: transparent; overflow: hidden; }
.kt-home .project-item:focus { outline: 2px solid #ECBC16; outline-offset: -2px; }
.kt-home .project-item::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; transition: all .3s; z-index: 1; }
.kt-home .project-content { position: relative; z-index: 2; transition: all .3s; width: 100%; }
.kt-home .project-title-grid { font-size: 24px; font-weight: 600; margin: 0 0 60px 0; transition: all .3s; text-align: left; color: #e0e0e0; text-transform: uppercase; }
.kt-home .project-hover { position: absolute; bottom: 30px; left: 30px; opacity: 0; transition: all .3s; display: flex; align-items: center; gap: 10px; z-index: 2; }
.kt-home .project-link { font-size: 18px; font-weight: 600; color: #2c2f2f; text-transform: uppercase; }
.kt-home .project-arrow { font-size: 22px; color: #2c2f2f; transition: transform .3s; }
.kt-home .project-item.active::before,
.kt-home .project-item.mobile-active::before { background: rgba(224,224,224,.9); }
.kt-home .project-item.active .project-title-grid,
.kt-home .project-item.mobile-active .project-title-grid { color: #2c2f2f; transform: translateY(-40px); }
.kt-home .project-item.active .project-hover,
.kt-home .project-item.mobile-active .project-hover { opacity: 1; }
.kt-home .projects-buttons { background: #ECBC16; position: relative; z-index: 3; display: flex; justify-content: center; gap: 20px; padding: 60px 20px; }
.kt-home .projects-btn { display: inline-flex; align-items: center; justify-content: center; padding: 18px 40px; font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid #514093; color: #514093; background: rgba(255,255,255,.15); transition: all .3s; text-transform: uppercase; letter-spacing: .1em; min-width: 200px; border-radius: 2px; position: relative; overflow: hidden; }
.kt-home .projects-btn:hover,
.kt-home .projects-btn:focus { background: #514093; color: #ECBC16; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(81,64,147,.3); outline: none; }

/* WHY US */
.kt-home .why-us-section { padding: 60px 20px; background: #ECBC16; }
.kt-home .why-us-title { text-align: center; font-size: 48px; font-weight: 700; text-transform: uppercase; color: #2c2f2f; margin-bottom: 60px; }

/* TIMELINE */
.kt-home #timeline *,
.kt-home #timeline *:before,
.kt-home #timeline *:after { box-sizing: border-box; }
.kt-home #timeline .timeline-item:after,
.kt-home #timeline .timeline-item:before { content: ''; display: block; width: 100%; clear: both; }
.kt-home #timeline { max-width: 1100px; width: 100%; margin: 30px auto; position: relative; padding: 0 10px; transition: all .4s; }
.kt-home #timeline:before { content: ""; width: 3px; height: 100%; background: #514093; left: 50%; top: 0; position: absolute; }
.kt-home #timeline:after { content: ""; clear: both; display: table; width: 100%; }
.kt-home #timeline .timeline-item { margin-bottom: 50px; position: relative; }
.kt-home #timeline .timeline-item .timeline-icon { background: #514093; color: #FFF; text-align: center; font-size: 20px; line-height: 50px; width: 50px; height: 50px; position: absolute; top: 0; left: 50%; overflow: hidden; margin-left: -23px; border-radius: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; }
.kt-home #timeline .timeline-item .timeline-icon .icon { width: 24px; height: 24px; }
.kt-home #timeline .timeline-item .timeline-content { width: 45%; background: #fff; padding: 20px; box-shadow: 0 2px 5px rgba(0,0,0,.1),0 4px 10px rgba(0,0,0,.1); border-radius: 8px; transition: all .3s; }
.kt-home #timeline .timeline-item .timeline-content h3 { padding: 15px; background: #514093; color: #fff; margin: -20px -20px 15px -20px; font-weight: 600; border-radius: 5px 5px 0 0; font-size: 18px; }
.kt-home #timeline .timeline-item .timeline-content p { color: #444; line-height: 1.6; font-size: 16px; }
.kt-home #timeline .timeline-item .timeline-content:before { content: ''; position: absolute; left: 45%; top: 20px; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 7px solid #514093; }
.kt-home #timeline .timeline-item:nth-child(even) .timeline-content { float: right; }
.kt-home #timeline .timeline-item:nth-child(even) .timeline-content:before { content: ''; right: 45%; left: inherit; border-left: 0; border-right: 7px solid #514093; }

/* EVENTS */
.kt-home .events-section { padding: 60px 0; background: #514093; position: relative; overflow: hidden; }
.kt-home .events-title-container { background: #514093; padding: 40px 0; margin-bottom: 60px; overflow: hidden; position: relative; width: 100%; }
.kt-home .events-marquee { display: flex; white-space: nowrap; animation: kt-running-text 25s linear infinite; }
.kt-home .events-title { text-align: center; font-size: 48px; font-weight: 700; text-transform: uppercase; color: #ECBC16; white-space: nowrap; display: inline-block; padding: 0 50px; }
@keyframes kt-running-text { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.kt-home .events-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; max-width: 1400px; margin: 0 auto 50px; padding: 0 20px; border: none; position: relative; z-index: 2; }
.kt-home .event-item { position: relative; aspect-ratio: 4 / 5; background: #fff; overflow: hidden; cursor: pointer; border: 1px solid #e0e0e0; border-radius: 6px; margin: 0; }
.kt-home .event-item:focus { outline: 3px solid #ECBC16; outline-offset: -3px; }
.kt-home .event-image { position: relative; width: 100%; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.kt-home .event-image img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain; background: #fff; aspect-ratio: auto !important; }
.kt-home .event-image-placeholder { background: linear-gradient(135deg,#514093,#3D316F); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.5em; font-weight: bold; }
.kt-home .events-actions { text-align: center; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; align-items: center; position: relative; z-index: 2; }
.kt-home .events-actions-mobile { display: none; flex-direction: column; align-items: center; gap: 20px; width: 100%; margin-top: 30px; position: relative; z-index: 2; }
.kt-home .events-all-container { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 200px; }
.kt-home .events-all-mobile { display: flex; align-items: center; justify-content: center; gap: 15px; }
.kt-home .events-arrow { font-size: 3em; color: #ECBC16; animation: kt-bounce 2s infinite; cursor: pointer; transition: all .3s; text-decoration: none; line-height: 1; }
.kt-home .events-arrow:hover,
.kt-home .events-arrow:focus { transform: translateX(10px); animation: none; outline: none; }
@keyframes kt-bounce { 0%,20%,50%,80%,100% { transform: translateX(0); } 40% { transform: translateX(10px); } 60% { transform: translateX(5px); } }
.kt-home .events-all-btn,
.kt-home .events-main-btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 40px; font-size: 16px; font-weight: 600; text-decoration: none; border: none; color: #ECBC16; background: transparent; transition: all .3s; text-transform: uppercase; letter-spacing: .1em; min-width: 200px; }
.kt-home .events-main-btn { border: 2px solid #ECBC16; }
.kt-home .events-all-btn:hover,
.kt-home .events-all-btn:focus,
.kt-home .events-main-btn:hover,
.kt-home .events-main-btn:focus { background: #ECBC16; color: #514093; transform: translateY(-2px); outline: none; }

/* MODAL — кнопки столбиком, как в мобильном календаре */
.kt-home .event-modal { display: none; position: fixed; z-index: 999999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,.6); padding: 20px; align-items: center; justify-content: center; box-sizing: border-box; }
.kt-home .event-modal.is-active { display: flex; }

.kt-home .event-modal-content { position: relative; background: #fff; width: 100%; max-width: 720px; border-radius: 16px; padding: 36px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); z-index: 2; max-height: 90vh; overflow-y: auto; animation: kt-modal-slide 0.3s ease-out; margin: 0; box-sizing: border-box; }
@keyframes kt-modal-slide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.kt-home .event-modal-close { position: absolute; top: 20px; right: 20px; background: transparent; border: none; cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center; outline: none; opacity: 0.5; transition: opacity 0.2s; color: #aaa; font-size: 28px; font-weight: bold; z-index: 10; width: auto; height: auto; border-radius: 0; }
.kt-home .event-modal-close:hover,
.kt-home .event-modal-close:focus { opacity: 1; color: #514093; background: transparent; }

.kt-home .event-modal-body { display: flex; flex-direction: column; }
.kt-home .event-modal-image { display: none; }

.kt-home .event-modal-info { padding: 0; }
.kt-home .event-modal-info h2 { margin: 0 0 20px 0; font-size: 2em; color: #514093; font-weight: 700; line-height: 1.2; padding-right: 40px; }

/* Слоган — жёлтая плашка */
.kt-home .event-modal-slogan {
    display: inline-block;
    background: #ecbc16;
    color: #333;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 1.05em;
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(236, 188, 22, 0.3);
}

.kt-home .event-modal-details { display: flex; flex-direction: column; gap: 0; margin-bottom: 30px; background: #ffffff; border: 1px solid #f0edf7; border-radius: 12px; box-shadow: 0 4px 15px rgba(81,64,147,0.05); overflow: hidden; }

.kt-home .event-modal-detail { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid #f0edf7; margin-bottom: 0; font-size: 1.05em; color: #333; }
.kt-home .event-modal-detail:last-child { border-bottom: none; }

.kt-home .event-modal-detail .icon { width: 24px; height: 24px; padding: 12px; box-sizing: content-box; background: #f4f2fa; border-radius: 10px; margin-right: 16px; color: #514093; flex-shrink: 0; }

.kt-home .event-modal-detail span { font-size: 1.05em; font-weight: 700; color: #333; line-height: 1.3; }

/* ===== Кнопки в модалке — столбиком, как в мобильном календаре ===== */
.kt-home .event-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: stretch;
    margin: 0;
    width: 100%;
}
.kt-home .event-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
    font-size: 0.78em;
    min-height: 38px;
    border-radius: 4px;
    white-space: normal;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
    border: 2px solid transparent;
    text-align: center;
    box-shadow: none;
    height: auto;
}
.kt-home .event-modal-btn .icon { width: 16px; height: 16px; flex-shrink: 0; }
.kt-home .event-modal-btn-primary {
    background: #514093;
    color: #fff;
    border-color: #514093;
}
.kt-home .event-modal-btn-primary:hover,
.kt-home .event-modal-btn-primary:focus {
    background: #3d2f6b;
    border-color: #3d2f6b;
    color: #fff;
    outline: none;
}
.kt-home .event-modal-btn-ghost {
    background: transparent !important;
    color: #514093 !important;
    border: 2px solid #514093 !important;
    box-shadow: none !important;
}
.kt-home .event-modal-btn-ghost:hover,
.kt-home .event-modal-btn-ghost:focus {
    background: transparent !important;
    color: #3d2f6b !important;
    border-color: #3d2f6b !important;
    outline: none;
}
.kt-home .event-modal-btn-accent {
    background: #ecbc16;
    color: #2f2559;
    border-color: #ecbc16;
}
.kt-home .event-modal-btn-accent:hover,
.kt-home .event-modal-btn-accent:focus {
    background: #d8a90c;
    border-color: #d8a90c;
    color: #2f2559;
    outline: none;
}

/* GREETING */
.kt-home .greeting-section { padding: 60px 20px; background: #ECBC16; }
.kt-home .greeting-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.kt-home .greeting-image-container { position: relative; display: flex; justify-content: center; align-items: center; padding: 0; background: transparent; border-radius: 50%; box-shadow: none; height: 500px; width: 500px; margin: 0 auto; overflow: hidden; aspect-ratio: 1/1; flex-shrink: 0; box-sizing: border-box; }
.kt-home .greeting-image { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; display: block; aspect-ratio: 1/1; }
.kt-home .greeting-content { margin-top: 0; display: flex; align-items: center; }
.kt-home .blockquote-5 { position: relative; padding: 50px 40px 30px 70px; margin: 0; font-size: 16px; background: rgba(81,64,147,.03); line-height: 1.7; width: 100%; overflow: hidden; }
.kt-home .blockquote-5::before { content: "\201C"; font-family: Georgia,serif; font-weight: bold; position: absolute; top: -10px; left: 15px; color: rgba(81,64,147,.12); font-size: 120px; line-height: 1; z-index: 0; pointer-events: none; }
.kt-home .blockquote-5 > * { position: relative; z-index: 1; }
.kt-home .blockquote-5 .greeting-intro { font-size: 22px !important; font-weight: 700 !important; color: #3D316F !important; text-align: left !important; margin-bottom: 25px !important; line-height: 1.3 !important; }
.kt-home .blockquote-5 strong { color: #3D316F; font-weight: 700; }
.kt-home .blockquote-5 cite { color: #3D316F; font-size: 16px; padding-top: 25px; display: block; font-style: normal; font-weight: 600; text-align: right; }

/* UTILITIES */
.kt-home .no-events { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: #666; font-size: 1.1em; background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; }
.kt-home .main-content { outline: none; }
.kt-home .main-content:focus { outline: 2px solid #514093; outline-offset: 2px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .kt-home .project-title { font-size: 60px; text-shadow: 0 0 3px rgba(255,255,255,.4),0 0 6px rgba(255,255,255,.15); }
}

@media (max-width: 768px) {
    .kt-home .hero-section { height: 80vh; min-height: 600px; }
    .kt-home .hero-subtitle { font-size: 14px; letter-spacing: .3em; margin-bottom: 20px; }
    .kt-home .hero-main-title { margin-bottom: 30px; padding: 0 10px; }
    .kt-home .project-title { font-size: 36px; margin-bottom: 20px; line-height: 1.2; letter-spacing: .5px; }
    .kt-home .brand-logo img { max-width: 100%; width: 95%; padding: 0 10px; transform: scale(1.1); }
    .kt-home .hero-buttons { flex-direction: column; gap: 12px; margin-bottom: 60px; }
    .kt-home .hero-btn { width: 100%; max-width: 280px; padding: 14px 32px; font-size: 14px; }
    .kt-home .scroll-down { width: 40px; height: 40px; bottom: 30px; }
    .kt-home .scroll-down-arrow { width: 12px; height: 12px; }
    .kt-home .projects-header { padding: 40px 15px 30px; }
    .kt-home .projects-title { font-size: 36px; }
    .kt-home .projects-grid-container { height: 80vh; }
    .kt-home .projects-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(3,1fr); width: 100%; height: 100%; gap: 0; }
    .kt-home .project-item { padding: 12px; }
    .kt-home .project-item:nth-child(1),
    .kt-home .project-item:nth-child(3),
    .kt-home .project-item:nth-child(5) { border-right: 1px solid rgba(255,255,255,.2); }
    .kt-home .project-item:nth-child(1),
    .kt-home .project-item:nth-child(2),
    .kt-home .project-item:nth-child(3),
    .kt-home .project-item:nth-child(4) { border-bottom: 1px solid rgba(255,255,255,.2); }
    .kt-home .project-title-grid { font-size: 16px; margin-bottom: 20px; }
    .kt-home .project-hover { left: 12px; bottom: 12px; }
    .kt-home .project-link { font-size: 14px; }
    .kt-home .project-arrow { font-size: 18px; }
    .kt-home .project-item.mobile-active .project-title-grid { transform: translateY(-20px); }
    .kt-home .projects-buttons { flex-direction: column; align-items: center; padding: 30px 15px; gap: 12px; }
    .kt-home .projects-btn { padding: 14px 32px; font-size: 14px; min-width: 180px; width: 100%; max-width: 280px; }
    .kt-home .why-us-section { padding: 5px 15px 20px; }
    .kt-home .why-us-title { font-size: 28px; margin-bottom: 5px; }
    .kt-home #timeline { margin: 10px 0; padding: 0; width: 100%; }
    .kt-home #timeline:before { left: 20px; }
    .kt-home #timeline .timeline-item { margin-bottom: 20px; }
    .kt-home #timeline .timeline-item .timeline-content { width: calc(100% - 70px); float: right; padding: 12px; margin-left: 0; }
    .kt-home #timeline .timeline-item .timeline-content h3 { padding: 10px 12px; margin: -12px -12px 10px -12px; font-size: 16px; }
    .kt-home #timeline .timeline-item .timeline-content p { font-size: 14px; line-height: 1.5; }
    .kt-home #timeline .timeline-item .timeline-content:before,
    .kt-home #timeline .timeline-item:nth-child(even) .timeline-content:before { left: 20px; margin-left: -6px; border-left: 0; border-right: 7px solid #514093; }
    .kt-home #timeline .timeline-item .timeline-icon { left: 20px; width: 40px; height: 40px; margin-left: 0; }
    .kt-home #timeline .timeline-item .timeline-icon .icon { width: 20px; height: 20px; }
    .kt-home .events-section { padding: 5px 0; }
    .kt-home .events-title-container { padding: 20px 15px; margin-bottom: 15px; }
    .kt-home .events-title { font-size: 28px; }
    .kt-home .events-grid { grid-template-columns: repeat(2,1fr); gap: 10px; padding: 0 14px; margin-bottom: 15px; }
    .kt-home .events-actions { display: none; }
    .kt-home .events-actions-mobile { display: flex; margin-top: 15px; }
    .kt-home .events-all-btn,
    .kt-home .events-main-btn { padding: 14px 32px; font-size: 14px; min-width: 180px; }
    .kt-home .events-arrow { font-size: 2.5em; }

    /* Мобильная модалка */
    .kt-home .event-modal { padding: 10px; }
    .kt-home .event-modal-content { padding: 18px 16px; border-radius: 12px; }
    .kt-home .event-modal-close { top: 8px; right: 8px; padding: 4px; }
    .kt-home .event-modal-info h2 { font-size: 1.3em; line-height: 1.15; margin-bottom: 12px; padding-right: 24px; }
    .kt-home .event-modal-slogan { font-size: 0.85em; padding: 6px 10px; margin-top: 8px; margin-bottom: 12px; }
    .kt-home .event-modal-details { margin-bottom: 16px; border-radius: 8px; }
    .kt-home .event-modal-detail { padding: 8px 12px; }
    .kt-home .event-modal-detail .icon { width: 16px; height: 16px; padding: 8px; margin-right: 12px; border-radius: 6px; }
    .kt-home .event-modal-detail span { font-size: 0.85em; line-height: 1.2; }
    .kt-home .event-modal-actions { flex-direction: column; gap: 6px; }
    .kt-home .event-modal-btn { width: 100%; padding: 9px 12px; font-size: 0.78em; min-height: 38px; }

    .kt-home .greeting-section { padding: 40px 15px; }
    .kt-home .greeting-container { display: flex; flex-direction: column; gap: 40px; }
    .kt-home .greeting-image-container { padding: 0; margin-bottom: 0; min-height: auto; height: 300px; width: 300px; order: 1; }
    .kt-home .greeting-content { margin-top: 0; display: block; order: 2; }
    .kt-home .blockquote-5 { padding: 40px 25px 25px 50px; margin: 0; font-size: 16px; }
    .kt-home .blockquote-5::before { font-size: 90px; top: -5px; left: 10px; }
    .kt-home .blockquote-5 .greeting-intro { font-size: 20px !important; margin-bottom: 20px !important; }
    .kt-home .blockquote-5 cite { font-size: 15px; padding-top: 20px; }
}

@media (max-width: 480px) {
    .kt-home .hero-section { height: 70vh; min-height: 500px; }
    .kt-home .hero-subtitle { font-size: 12px; margin-bottom: 15px; }
    .kt-home .project-title { font-size: 28px; margin-bottom: 15px; text-shadow: 0 0 2px rgba(255,255,255,.4),0 0 4px rgba(255,255,255,.15); letter-spacing: .3px; }
    .kt-home .brand-logo img { width: 98%; padding: 0 5px; transform: scale(1.15); }
    .kt-home .scroll-down { bottom: 20px; }
    .kt-home .projects-header { padding: 20px 10px 15px; }
    .kt-home .projects-title { font-size: 28px; }
    .kt-home .projects-grid-container { height: 70vh; }
    .kt-home .project-item { padding: 8px; }
    .kt-home .project-title-grid { font-size: 14px; margin-bottom: 15px; }
    .kt-home .project-hover { left: 8px; bottom: 8px; }
    .kt-home .projects-buttons { padding: 15px 10px; gap: 10px; }
    .kt-home .projects-btn { padding: 12px 24px; font-size: 13px; min-width: 160px; }
    .kt-home .why-us-title { font-size: 24px; margin-bottom: 5px; }
    .kt-home .events-title { font-size: 24px; }
    .kt-home .events-all-btn,
    .kt-home .events-main-btn { padding: 12px 24px; font-size: 13px; min-width: 160px; }
    .kt-home .events-arrow { font-size: 2em; }
    .kt-home .events-all-mobile { gap: 10px; }
    .kt-home .events-grid { gap: 8px; padding: 0 10px; }
    .kt-home .greeting-section { padding: 30px 10px; }
    .kt-home .greeting-image-container { height: 280px; width: 280px; }
    .kt-home .blockquote-5 { padding: 35px 20px 20px 45px; font-size: 15px; }
    .kt-home .blockquote-5::before { font-size: 80px; top: -5px; left: 8px; }
    .kt-home .blockquote-5 .greeting-intro { font-size: 18px !important; margin-bottom: 15px !important; }
    .kt-home .blockquote-5 cite { font-size: 14px; padding-top: 15px; }
    .kt-home #timeline { margin: 8px 0; }
    .kt-home #timeline .timeline-item { margin-bottom: 15px; }
    .kt-home #timeline .timeline-item .timeline-content { width: calc(100% - 60px); padding: 10px; }
    .kt-home #timeline .timeline-item .timeline-content h3 { padding: 8px 10px; margin: -10px -10px 8px -10px; font-size: 15px; }
    .kt-home #timeline .timeline-item .timeline-content p { font-size: 13px; line-height: 1.4; }
    .kt-home #timeline .timeline-item .timeline-icon { left: 10px; width: 35px; height: 35px; }
    .kt-home #timeline .timeline-item .timeline-icon .icon { width: 18px; height: 18px; }
}