:root {
    --home-primary: #116aa5;
    --home-primary-dark: #08496f;
    --home-accent: #c82938;
    --home-ink: #102a3e;
    --home-muted: #607284;
    --home-surface: #ffffff;
    --home-soft: #f3f7fa;
    --home-border: rgba(16, 42, 62, 0.09);
    --home-shadow: 0 18px 50px rgba(17, 70, 103, 0.10);
}

body {
    color: var(--home-ink);
    background: #fff;
}

body .container {
    max-width: 1200px;
}

body .section-title {
    color: var(--home-ink) !important;
    font-size: clamp(1.75rem, 3vw, 2.55rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    margin: 0 0 1rem !important;
}

body .section-title::after {
    width: 58px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--home-accent), #ee6b48);
}

body .badge.bg-primary {
    color: var(--home-accent) !important;
    background: rgba(200, 41, 56, 0.09) !important;
    border: 1px solid rgba(200, 41, 56, 0.16);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
}

body .text-primary {
    color: var(--home-primary) !important;
}

body .btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

body .btn:hover {
    transform: translateY(-2px);
}

body .btn-primary {
    border-color: var(--home-primary);
    background: linear-gradient(135deg, var(--home-primary), #208bc4);
    box-shadow: 0 10px 22px rgba(17, 106, 165, .20);
}

body .btn-outline-primary {
    color: var(--home-primary);
    border: 1.5px solid var(--home-primary);
}

/* Video cover */
body .hero-section {
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #071c2c;
    box-shadow: 0 18px 45px rgba(5, 31, 48, .16);
}

.hero-section .hero-video {
    width: 100% !important;
    height: clamp(330px, 43vw, 680px) !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    background: #071c2c !important;
}

/* About */
body .about-section {
    position: relative;
    padding: 88px 0 !important;
    background:
        radial-gradient(circle at 8% 18%, rgba(32, 139, 196, .10), transparent 26%),
        linear-gradient(180deg, #fff, #f8fbfd);
    overflow: hidden;
}

.about-section .row {
    --bs-gutter-x: clamp(2rem, 5vw, 5rem);
}

.about-section .about-content {
    max-width: 570px;
}

.about-section .section-text {
    color: var(--home-muted) !important;
    font-size: 1.03rem !important;
    line-height: 1.8;
}

.about-section .about-image {
    padding: 14px;
    border: 1px solid rgba(17, 106, 165, .12);
    border-radius: 28px;
    background: rgba(255, 255, 255, .75);
    box-shadow: var(--home-shadow);
}

.about-section .about-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 18px;
}

.about-section .cta-buttons {
    margin-top: 1.75rem;
}

.about-section .cta-buttons .btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
}

/* Numbers */
body .impressive-numbers-section {
    padding: 80px 0 !important;
    background:
        radial-gradient(circle at 90% 0, rgba(74, 157, 211, .20), transparent 34%),
        linear-gradient(135deg, #eaf3f9 0%, #dce8f3 100%) !important;
}

.impressive-numbers-section .container {
    position: relative;
    z-index: 1;
}

.impressive-numbers-section .text-center.mb-5,
.featured-products .text-center.mb-5 {
    margin-bottom: 2.5rem !important;
}

.impressive-numbers-section .number-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
}

.impressive-numbers-section .number-grid > * {
    width: auto;
    max-width: none;
    padding: 0;
}

.impressive-numbers-section .number-card {
    min-height: 225px;
    padding: 26px 16px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 35px rgba(41, 80, 109, .09);
}

.impressive-numbers-section .icon-circle {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--home-primary), #3d99c9);
    box-shadow: 0 10px 25px rgba(17, 106, 165, .22);
}

.impressive-numbers-section .counter-number {
    max-width: 100%;
    font-size: clamp(1.8rem, 2.8vw, 2.65rem) !important;
    line-height: 1.08;
    white-space: nowrap;
    background: none;
    color: var(--home-primary);
    -webkit-text-fill-color: currentColor;
}

/* Feature and audience cards */
body .home-features,
body .home-audiences {
    padding: 82px 0 !important;
    margin: 0 !important;
}

body .home-features {
    background: #fff !important;
}

body .home-audiences {
    background: var(--home-soft) !important;
}

.home-features .white-area,
.home-audiences .white-area {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.home-features .row {
    margin-top: 2.25rem !important;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.home-features .row > div {
    margin-bottom: 0 !important;
}

.home-features .feature-card {
    height: 100%;
    min-height: 265px;
    padding: 30px 24px !important;
    border: 1px solid var(--home-border);
    border-radius: 22px;
    background: var(--home-surface);
    box-shadow: 0 12px 35px rgba(17, 70, 103, .07);
}

.home-features .feature-card:hover {
    transform: translateY(-7px);
    border-color: rgba(17, 106, 165, .22);
    box-shadow: var(--home-shadow);
}

.home-features .feature-card .icon-circle {
    width: 70px !important;
    height: 70px !important;
    color: #fff;
    background: linear-gradient(135deg, var(--home-primary), #46a8d6) !important;
    box-shadow: 0 12px 28px rgba(17, 106, 165, .20) !important;
}

.home-features .feature-card .icon-circle i {
    color: #fff !important;
    font-size: 25px !important;
}

.home-features .feature-card h3 {
    color: var(--home-ink);
    font-size: 1.08rem;
    line-height: 1.35;
}

.home-features .feature-card p {
    color: var(--home-muted);
    line-height: 1.7;
}

.home-audiences .section-title {
    padding-top: 0 !important;
}

.home-audiences .benefits-grid {
    padding-top: 2rem !important;
}

.home-audiences .benefit-card {
    min-height: 230px;
    padding: 28px !important;
    border: 1px solid var(--home-border) !important;
    border-top: 4px solid var(--home-primary) !important;
    border-radius: 20px;
    background: #fff !important;
    box-shadow: 0 12px 35px rgba(17, 70, 103, .07);
}

.home-audiences .benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--home-shadow);
}

.home-audiences .benefit-title {
    color: var(--home-ink);
    font-size: 1.18rem;
}

.home-audiences .benefit-list {
    padding: 0 !important;
}

.home-audiences .benefit-list li {
    margin-bottom: .85rem;
    color: var(--home-muted);
    line-height: 1.55;
}

/* Remaining homepage sections */
body .featured-products,
body .color-space,
body .feng-shui-knowledge,
body .testimonials,
body .gallery-section,
body .news-section,
body .cta-section {
    padding: 82px 0 !important;
    margin: 0 !important;
}

body .featured-products,
body .color-space,
body .testimonials,
body .news-section {
    background: #fff !important;
}

body .testimonials .section-title {
    color: var(--home-ink) !important;
    background: none !important;
    -webkit-text-fill-color: var(--home-ink) !important;
    text-shadow: none !important;
}

body .testimonials .section-title::after {
    background: linear-gradient(90deg, var(--home-accent), #ee6b48) !important;
}

body .feng-shui-knowledge,
body .gallery-section {
    background: var(--home-soft) !important;
}

.featured-products .product-card,
.feng-shui-knowledge .feng-shui-intro,
.feng-shui-knowledge .element-card,
.testimonials .testimonial-card,
.gallery-section .gallery-item {
    border: 1px solid var(--home-border) !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 34px rgba(17, 70, 103, .08) !important;
}

.color-space .row {
    --bs-gutter-x: 4rem;
}

.color-space img {
    border-radius: 18px;
}

.feng-shui-knowledge .element-card {
    padding: 28px 20px !important;
}

.testimonials .testimonial-card {
    padding: 40px !important;
    background: #fff;
}

.gallery-section .gallery-item {
    overflow: hidden;
    background: #fff;
}

.gallery-section .gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

body > h1.section-title {
    margin: 76px 0 0 !important;
}

body .news-section {
    padding-top: 46px !important;
}

body .cta-section {
    min-height: 340px;
    display: flex;
    align-items: center;
}

.cta-section .cta-backdrop {
    background: linear-gradient(135deg, #075985 0%, #116aa5 52%, #0b3f63 100%);
    opacity: .98;
}

.cta-section .cta-pattern {
    opacity: .28;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.22) 0 2px, transparent 3px),
        radial-gradient(circle at 85% 65%, rgba(255,255,255,.18) 0 2px, transparent 3px);
    background-size: 52px 52px, 72px 72px;
}

body .cta-section h3 {
    font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
}

@media (max-width: 991.98px) {
    .hero-section .hero-video {
        height: clamp(280px, 56vw, 500px) !important;
    }

    body .about-section,
    body .impressive-numbers-section,
    body .home-features,
    body .home-audiences,
    body .featured-products,
    body .color-space,
    body .feng-shui-knowledge,
    body .testimonials,
    body .gallery-section,
    body .news-section,
    body .cta-section {
        padding: 64px 0 !important;
    }

    .about-section .about-content {
        max-width: none;
    }

    .impressive-numbers-section .number-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body .section-title {
        font-size: clamp(1.55rem, 7vw, 2rem) !important;
    }

    .hero-section .hero-video {
        height: 58vw !important;
        min-height: 230px !important;
    }

    body .about-section,
    body .impressive-numbers-section,
    body .home-features,
    body .home-audiences,
    body .featured-products,
    body .color-space,
    body .feng-shui-knowledge,
    body .testimonials,
    body .gallery-section,
    body .news-section,
    body .cta-section {
        padding: 52px 0 !important;
    }

    .about-section .row {
        --bs-gutter-y: 2.5rem;
    }

    .about-section .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .impressive-numbers-section .number-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .impressive-numbers-section .number-grid > *:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 6px);
        width: 100%;
        justify-self: center;
    }

    .impressive-numbers-section .number-card {
        min-height: 180px;
        padding: 22px 10px !important;
    }

    .home-features .feature-card {
        min-height: 0;
        padding: 26px 20px !important;
    }

    .home-audiences .carousel-inner {
        padding: 1.5rem .75rem 2rem;
    }

    .home-audiences .benefit-card {
        min-height: 250px;
        text-align: left !important;
    }

    .testimonials .testimonial-card {
        padding: 28px 22px !important;
    }

    .gallery-section .carousel-item .col-md-4:not(:first-child) {
        display: none;
    }

    body > h1.section-title {
        margin-top: 52px !important;
        padding: 0 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body *,
    body *::before,
    body *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
