:root {
    --ds-bg: #f4efe4;
    --ds-surface: rgba(255, 255, 255, 0.8);
    --ds-card: #fffdf8;
    --ds-text: #1f2a1f;
    --ds-muted: #5f6f52;
    --ds-primary: #3f6b3c;
    --ds-primary-dark: #274529;
    --ds-accent: #d29d2b;
    --ds-border: rgba(63, 107, 60, 0.14);
    --ds-shadow: 0 20px 50px rgba(31, 42, 31, 0.12);
    --bs-body-font-family: "Be Vietnam Pro", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ds-text);
    background:
        radial-gradient(circle at top left, rgba(210, 157, 43, 0.16), transparent 30%),
        linear-gradient(180deg, #f9f6ef 0%, #eef4e7 100%);
}

a {
    color: var(--ds-primary);
    text-decoration: none;
}

a:hover {
    color: var(--ds-primary-dark);
}

.datsinh-navbar {
    backdrop-filter: blur(16px);
    background: rgba(255, 250, 240, 0.86);
    border-bottom: 1px solid rgba(63, 107, 60, 0.12);
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brand-title {
    font-size: 1.05rem;
    color: var(--ds-primary-dark);
    letter-spacing: 0.02em;
}

.brand-subtitle {
    display: block;
    color: var(--ds-muted);
    font-size: 0.77rem;
    max-width: 18rem;
    line-height: 1.35;
}

.navbar-nav .nav-link {
    color: var(--ds-text);
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.is-active {
    color: var(--ds-primary);
}

.hero-section {
    padding: 7rem 0 4rem;
}

.hero-shell {
    border: 1px solid var(--ds-border);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--ds-shadow);
    background: linear-gradient(135deg, rgba(39, 69, 41, 0.95), rgba(63, 107, 60, 0.88));
    color: #fff;
}

.hero-copy {
    padding: 3rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(1.85rem, 3vw, 3.2rem);
    line-height: 1.12;
    margin-bottom: 1.25rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 42rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.25rem;
}

.hero-note {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-note strong,
.hero-note span {
    display: block;
}

.hero-note span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    margin-top: 0.35rem;
}

.hero-visual {
    min-height: 100%;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.hero-visual-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 18rem;
    background: rgba(255, 248, 230, 0.92);
    color: var(--ds-primary-dark);
    border-radius: 1.25rem;
    padding: 1.2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.hero-badge strong,
.hero-badge span {
    display: block;
}

.hero-badge span {
    color: #576552;
    margin-top: 0.35rem;
    line-height: 1.5;
}

.content-section {
    padding: 2rem 0 0;
}

.section-panel {
    background: var(--ds-surface);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: var(--ds-shadow);
    border-radius: 1.75rem;
    padding: 2rem;
}

.section-kicker {
    display: inline-block;
    color: var(--ds-primary);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(1.45rem, 2.2vw, 2.2rem);
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.section-copy {
    color: var(--ds-muted);
    line-height: 1.8;
    max-width: 52rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: 1.25rem;
    padding: 1.25rem;
}

.stat-card strong {
    display: block;
    font-size: 1.8rem;
    color: var(--ds-primary-dark);
}

.stat-card span {
    color: var(--ds-muted);
}

.product-carousel,
.gallery-carousel {
    margin-top: 1.5rem;
}

.carousel-shell {
    position: relative;
    padding-inline: 4.5rem;
}

.carousel-card {
    background: var(--ds-card);
    border-radius: 1.75rem;
    border: 1px solid var(--ds-border);
    overflow: hidden;
    box-shadow: var(--ds-shadow);
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-media {
    aspect-ratio: 4 / 3;
    min-height: 22rem;
}

.product-media img {
    display: block;
    height: 100%;
}

.carousel-copy {
    padding: 2rem;
}

.carousel-copy p {
    color: var(--ds-muted);
    line-height: 1.8;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.tag-row span {
    display: inline-flex;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(63, 107, 60, 0.08);
    color: var(--ds-primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background-color: rgba(255, 253, 248, 0.96);
    border: 1px solid rgba(39, 69, 41, 0.12);
    box-shadow: 0 12px 30px rgba(31, 42, 31, 0.16);
    background-size: 34%;
}

.carousel-control-prev {
    left: 0.75rem;
}

.carousel-control-next {
    right: 0.75rem;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23274529'%3e%3cpath d='M10.5 2.5 5 8l5.5 5.5 1.4-1.4L7.8 8l4.1-4.1z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23274529'%3e%3cpath d='m5.5 2.5-1.4 1.4L8.2 8l-4.1 4.1 1.4 1.4L11 8z'/%3e%3c/svg%3e");
}

.gallery-frame {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    aspect-ratio: 16 / 10;
    min-height: 24rem;
}

.gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

.gallery-trigger {
    display: block;
    cursor: zoom-in;
}

.gallery-caption {
    position: absolute;
    inset: auto 1.25rem 1.25rem 1.25rem;
    background: rgba(25, 35, 25, 0.72);
    color: #fff;
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
}

.gallery-caption p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.thumb-gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.thumb-card {
    display: block;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--ds-border);
    background: #fff;
    box-shadow: 0 10px 25px rgba(31, 42, 31, 0.08);
    aspect-ratio: 1 / 1;
    cursor: zoom-in;
}

.thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.thumb-card:hover img {
    transform: scale(1.06);
}

.lightbox-modal .modal-content {
    background: rgba(18, 24, 18, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
}

.lightbox-modal .modal-header {
    border-bottom: 0;
    padding: 1rem 1rem 0;
}

.lightbox-modal .modal-body {
    padding: 1rem 1rem 1.25rem;
}

.lightbox-stage {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 1rem;
}

.lightbox-caption {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.25rem;
    height: 3.25rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 253, 248, 0.94);
    color: var(--ds-primary-dark);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.lightbox-nav.prev {
    left: 0.75rem;
}

.lightbox-nav.next {
    right: 0.75rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.25rem;
}

.contact-card,
.branch-card {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--ds-shadow);
}

.branch-list {
    display: grid;
    gap: 1rem;
}

.branch-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

.branch-card p,
.contact-card p {
    margin-bottom: 0;
    color: var(--ds-muted);
    line-height: 1.7;
}

footer {
    margin-top: 3rem;
    background: #20361e;
    color: rgba(255, 255, 255, 0.82);
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.footer-copy,
.footer-links a,
.social-networks a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-heading {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.footer-links,
.social-networks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.scrollup {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ds-primary-dark);
    color: #fff;
    box-shadow: var(--ds-shadow);
    z-index: 1040;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 5.5rem;
    }

    .hero-copy,
    .section-panel,
    .carousel-copy {
        padding: 1.5rem;
    }

    .hero-notes,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .carousel-shell {
        padding-inline: 0;
    }

    .carousel-control-prev,
    .carousel-control-next {
        top: auto;
        bottom: -4.25rem;
        transform: none;
    }

    .carousel-control-prev {
        left: calc(50% - 3.75rem);
    }

    .carousel-control-next {
        right: calc(50% - 3.75rem);
    }

    .hero-visual {
        min-height: 22rem;
    }

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

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

    .hero-badge {
        position: static;
        margin: 1rem;
    }

    .gallery-frame,
    .gallery-frame img {
        min-height: 22rem;
        height: 22rem;
    }

    .product-media {
        min-height: 18rem;
    }

    .lightbox-nav {
        width: 2.75rem;
        height: 2.75rem;
    }

    .thumb-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.65rem;
    }
}

.tag-row {

    display: flex;

    flex-wrap: wrap;

    gap: 0.5rem;

}

.tag-row span,

.tag-row a {

    display: inline-flex;

    align-items: center;

    width: fit-content;

    padding: 0.5rem 0.85rem;

    border-radius: 999px;

    background: rgba(255, 193, 7, 0.14);

    border: 1px solid rgba(255, 193, 7, 0.35);

    color: #212529;

    font-size: 0.9rem;

    font-weight: 600;

    text-decoration: none;

}

.tag-row a:hover {

    background: #ffc107;

    border-color: #ffc107;

    color: #212529;

}


.product-trigger {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-trigger:hover {
    transform: translateY(-2px);
}

.product-trigger .product-media {
    overflow: hidden;
}

.product-trigger .product-media img {
    transition: transform 0.35s ease;
}

.product-trigger:hover .product-media img {
    transform: scale(1.03);
}