:root {
    --bg: #f7f0e7;
    --bg-soft: #fffaf4;
    --surface: #ffffff;
    --surface-soft: #fbf6ef;
    --text: #1f1a17;
    --muted: #6f6258;
    --line: rgba(90, 54, 47, 0.12);
    --maroon: #7a1f2b;
    --maroon-deep: #5a1620;
    --gold: #d1a15b;
    --olive: #7a8b3f;
    --shadow: 0 20px 55px rgba(73, 39, 29, 0.12);
    --radius: 26px;
    --radius-sm: 18px;
    --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    font-family: "Lexend", "Manrope", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(122, 31, 43, 0.08), transparent 22%),
        radial-gradient(circle at top right, rgba(122, 139, 63, 0.08), transparent 20%),
        linear-gradient(180deg, #fcf8f2 0%, var(--bg) 100%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
main { overflow: hidden; }

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.announcement-bar {
    padding: 11px 16px;
    background: var(--maroon-deep);
    color: #f8ece6;
    font-size: 14px;
}

.topbar__inner,
.topbar__left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar__inner { justify-content: space-between; }

.announcement-bar a { color: #ffd68a; font-weight: 700; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 250, 244, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    padding: 4px;
    box-shadow: 0 10px 24px rgba(122, 31, 43, 0.08);
}

.logo strong { display: block; font-size: 18px; color: var(--maroon-deep); }
.logo small,
.hero-copy p,
.page-copy p,
.section-copy,
.product-card p,
.spec-list li,
.footer-links,
.footer-links a,
.detail-copy p { color: var(--muted); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-nav a {
    font-weight: 600;
    position: relative;
}

.site-nav a.active,
.site-nav a:hover { color: var(--maroon); }

.site-nav a.active::after,
.site-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--maroon), var(--gold));
}

.menu-toggle { display: none; }
.drawer-backdrop,
.drawer-close { display: none; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(73, 39, 29, 0.12);
}

.button--solid {
    color: #fff;
    background: linear-gradient(135deg, var(--maroon), #a42e3b);
}

.button--ghost {
    color: var(--maroon-deep);
    border-color: rgba(122, 31, 43, 0.16);
    background: #fff;
}

.button--dark {
    color: #fff;
    background: linear-gradient(135deg, var(--olive), #9eb35a);
}

.hero,
.page-hero { padding: 72px 0 38px; }

.main-slider {
    position: relative;
    overflow: hidden;
}

.main-slider__carousel {
    position: relative;
    min-height: 640px;
}

.main-slider__slide {
    display: none;
    min-height: 640px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.main-slider__slide.active { display: flex; align-items: center; }

.main-slider__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(35, 15, 18, 0.66) 0%, rgba(35, 15, 18, 0.28) 50%, rgba(35, 15, 18, 0.1) 100%);
}

.main-slider__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 0;
    color: #fff;
}

.main-slider__content h1 {
    color: #fff;
    font-size: clamp(3rem, 6vw, 4rem);
}

.main-slider__content p:not(.eyebrow) {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    max-width: 620px;
}

.main-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.main-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
}

.main-slider__dot.active { background: #fff; }

.hero-grid,
.page-grid,
.story-grid,
.detail-layout,
.contact-grid {
    display: grid;
    gap: 28px;
}

.hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--olive);
    font-weight: 700;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.detail-copy h1 {
    margin: 0 0 18px;
    line-height: 0.97;
    letter-spacing: -0.03em;
    font-family: "Playfair Display", Georgia, serif;
}

.section-heading h2 {
    margin: 0 0 48px;
}

.hero-copy h1 { font-size: clamp(3rem, 6vw, 5.7rem); color: var(--maroon-deep); }
.page-hero h1,
.detail-copy h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); color: var(--maroon-deep); }

.hero-copy p { max-width: 700px; font-size: 17px; }

.hero-actions,
.chip-row,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.chip {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(122, 31, 43, 0.12);
    background: rgba(255,255,255,0.72);
    color: var(--maroon-deep);
    font-size: 14px;
}

.hero-visual,
.stat-card,
.feature-card,
.product-card,
.video-card,
.testimonial-card,
.certificate-card,
.gallery-card,
.info-card,
.form-card,
.policy-card,
.page-hero__panel,
.detail-panel,
.table-wrap {
    background: var(--surface);
    border: 1px solid rgba(122, 31, 43, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-visual {
    padding: 18px;
    background: linear-gradient(180deg, #fff, #f9f1e7);
}

.hero-visual__frame {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 22px;
}

.hero-visual__frame img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    max-width: 230px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 250, 244, 0.94);
    border: 1px solid rgba(122, 31, 43, 0.12);
    box-shadow: 0 12px 24px rgba(73, 39, 29, 0.12);
}

.floating-badge strong {
    display: block;
    margin-bottom: 6px;
    color: var(--maroon);
}

.floating-badge--top { top: 20px; left: 20px; }
.floating-badge--bottom { right: 20px; bottom: 20px; }

.section { padding: 34px 0 84px; }

.patterned-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0.05));
}

.rice-section {
    background:
        linear-gradient(180deg, rgba(122,31,43,0.03), rgba(209,161,91,0.05)),
        var(--bg-soft);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 28px;
}

.section-heading--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading--light h2,
.section-heading--light p { color: #fff; }

.section-heading h2 { font-size: clamp(2rem, 4vw, 3.3rem); color: var(--maroon-deep); }

.stats-grid,
.feature-grid,
.product-grid,
.video-grid,
.testimonial-grid,
.certificate-grid,
.gallery-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.stats-grid > * { grid-column: span 3; }
.feature-grid > * { grid-column: span 4; }
.product-grid > * { grid-column: span 4; }
.video-grid > * { grid-column: span 6; }
.testimonial-grid > * { grid-column: span 4; }
.certificate-grid > * { grid-column: span 2; }
.gallery-grid > * { grid-column: span 4; }
.contact-grid > .info-card { grid-column: span 5; }
.contact-grid > .form-card { grid-column: span 7; }

.stat-card,
.feature-card,
.info-card,
.form-card,
.policy-card,
.page-hero__panel,
.detail-panel,
.testimonial-card { padding: 26px; }

.stat-card {
    background: linear-gradient(180deg, #fff, #fbf4eb);
}

.stat-card strong {
    display: block;
    font-size: 36px;
    color: var(--maroon);
    margin-bottom: 8px;
}

.feature-card h3,
.product-card h3,
.testimonial-card h3,
.info-card h3 {
    margin: 0 0 12px;
    color: var(--maroon-deep);
}

.product-card {
    overflow: hidden;
    background: linear-gradient(180deg, #fff, #fcf7ef);
}

.feature-grid--categories .feature-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 18px;
}

.product-card__media img,
.gallery-card img,
.detail-media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-card__body,
.gallery-card__caption { padding: 22px; }

.product-card__body .eyebrow { color: var(--olive); }

.table-wrap {
    overflow-x: auto;
    padding: 14px;
    background: linear-gradient(180deg, #fff, #fbf4ea);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(122, 31, 43, 0.08);
    text-align: left;
}

th {
    color: var(--maroon);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.14em;
}

.video-card {
    padding: 16px;
    background: linear-gradient(180deg, #fff, #faf3ea);
}

.video-card iframe,
.map-frame iframe {
    width: 100%;
    min-height: 350px;
    border: 0;
    border-radius: 18px;
}

.video-banner {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-banner__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(48, 18, 22, 0.78), rgba(48, 18, 22, 0.48));
}

.video-banner__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: #fff;
    padding: 88px 0;
}

.video-banner__content h2 {
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin: 0 0 18px;
}

.video-banner__content p:not(.eyebrow) {
    color: rgba(255,255,255,0.88);
    font-size: 18px;
    margin-bottom: 24px;
}

.certificate-card {
    min-height: 170px;
    display: grid;
    place-items: center;
    padding: 18px;
    background: linear-gradient(180deg, #fff, #fbf3e7);
}

.certificate-card img {
    max-height: 92px;
    object-fit: contain;
}

.testimonial-card {
    position: relative;
    background: linear-gradient(180deg, #fff, #fbf5ee);
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 6px;
    right: 18px;
    font-size: 88px;
    line-height: 1;
    color: rgba(122, 31, 43, 0.08);
}

.gallery-card { overflow: hidden; }
.gallery-card img { height: 320px; }

.page-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
}

.page-hero__panel {
    background: linear-gradient(180deg, #fff, #f9f2e8);
}

.page-hero__panel ul,
.spec-list,
.footer-links {
    margin: 0;
    padding-left: 18px;
}

.story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.story-grid img,
.detail-media img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.detail-layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
}

.about-one__img-box {
    position: relative;
}

.about-one__experience {
    position: absolute;
    right: 20px;
    bottom: 20px;
    max-width: 200px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 250, 244, 0.95);
    border: 1px solid rgba(122,31,43,0.12);
    box-shadow: var(--shadow);
}

.about-one__experience strong {
    display: block;
    font-size: 34px;
    color: var(--maroon);
}

.project-one {
    padding: 90px 0;
    background:
        linear-gradient(180deg, rgba(90,22,32,0.88), rgba(90,22,32,0.92)),
        url('assets/images/live/4.jpg') center/cover;
}

.project-one .product-card {
    background: linear-gradient(180deg, #fff, #f9efe5);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.detail-panel {
    display: grid;
    gap: 20px;
    background: linear-gradient(180deg, #fff, #fbf5ed);
}

.spec-list li { margin-bottom: 10px; }

.site-footer {
    padding: 52px 0 20px;
    background: linear-gradient(180deg, var(--maroon-deep), #441018);
    color: #f6ebe5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-links li { margin-bottom: 10px; }

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.78);
}

form { display: grid; gap: 16px; }

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--maroon-deep);
}

input,
select,
textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid rgba(122, 31, 43, 0.12);
    background: #fffdf9;
    color: var(--text);
    font: inherit;
}

textarea { min-height: 160px; resize: vertical; }

@media (max-width: 1024px) {
    .hero-grid,
    .page-grid,
    .story-grid,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid > *,
    .feature-grid > *,
    .product-grid > *,
    .video-grid > *,
    .testimonial-grid > *,
    .certificate-grid > *,
    .gallery-grid > *,
    .contact-grid > * {
        grid-column: span 12;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(84vw, 360px);
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 24px 20px 28px;
        border-radius: 0;
        background: #fff9f2;
        box-shadow: var(--shadow);
        border: 1px solid rgba(122, 31, 43, 0.1);
        z-index: 300;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .site-nav.is-open { transform: translateX(0); }

    .site-nav a {
        width: 100%;
        padding: 10px 0;
        font-size: 18px;
    }

    .drawer-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(33, 18, 19, 0.48);
        z-index: 250;
    }

    .drawer-backdrop.is-open { display: block; }

    .drawer-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-bottom: 14px;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(122, 31, 43, 0.12);
        border-radius: 50%;
        background: #fff;
        color: var(--maroon-deep);
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 16px;
        border-radius: 999px;
        border: 1px solid rgba(122, 31, 43, 0.12);
        background: #fff;
        color: var(--maroon-deep);
        font: inherit;
        font-weight: 700;
    }

    .desktop-cta { display: none; }
    .topbar__inner { justify-content: center; }
}

@media (max-width: 640px) {
    .field-grid { grid-template-columns: 1fr; }
    .hero,
    .page-hero { padding-top: 50px; }
    .hero-copy p { font-size: 15px; }
    .hero-visual__frame,
    .hero-visual__frame img { min-height: 420px; height: 420px; }
    .floating-badge { max-width: 180px; padding: 14px; font-size: 13px; }
    .main-slider__carousel,
    .main-slider__slide { min-height: 540px; }
    .main-slider__content {
        max-width: 100%;
        padding: 54px 0 78px;
    }
    .main-slider__content h1 {
        font-size: clamp(2rem, 10vw, 2.9rem);
        line-height: 1.02;
        margin-bottom: 14px;
    }
    .page-hero h1,
    .detail-copy h1,
    .section-heading h2 {
        font-size: clamp(1.9rem, 8vw, 2.55rem);
        line-height: 1.05;
    }
    .main-slider__content p:not(.eyebrow),
    .page-copy p,
    .section-copy,
    .video-banner__content p:not(.eyebrow) {
        font-size: 15px;
        line-height: 1.65;
    }
    .section {
        padding: 24px 0 56px;
    }
    .section-heading {
        margin-bottom: 20px;
    }
    .section-heading h2 {
        margin-bottom: 10px;
    }
    .hero-actions,
    .cta-row,
    .chip-row {
        gap: 10px;
    }
    .chip {
        font-size: 12px;
        padding: 8px 12px;
    }
    .feature-grid > *,
    .product-grid > *,
    .gallery-grid > * {
        grid-column: span 6;
    }

    .certificate-grid > * {
        grid-column: span 4;
    }

    .testimonial-grid > *,
    .video-grid > *,
    .contact-grid > * {
        grid-column: span 12;
    }

    .feature-grid--categories .feature-card img,
    .product-card__media img,
    .gallery-card img {
        height: 190px;
    }

    .feature-card,
    .product-card__body,
    .gallery-card__caption,
    .stat-card,
    .testimonial-card,
    .certificate-card,
    .info-card,
    .form-card,
    .policy-card,
    .page-hero__panel,
    .detail-panel {
        padding: 16px;
    }

    .product-card h3,
    .feature-card h3,
    .testimonial-card h3 {
        font-size: 16px;
    }
    .about-one__experience {
        right: 12px;
        bottom: 12px;
        max-width: 148px;
        padding: 12px;
    }
    .about-one__experience strong {
        font-size: 26px;
    }

    .button {
        min-height: 44px;
        padding: 0 16px;
        font-size: 14px;
    }
    .video-banner {
        min-height: 420px;
    }
    .video-banner__content {
        padding: 56px 0;
    }
    .video-banner__content h2 {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
        line-height: 1.08;
    }
}

.main-slider__dots {
    display: none;
}

.feature-one-two {
    padding-top: 100px;
    padding-bottom: 100px;
}

section.feature-one.patterned-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.about-one {
    margin-bottom: 100px;
}