/* Homepage theme aligned with admin palette */

body.home-page {
    background:
        radial-gradient(circle at 12% 8%, rgba(142, 20, 20, 0.09), transparent 36%),
        radial-gradient(circle at 92% 0%, rgba(177, 28, 28, 0.12), transparent 34%),
        linear-gradient(180deg, #f5f3ef 0%, #f2f3ee 45%, #eef2ea 100%);
    --home-surface: #fffefc;
    --home-surface-soft: #fff8f3;
    --home-border: #eddcda;
    --home-shadow: 0 12px 26px rgba(39, 24, 24, 0.07);
    --home-title: #1a2b2c;
    --home-text: #5d4e4e;
    --home-accent: #8e1414;
    --home-section-space: clamp(1.1rem, 2.2vw, 2.1rem);
    --home-banner-space: clamp(0.65rem, 1.2vw, 1.1rem);
}

.hero-section {
    position: relative;
    min-height: 860px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #2d0707;
}

.hero-slider,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.95s ease, transform 1.1s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    background:
        radial-gradient(circle at 70% 38%, rgba(255, 176, 176, 0.2), transparent 46%),
        linear-gradient(100deg, rgba(20, 14, 26, 0.54), rgba(84, 22, 22, 0.42) 48%, rgba(152, 40, 40, 0.28));
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    padding: 148px 0 52px;
    min-height: 860px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 34px;
    align-items: center;
}

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    padding: 0.42rem 0.9rem;
    border: 1px solid rgba(255, 233, 233, 0.8);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-content h1 {
    color: #fff;
    font-size: clamp(40px, 5.3vw, 78px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    max-width: 11.5ch;
    text-shadow: 0 10px 24px rgba(7, 12, 28, 0.38);
}

.hero-content p {
    color: rgba(255, 246, 246, 0.98);
    max-width: 56ch;
    font-size: 1.08rem;
    margin-bottom: 28px;
}

.hero-btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn-group .btn-main {
    background: linear-gradient(120deg, #cb1f1f, #e43b3b);
    border: 1px solid #ff9c9c;
    border-radius: 16px;
    box-shadow: 0 14px 26px rgba(112, 14, 14, 0.36);
    padding: 0.9rem 1.6rem;
}

.hero-btn-group .btn-main:hover {
    background: linear-gradient(120deg, #ad1616, #cf2f2f);
}

.hero-btn-group .btn-outline-main {
    border-color: rgba(255, 255, 255, 0.96);
    color: #fff;
    border-radius: 16px;
    padding: 0.9rem 1.6rem;
    background: rgba(22, 28, 45, 0.32);
    backdrop-filter: blur(3px);
}

.hero-btn-group .btn-outline-main:hover {
    background: #fff;
    color: #7a1212;
    border-color: #fff;
}

.hero-mini-points {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-mini-points span {
    display: inline-block;
    padding: 0.44rem 0.86rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 237, 237, 0.72);
    color: #fff;
    font-size: 0.83rem;
    font-weight: 700;
}

.hero-info-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.18), rgba(255, 244, 244, 0.1));
    border: 1px solid rgba(255, 228, 228, 0.5);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 40px rgba(14, 18, 30, 0.24);
}

.hero-info-card h3 {
    color: #fff;
    margin-bottom: 0.8rem;
    font-size: 2rem;
}

.info-item + .info-item {
    margin-top: 0.66rem;
}

.info-item h4 {
    margin-bottom: 0.2rem;
    color: #fff;
    font-size: 1rem;
}

.info-item p {
    color: rgba(255, 245, 245, 0.98);
    margin-bottom: 0;
    font-size: 0.92rem;
}

.info-item {
    background: linear-gradient(140deg, rgba(163, 26, 26, 0.28), rgba(66, 18, 22, 0.2));
    border: 1px solid rgba(255, 224, 224, 0.34);
    border-radius: 14px;
    padding: 12px 14px;
}

.hero-controls {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.hero-dots {
    display: flex;
    gap: 0.55rem;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 236, 236, 0.86);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease;
}

.hero-dots .dot.active {
    background: #fff;
    transform: scale(1.15);
}

.hero-arrows {
    display: flex;
    gap: 0.6rem;
}

.hero-arrows button {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 232, 232, 0.72);
    border-radius: 14px;
    color: #ffeaea;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.hero-arrows button:hover {
    background: rgba(226, 53, 53, 0.86);
    border-color: rgba(255, 239, 239, 0.94);
    transform: translateY(-2px);
}

.home-sections-order {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
}

.home-page .section-space:not(.home-banner-strip-section) {
    padding: var(--home-section-space) 0;
}

body.home-page main > section:not(.hero-section):not(.home-banner-strip-section) {
    padding: var(--home-section-space) 0;
}

.home-banner-strip-section {
    padding: var(--home-banner-space) 0;
    background: transparent !important;
}

.home-banner-strip-list {
    display: grid;
    gap: 0;
}

.home-banner-strip {
    display: block;
    width: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
    text-decoration: none;
    line-height: 0;
}

.home-banner-strip img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.home-banner-strip:hover {
    transform: none;
    box-shadow: none;
}

.home-page .section-space .container {
    width: min(1680px, calc(100vw - 56px));
    max-width: none;
    border: 1px solid var(--home-border);
    border-radius: 22px;
    padding: 18px;
    background: linear-gradient(165deg, var(--home-surface), var(--home-surface-soft));
    box-shadow: var(--home-shadow);
}

.home-banner-strip-section .container {
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.products-preview-section .container {
    background: linear-gradient(165deg, #fffefc, #fff6f1);
}

.ads-section .container {
    background: linear-gradient(165deg, #fffefa, #fff7f2);
}

.blog-home-section .container {
    background: linear-gradient(165deg, #fffdf9, #fff9f4);
}

.training-section .container {
    background: linear-gradient(165deg, #fffdf8, #fff8f2);
}

.gallery-home-section .container {
    background: linear-gradient(165deg, #fffefd, #fff9f5);
}

.youtube-home-section .container {
    background: linear-gradient(165deg, #fffdfa, #fff6f0);
}

.services-home-section {
    padding: var(--home-section-space) 0;
}

.services-home-section-tight {
    padding-top: var(--home-section-space);
}

.services-home-section .container {
    width: min(1680px, calc(100vw - 56px));
    max-width: none;
    border: 1px solid var(--home-border);
    border-radius: 22px;
    padding: 18px;
    background: linear-gradient(165deg, var(--home-surface), var(--home-surface-soft));
    box-shadow: var(--home-shadow);
}

.services-home-section .services-intro {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 1.4rem;
    margin-bottom: 0;
}

.services-home-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.services-home-tags span {
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid #ead0d0;
    background: #fff8f8;
    color: #7b1515;
    font-size: 0.82rem;
    font-weight: 700;
}

.section-head-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.big-deals-title {
    margin: 0;
    font-size: clamp(1.9rem, 3.2vw, 2.3rem);
    color: var(--home-title);
    font-weight: 900;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 10px;
}

.big-deals-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg, #8e1414, #c22a2a);
}

.section-view-all-link {
    color: var(--home-accent);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    font-size: 1.18rem;
}

.section-view-all-link:hover {
    color: #6f1010;
    text-decoration: underline;
}

.home-section-head {
    margin-bottom: 14px;
}

.home-section-head .section-kicker {
    margin-bottom: 4px;
}

.highlight-section {
    background: linear-gradient(160deg, #fff, #f9f2f2 58%, #ffecec);
}

.highlight-grid,
.services-grid-home,
.product-preview-grid,
.testimonial-grid {
    display: grid;
    gap: 24px;
}

.highlight-grid,
.services-grid-home,
.product-preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
    background: #fff;
    border: 1px solid #e5dddd;
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 12px 24px rgba(20, 24, 19, 0.06);
}

.feature-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 0.85rem;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(120deg, #8e1414, #b51f1f);
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center;
}

.about-home-image img {
    border-radius: 20px;
    box-shadow: 0 18px 34px rgba(24, 30, 23, 0.14);
}

.about-points {
    display: grid;
    gap: 10px;
    margin: 1rem 0 1.15rem;
}

.about-point {
    background: #fff;
    border: 1px solid #e4eade;
    border-radius: 12px;
    padding: 0.72rem 0.8rem;
}

.about-point strong {
    color: #7a1212;
}

.service-box {
    background: linear-gradient(155deg, #fff, #fff7f7);
    padding: 24px;
    border: 1px solid #e4dbdb;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(20, 24, 19, 0.05);
}

.service-box h3 {
    margin-bottom: 0.65rem;
}

.service-box a {
    color: #8e1414;
    font-weight: 800;
}

.product-preview-card {
    background: #fff;
    color: #2f1d1d;
    border: 1px solid #ead8d5;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 12px 24px rgba(39, 24, 24, 0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-preview-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
}

.product-preview-card h3 {
    margin-bottom: 0.5rem;
}

.product-preview-card p {
    color: var(--home-text);
    margin-bottom: 0.35rem;
}

.product-price-line {
    margin-bottom: 0.45rem;
    font-size: 1.22rem;
    font-weight: 900;
    color: #121e2b;
}

.products-preview-section .product-preview-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-preview-section .product-preview-grid::-webkit-scrollbar {
    display: none;
    height: 0;
}

.products-preview-section .product-preview-grid::-webkit-scrollbar-thumb {
    background: #d8b0b0;
    border-radius: 999px;
}

.products-preview-section .product-preview-card {
    flex: 0 0 min(290px, 86vw);
    scroll-snap-align: start;
}

.home-products-row-wrap {
    position: relative;
}

.home-products-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #d6b2b2;
    background: linear-gradient(135deg, #8e1414, #b11c1c);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-products-arrow:hover {
    background: linear-gradient(135deg, #741010, #8e1414);
    transform: translateY(-50%) scale(1.04);
}

#homeProductsPrev {
    left: -16px;
}

#homeProductsNext {
    right: -16px;
}

.home-products-row-wrap:hover .home-products-arrow,
.home-products-row-wrap:focus-within .home-products-arrow {
    opacity: 1;
    pointer-events: auto;
}

.home-products-controls-row {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-products-dots {
    display: flex;
    gap: 10px;
}

.home-products-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid #d2b9b9;
    background: #e6d7d7;
    cursor: pointer;
}

.home-products-dot.is-active {
    background: #8e1414;
    border-color: #8e1414;
}

.home-training-row-wrap {
    position: relative;
}

.home-training-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #d6b2b2;
    background: linear-gradient(135deg, #8e1414, #b11c1c);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-training-arrow:hover {
    background: linear-gradient(135deg, #741010, #8e1414);
    transform: translateY(-50%) scale(1.04);
}

#homeTrainingPrev {
    left: -16px;
}

#homeTrainingNext {
    right: -16px;
}

.home-training-row-wrap:hover .home-training-arrow,
.home-training-row-wrap:focus-within .home-training-arrow {
    opacity: 1;
    pointer-events: auto;
}

.home-training-controls-row {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-training-dots {
    display: flex;
    gap: 10px;
}

.home-training-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid #d2b9b9;
    background: #e6d7d7;
    cursor: pointer;
}

.home-training-dot.is-active {
    background: #8e1414;
    border-color: #8e1414;
}

.ads-grid,
.training-grid,
.testimonial-grid {
    display: grid;
    gap: 24px;
}

.ads-grid,
.training-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-ads-row-wrap {
    position: relative;
}

.home-ads-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-ads-row::-webkit-scrollbar {
    display: none;
    height: 0;
}

.home-ads-row::-webkit-scrollbar-thumb {
    background: #cfa1a1;
    border-radius: 999px;
}

.home-ad-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 28px) / 3);
    min-width: 260px;
    background: #fff;
    border: 1px solid #e7d9d7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(39, 24, 24, 0.07);
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
}

.home-ad-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(20, 24, 19, 0.11);
}

.home-ad-image-wrap {
    position: relative;
}

.home-ad-image-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.home-ad-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 999px;
    padding: 0.18rem 0.45rem;
}

.home-ad-body {
    display: none;
}

.home-ad-body h3 {
    margin: 0 0 2px;
    color: #141d26;
    font-size: 1rem;
    line-height: 1.25;
}

.home-ad-body p {
    margin: 0;
    color: #5a5050;
    font-size: 0.96rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-ads-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #d6b2b2;
    background: linear-gradient(135deg, #8e1414, #b11c1c);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-ads-nav:hover {
    background: linear-gradient(135deg, #741010, #8e1414);
    transform: translateY(-50%) scale(1.04);
}

#homeAdsPrevBtn {
    left: -16px;
}

#homeAdsNextBtn {
    right: -16px;
}

.home-ads-row-wrap:hover .home-ads-nav,
.home-ads-row-wrap:focus-within .home-ads-nav {
    opacity: 1;
    pointer-events: auto;
}

.blog-grid-home {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid-home {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-home-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eadbd8;
    box-shadow: 0 10px 20px rgba(39, 24, 24, 0.06);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-home-card img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: center;
    background: #fff7f4;
    padding: 6px;
    border-radius: 12px;
}

.gallery-home-title {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.3;
    color: #1a2b2c;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    position: relative;
    padding-bottom: 8px;
}

.gallery-home-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg, #8e1414, #c22a2a);
}

.youtube-embed-wrap {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8d7d7;
    box-shadow: 0 12px 24px rgba(20, 24, 19, 0.06);
    background: #120909;
}

.youtube-embed-wrap iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.yt-home-card-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0;
    scroll-snap-type: x mandatory;
    gap: 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.yt-home-slider-wrap {
    position: relative;
}

.yt-home-card-grid::-webkit-scrollbar {
    display: none;
    height: 0;
}

.yt-home-card-grid::-webkit-scrollbar-thumb {
    background: #d8b0b0;
    border-radius: 999px;
}

.yt-home-headmark {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.35rem;
}

.yt-home-headmark-icon {
    width: 52px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #ff0000;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(170, 19, 19, 0.26);
}

.yt-home-headmark-text {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #8e1414;
}

.yt-home-video-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 320px;
    border: 1px solid #ead7d4;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 24px rgba(39, 24, 24, 0.07);
    scroll-snap-align: start;
}

.yt-home-video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.yt-home-card-body {
    padding: 12px 14px;
    border-top: 1px solid #f1e1de;
    background: #fff7f4;
}

.yt-home-card-body h3 {
    margin: 0;
    color: #7a1212;
}

.feature-card h3,
.service-box h3,
.product-preview-card h3,
.home-ad-body h3,
.training-card-body h3,
.ad-card-body h3,
.yt-home-card-body h3 {
    position: relative;
    padding-bottom: 0.42rem;
}

.feature-card h3::after,
.service-box h3::after,
.product-preview-card h3::after,
.home-ad-body h3::after,
.training-card-body h3::after,
.ad-card-body h3::after,
.yt-home-card-body h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    border-radius: 4px;
    background: linear-gradient(90deg, #8e1414, #c22a2a);
}

.yt-home-controls-row {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.yt-home-scroll-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 3;
    padding: 0 2px;
}

.yt-home-next-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #d6b2b2;
    background: linear-gradient(135deg, #8e1414, #b11c1c);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(112, 14, 14, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.yt-home-next-btn:hover {
    background: linear-gradient(135deg, #741010, #8e1414);
    transform: scale(1.04);
}

.yt-home-slider-wrap:hover .yt-home-next-btn,
.yt-home-slider-wrap:focus-within .yt-home-next-btn {
    opacity: 1;
    pointer-events: auto;
}

.yt-home-scroll-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

.yt-home-scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid #d2b9b9;
    background: #e6d7d7;
    cursor: pointer;
}

.yt-home-scroll-dot.is-active {
    background: #8e1414;
    border-color: #8e1414;
}

.empty-box {
    width: 100%;
    border: 1px dashed #dfc7c4;
    background: #fff7f4;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    color: #735555;
}

.blog-grid-home > .empty-box,
.training-grid > .empty-box,
.gallery-grid-home > .empty-box,
.ads-section .empty-box {
    grid-column: 1 / -1;
}

.ad-card,
.training-card,
.testimonial-card {
    background: #fff;
    border: 1px solid #e9ddd7;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(39, 24, 24, 0.07);
}

.ad-card img,
.training-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
}

.ad-card-body,
.training-card-body,
.testimonial-card {
    padding: 18px;
}

.training-date {
    display: inline-block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    color: #6e7a71;
    font-weight: 700;
}

.training-fee-line,
.training-list-fee {
    margin: 0 0 0.55rem;
    color: #7a1212;
    font-size: 0.92rem;
    font-weight: 800;
}

.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
    padding: 24px;
}

.testimonial-card p {
    color: #3f5145;
    font-weight: 500;
}

.testimonial-card h4 {
    margin-bottom: 0;
    color: #7a1212;
    font-size: 0.98rem;
}

.home-cta-final {
    background: linear-gradient(130deg, #7a1212, #8e1414 50%, #b21d1d);
    padding: 76px 0;
}

.cta-final-wrap {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.cta-final-text h2,
.cta-final-text p,
.section-kicker.light {
    color: #fff;
}

.cta-final-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.home-cta-final .btn-main {
    background: #fff;
    color: #7a1212;
    border: 1px solid #fff;
}

.home-cta-final .btn-main:hover {
    background: #ffe6e6;
    color: #6f1010;
}

@media (max-width: 1100px) {
    .hero-section {
        min-height: 780px;
    }

    .hero-content-wrap {
        min-height: 780px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        max-width: 13ch;
    }

    .ads-grid,
    .blog-grid-home,
    .training-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-ad-card {
        flex-basis: calc((100% - 16px) / 2);
    }

    .yt-home-video-card {
        flex-basis: calc((100% - 18px) / 2);
        min-width: 300px;
    }

    .home-page .section-space .container {
        width: min(1200px, calc(100vw - 30px));
    }

    .services-home-section .container {
        width: min(1200px, calc(100vw - 30px));
    }
}

@media (max-width: 992px) {
    .about-home-grid {
        grid-template-columns: 1fr;
    }

    .highlight-grid,
    .services-grid-home,
    .product-preview-grid,
    .gallery-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.home-page {
        --home-section-space: 0.9rem;
        --home-banner-space: 0.5rem;
    }

    .home-banner-strip-section {
        padding: var(--home-banner-space) 0;
    }

    .home-banner-strip {
        border: 0;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .home-banner-strip img {
        height: 100%;
        object-fit: contain;
        object-position: center;
        background: transparent;
        padding: 0;
        border-radius: 0;
    }

    .home-banner-strip {
        aspect-ratio: auto;
    }

    .hero-section {
        min-height: 680px;
    }

    .hero-content-wrap {
        min-height: 680px;
        padding: 92px 0 16px;
        justify-content: flex-start;
        gap: 14px;
        position: relative;
    }

    .hero-grid {
        gap: 16px;
        margin-bottom: 72px;
    }

    .hero-content h1 {
        font-size: clamp(30px, 10vw, 44px);
        line-height: 1.1;
        margin-bottom: 14px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .hero-info-card {
        display: none;
    }

    .hero-controls {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 14px;
        margin-top: 0;
        width: 100%;
        padding: 0 2px;
        justify-content: space-between;
    }

    .hero-dots {
        gap: 0.45rem;
    }

    .hero-dots .dot {
        width: 11px;
        height: 11px;
    }

    .home-ads-row-wrap {
        position: relative;
    }

    .home-ads-nav {
        display: none;
    }

    .home-products-arrow {
        display: none;
    }

    .home-training-arrow {
        display: none;
    }

    .yt-home-scroll-controls {
        display: none;
    }

    .yt-home-video-card {
        flex-basis: min(86vw, 360px);
        min-width: 0;
    }

    .home-ad-card {
        flex-basis: min(86vw, 320px);
    }

    .section-head-inline {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-page .section-space .container {
        width: calc(100vw - 20px);
        padding: 12px;
        border-radius: 18px;
        box-shadow: 0 10px 20px rgba(39, 24, 24, 0.06);
    }

    .services-home-section {
        padding: var(--home-section-space) 0;
    }

    .services-home-section-tight {
        padding-top: var(--home-section-space);
    }

    .services-home-section .container {
        width: calc(100vw - 20px);
    }

    .home-page .home-banner-strip-section .container {
        padding: 0;
        border-radius: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .hero-arrows button {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .yt-home-card-grid {
        gap: 12px;
    }

    .yt-home-controls-row {
        flex-direction: column;
        align-items: stretch;
    }

    .yt-home-scroll-controls {
        justify-content: flex-end;
    }

    .yt-home-scroll-dots {
        justify-content: center;
    }

    .highlight-grid,
    .services-grid-home,
    .product-preview-grid,
    .ads-grid,
    .blog-grid-home,
    .gallery-grid-home,
    .training-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .training-section .training-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding: 2px 2px 6px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .training-section .training-grid::-webkit-scrollbar {
        display: none;
        height: 0;
    }

    .training-section .training-card {
        flex: 0 0 min(86vw, 360px);
        scroll-snap-align: start;
    }

    .cta-final-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}
