:root {
    --green: #064522;
    --green2: #08752f;
    --green3: #0d963c;
    --deep: #032d17;
    --gold: #ffc928;
    --gold2: #e6a900;
    --ink: #14251a;
    --muted: #64736a;
    --cream: #f5f8f1;
    --line: #e4eadf;
    --white: #fff;
    --shadow: 0 16px 45px rgba(3, 45, 23, .12);
    --radius: 20px;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(var(--max), calc(100% - 36px));
    margin: auto
}

.topbar {
    background: var(--deep);
    color: #e8f3e9;
    font-size: 13px
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
    flex-wrap: wrap
}

.topbar strong {
    color: var(--gold)
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(4, 58, 27, .97);
    box-shadow: 0 5px 22px rgba(0, 0, 0, .13);
    backdrop-filter: blur(10px)
}

.navrow {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: white;
    font-weight: bold;
    letter-spacing: -.8px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: linear-gradient(145deg, #a7ef42, #08752f 65%);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 29px;
    box-shadow: inset 0 1px 0 #ffffff70, 0 5px 15px #001d0e70
}

.brand em {
    font-style: normal;
    color: var(--gold)
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 23px;
    color: #e9f3e9;
    font-size: 14px;
    font-weight: bold
}

.navlinks a:hover {
    color: var(--gold)
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 999px;
    padding: 13px 21px;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap
}

.nav-cta,
.btn-gold {
    background: linear-gradient(135deg, #ffe36a, #ffbd00);
    color: #452d00;
    box-shadow: 0 7px 20px #dba90040
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04)
}

.menu-toggle {
    display: none;
    background: transparent;
    color: white;
    border: 1px solid #ffffff50;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 22px
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 78% 30%, #18863d 0, #075329 38%, #032b16 78%)
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 34, 16, .96) 0%, rgba(3, 55, 25, .9) 48%, rgba(3, 55, 25, .28) 100%), url('img/hero.jpg') center/cover;
    opacity: .78
}

.hero:after {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    border: 1px solid #b6ed4b30;
    border-radius: 50%;
    right: -110px;
    top: -210px;
    box-shadow: 0 0 0 45px #b6ed4b0d, 0 0 0 95px #b6ed4b08
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 42px;
    align-items: center;
    padding: 62px 0 66px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d9ff9d;
    background: #ffffff12;
    border: 1px solid #d5f3a83d;
    border-radius: 99px;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: .5px
}

.hero h1 {
    font-size: clamp(36px, 5.2vw, 64px);
    line-height: 1.02;
    letter-spacing: -2px;
    margin: 18px 0 17px;
    text-transform: uppercase
}

.hero h1 span {
    display: block;
    color: var(--gold);
    text-shadow: 0 5px 25px #e9a90045
}

.hero-lead {
    font-size: 18px;
    color: #e2eee4;
    max-width: 610px;
    margin: 0 0 22px
}

.tick-list {
    list-style: none;
    padding: 0;
    margin: 0 0 27px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px 18px
}

.tick-list li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 15px;
    color: #f4f8f3
}

.tick {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: #24410c;
    font-size: 13px;
    font-weight: bold
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.btn-call {
    background: #fff;
    color: var(--green);
    box-shadow: 0 8px 25px #0002
}

.btn-outline {
    border: 1px solid #ffffff70;
    color: white;
    background: #ffffff12
}

.hero-note {
    font-size: 12px;
    color: #d0e3d2;
    margin-top: 15px
}

.quote-card {
    background: #fff;
    color: var(--ink);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 24px 60px #001c0c70;
    border: 4px solid #ffffff28
}

.quote-card h2 {
    font-size: 23px;
    line-height: 1.15;
    color: var(--green);
    margin: 0 0 5px
}

.quote-card .sub {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 17px
}

.field {
    margin-bottom: 11px
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 5px;
    color: #405449
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #dce5dc;
    border-radius: 11px;
    padding: 12px 13px;
    background: #f8faf7;
    outline: none;
    color: #18271e
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--green2);
    box-shadow: 0 0 0 3px #0a87301a
}

.field textarea {
    min-height: 72px;
    resize: vertical
}

.quote-card .btn {
    width: 100%;
    padding: 15px;
    margin-top: 3px;
    font-size: 15px
}

.privacy {
    font-size: 11px;
    color: #78857c;
    text-align: center;
    margin: 9px 0 0
}

.trust-strip {
    background: #fff;
    position: relative;
    margin-top: -1px
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 9px 28px #092d1510;
    background: #fff;
    padding: 17px 10px
}

.trust-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 7px 15px;
    border-right: 1px solid var(--line)
}

.trust-item:last-child {
    border: 0
}

.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #eff8e9;
    color: var(--green2);
    display: grid;
    place-items: center;
    font-size: 22px
}

.trust-item b {
    display: block;
    color: var(--green);
    font-size: 14px
}

.trust-item small {
    display: block;
    color: var(--muted);
    font-size: 12px
}

section {
    padding: 70px 0
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 34px
}

.kicker {
    color: var(--green2);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold
}

.section-head h2 {
    font-size: 30px;
    line-height: 1.12;
    color: var(--green);
    margin: 8px 0 10px;
    letter-spacing: -.8px
}

.section-head p {
    margin: 0;
    color: var(--muted)
}

.materials {
    background: #f7faf5
}

.material-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px
}

.material-card {
    background: #fff;
    border: 1px solid #e7eee4;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 7px 20px #123b1a08;
    transition: .22s
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.material-visual {
    height: 145px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(135deg, #164b2b, #9aab78)
}

.material-visual:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #001b0db0, transparent 75%)
}

.material-visual span {
    position: relative;
    font-size: 64px;
    filter: drop-shadow(0 4px 7px #001a0b80)
}

.material-visual.copper {
    background: linear-gradient(135deg, #492b18, #c67b3c)
}

.material-visual.steel {
    background: linear-gradient(135deg, #394a4a, #aeb8b4)
}

.material-visual.inox {
    background: linear-gradient(135deg, #263e48, #c6d1d2)
}

.material-visual.aluminum {
    background: linear-gradient(135deg, #637477, #d9e0dd)
}

.material-visual.machinery {
    background: linear-gradient(135deg, #1b3b32, #788c73)
}

.material-visual.lead {
    background: linear-gradient(135deg, #343a40, #87949b)
}

.material-visual.zinc {
    background: linear-gradient(135deg, #625e48, #c3b987)
}

.material-visual.cable {
    background: linear-gradient(135deg, #3a2421, #c57d35)
}

.material-body {
    padding: 16px
}

.material-body h3 {
    margin: 0 0 7px;
    color: var(--green);
    font-size: 18px
}

.material-body p {
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 13px;
    min-height: 40px
}

.text-link {
    font-size: 13px;
    font-weight: bold;
    color: #087a31
}

.text-link:hover {
    text-decoration: underline
}

.business {
    background: white
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center
}

.photo-panel {
    min-height: 430px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #164b2b, #9cae85)
}

.photo-panel img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover
}

.photo-panel:after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, #001a0dbd)
}

.photo-caption {
    position: absolute;
    z-index: 1;
    left: 25px;
    right: 25px;
    bottom: 24px;
    color: #fff
}

.photo-caption b {
    font-size: 23px;
    display: block
}

.photo-caption span {
    font-size: 13px;
    color: #e2eee4
}

.business-copy h2 {
    font-size: clamp(27px, 3.5vw, 38px);
    line-height: 1.12;
    color: var(--green);
    margin: 0 0 14px
}

.business-copy>p {
    color: var(--muted);
    margin: 0 0 20px
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px
}

.check-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: bold;
    font-size: 14px
}

.check-row i {
    font-style: normal;
    color: var(--green2);
    font-size: 19px
}

.business-callout {
    margin-top: 24px;
    padding: 17px;
    border-radius: 14px;
    background: #f0f7eb;
    border-left: 4px solid var(--gold2);
    font-size: 14px
}

.pricing {
    background: #f5f8f1
}

.price-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px
}

.price-box {
    background: #fff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 8px 28px #183e1b0c
}

.price-box h3 {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 21px
}

.price-box p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 16px
}

.factor-list {
    display: grid;
    gap: 13px
}

.factor {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.factor:last-child {
    border: 0
}

.factor .num {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff4cf;
    color: #906400;
    font-weight: bold
}

.factor b {
    font-size: 14px;
    display: block
}

.factor small {
    font-size: 12px;
    color: var(--muted)
}

.price-cta {
    background: linear-gradient(135deg, var(--green), #0a7c34);
    color: #fff;
    border-radius: 20px;
    padding: 27px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.price-cta h3 {
    font-size: 25px;
    line-height: 1.15;
    margin: 0 0 10px
}

.price-cta p {
    color: #dcece0;
    font-size: 14px;
    margin: 0 0 20px
}

.price-cta .btn {
    align-self: flex-start
}

.reasons {
    background: #fff
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px
}

.reason {
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff
}

.reason .ico {
    font-size: 27px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: #eff8e9;
    border-radius: 15px;
    margin-bottom: 14px
}

.reason h3 {
    margin: 0 0 7px;
    color: var(--green);
    font-size: 17px
}

.reason p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.process {
    background: #f5f8f1
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    position: relative
}

.step {
    text-align: center;
    position: relative;
    padding: 10px
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 13px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #159844, #045125);
    color: white;
    font-size: 27px;
    box-shadow: 0 8px 20px #075c2b35;
    border: 5px solid #dff0d8
}

.step b {
    display: block;
    color: var(--green);
    font-size: 15px;
    margin-bottom: 5px
}

.step p {
    font-size: 12px;
    color: var(--muted);
    margin: 0
}

.gallery {
    background: #fff
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px
}

.gallery-item {
    height: 220px;
    border-radius: 17px;
    overflow: hidden;
    position: relative;
    background: #dfe8dd
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s
}

.gallery-item:hover img {
    transform: scale(1.05)
}

.gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 13px;
    color: #fff;
    font-weight: bold;
    background: linear-gradient(transparent, #001b0dba)
}

.areas {
    background: #f5f8f1
}

.area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center
}

.area-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.area-pill {
    padding: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 13px;
    font-weight: bold;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 10px
}

.area-pill span {
    font-size: 20px
}

.area-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 15px
}

.area-art {
    border-radius: 22px;
    background: linear-gradient(145deg, #0a5b2b, #a5c27b);
    min-height: 270px;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
    padding: 25px
}

.area-art .big {
    font-size: 80px;
    line-height: 1
}

.area-art b {
    font-size: 23px;
    display: block;
    margin-top: 12px
}

.faq {
    background: white
}

.faq-list {
    max-width: 850px;
    margin: auto;
    display: grid;
    gap: 10px
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: hidden
}

.faq-q {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 0;
    padding: 17px 19px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    font-weight: bold;
    color: var(--green);
    cursor: pointer
}

.faq-q span:last-child {
    font-size: 22px;
    color: #b38300;
    transition: .2s
}

.faq-a {
    display: none;
    padding: 0 19px 17px;
    color: var(--muted);
    font-size: 14px
}

.faq-item.active .faq-a {
    display: block
}

.faq-item.active .faq-q span:last-child {
    transform: rotate(45deg)
}

.final-cta {
    background: linear-gradient(110deg, #032d17, #08732f);
    color: #fff;
    padding: 42px 0
}

.final-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.final-row h2 {
    font-size: clamp(25px, 3.4vw, 36px);
    line-height: 1.1;
    margin: 0 0 8px
}

.final-row p {
    margin: 0;
    color: #d6e9da
}

.final-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.footer {
    background: #022513;
    color: #d3e3d6;
    padding: 40px 0 95px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 30px
}

.footer h3 {
    color: #fff;
    margin: 0 0 13px;
    font-size: 16px
}

.footer p,
.footer li {
    font-size: 13px;
    color: #c3d6c7
}

.footer ul {
    padding-left: 18px;
    margin: 0;
    display: grid;
    gap: 7px
}

.footer-bottom {
    border-top: 1px solid #ffffff20;
    margin-top: 27px;
    padding-top: 18px;
    font-size: 12px;
    color: #9db6a3
}

.mobile-bar {
    display: none
}

.toast {
    position: fixed;
    z-index: 100;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: #102b19;
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    font-size: 13px;
    max-width: 90%;
    text-align: center
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0)
}

@media(max-width:980px) {
    .navlinks {
        gap: 13px;
        font-size: 12px
    }

    .nav-cta {
        padding: 11px 15px
    }

    .hero-grid {
        gap: 25px
    }

    .material-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .material-visual {
        height: 120px
    }
}

@media(max-width:760px) {
    html {
        scroll-padding-top: 75px
    }

    .topbar {
        display: none
    }

    .navrow {
        height: 66px
    }

    .brand {
        font-size: 20px
    }

    .brand-mark {
        width: 41px;
        height: 41px
    }

    .menu-toggle {
        display: block
    }

    .nav-cta {
        display: none
    }

    .navlinks {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: #04391c;
        padding: 15px 20px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .navlinks.open {
        display: flex
    }

    .navlinks a {
        padding: 12px 4px;
        border-bottom: 1px solid #ffffff20;
        font-size: 14px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 42px 0 45px;
        gap: 28px
    }

    .hero:before {
        background: linear-gradient(90deg, rgba(2, 34, 16, .94), rgba(3, 55, 25, .78)), url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1000&q=80') center/cover
    }

    .hero h1 {
        font-size: 43px
    }

    .hero-lead {
        font-size: 16px
    }

    .tick-list {
        grid-template-columns: 1fr;
        gap: 9px
    }

    .quote-card {
        padding: 20px
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        padding: 10px 0
    }

    .trust-item {
        justify-content: flex-start;
        border-right: 0;
        padding: 10px 12px
    }

    section {
        padding: 52px 0
    }

    .section-head {
        margin-bottom: 25px
    }

    .material-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px
    }

    .material-visual {
        height: 115px
    }

    .material-body {
        padding: 13px
    }

    .material-body h3 {
        font-size: 16px
    }

    .business-grid,
    .price-layout,
    .area-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .photo-panel {
        min-height: 280px
    }

    .check-grid {
        gap: 12px
    }

    .reason-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px
    }

    .reason {
        padding: 17px
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 6px
    }

    .step {
        display: grid;
        grid-template-columns: 60px 1fr;
        text-align: left;
        gap: 0 14px;
        align-items: center;
        padding: 8px 0
    }

    .step-icon {
        width: 55px;
        height: 55px;
        grid-row: span 2;
        margin: 0;
        font-size: 22px
    }

    .step p {
        font-size: 12px
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .gallery-item {
        height: 145px
    }

    .area-list {
        grid-template-columns: 1fr 1fr
    }

    .area-art {
        min-height: 220px
    }

    .final-row {
        display: block
    }

    .final-actions {
        margin-top: 20px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .mobile-bar {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        position: fixed;
        z-index: 80;
        bottom: 0;
        left: 0;
        right: 0;
        background: #032d17;
        padding: 8px 9px calc(8px + env(safe-area-inset-bottom));
        box-shadow: 0 -5px 20px #001b0c35;
        gap: 7px
    }

    .mobile-bar a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        border-radius: 10px;
        padding: 11px 4px;
        font-size: 12px;
        font-weight: bold;
        color: #fff;
        background: #0a7b32
    }

    .mobile-bar a:first-child,
    .btnhoahong {
        background: linear-gradient(135deg, #ffe36a, #ffbd00);
        color: #3b2900
    }

    .mobile-bar a:last-child {
        background: linear-gradient(135deg, #ffe36a, #ffbd00);
        color: #3b2900
    }

    .toast {
        bottom: 82px
    }
}

@media(max-width:380px) {
    .hero h1 {
        font-size: 36px
    }

    .material-visual {
        height: 95px
    }

    .material-visual span {
        font-size: 48px
    }

    .mobile-bar a {
        font-size: 11px
    }
}

/* ================================
    BẢNG CHIẾT KHẤU HOA HỒNG
    ================================ */

#hoahong {
    padding: 65px 0;
    background: linear-gradient(180deg, #f5f8f7 0%, #ffffff 100%);
}

#hoahong .ptd-hoahong-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 42px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e8eeeb;
    box-shadow: 0 15px 45px rgba(10, 50, 40, 0.09);
}

/* Tiêu đề */
#hoahong .ptd-hoahong-title {
    position: relative;
    text-align: center;
    color: #0b3b32;
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 18px;
    padding-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#hoahong .ptd-hoahong-title:after {
    content: "";
    display: block;
    width: 85px;
    height: 4px;
    margin: 15px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #c18b35, #f2cf79);
}

/* Mô tả */
#hoahong .ptd-hoahong-desc {
    max-width: 780px;
    margin: 0 auto 32px;
    text-align: center;
    color: #63716c;
    font-size: 16px;
    line-height: 1.8;
}

/* Khung bảng */
#hoahong .ptd-hoahong-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e5ebe7;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.035);
}

/* Bảng */
#hoahong .ptd-hoahong-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    font-size: 15px;
}

/* Header */
#hoahong .ptd-hoahong-table thead th {
    padding: 19px 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #0b493d, #06372f);
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    border: none;
    letter-spacing: 0.3px;
}

#hoahong .ptd-hoahong-table thead th:first-child {
    border-radius: 10px 0 0 0;
}

#hoahong .ptd-hoahong-table thead th:last-child {
    border-radius: 0 10px 0 0;
}

/* Ô dữ liệu */
#hoahong .ptd-hoahong-table tbody td {
    padding: 16px;
    color: #44534d;
    text-align: center;
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid #edf1ee;
    line-height: 1.5;
}

/* Dòng xen kẽ */
#hoahong .ptd-hoahong-table tbody tr:nth-child(even) td:not(.ptd-loaiphelieu) {
    background: #f7faf8;
}

#hoahong .ptd-hoahong-table tbody tr:hover td:not(.ptd-loaiphelieu) {
    background: #fff9eb;
}

/* Cột loại phế liệu */
#hoahong .ptd-loaiphelieu {
    width: 25%;
    min-width: 180px;
    padding: 20px 15px !important;
    color: #ffffff !important;
    background: linear-gradient(145deg, #0b493d, #07372f) !important;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Cột mức hoa hồng */
#hoahong .ptd-muc-hoahong {
    color: #a66c13 !important;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
}

/* Ghi chú */
#hoahong .ptd-note {
    margin-top: 25px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #fffaf0, #fff5df);
    border: 1px solid #f0dfb8;
    border-left: 5px solid #c18b35;
    border-radius: 10px;
}

#hoahong .ptd-note p {
    margin: 0 0 12px;
    color: #66583f;
    font-size: 14px;
    line-height: 1.85;
}

#hoahong .ptd-note p:last-child {
    margin-bottom: 0;
}

#hoahong .ptd-note strong {
    color: #a66c13;
    font-weight: bold;
}

#hoahong .ptd-note a {
    color: #0b493d;
    font-weight: bold;
    text-decoration: none;
}

#hoahong .ptd-note a:hover {
    color: #c18b35;
    text-decoration: underline;
}

/* Responsive tablet và mobile */
@media (max-width: 767px) {
    #hoahong {
        padding: 35px 0;
    }

    #hoahong .ptd-hoahong-wrap {
        padding: 22px 14px;
        border-radius: 12px;
    }

    #hoahong .ptd-hoahong-title {
        font-size: 23px;
        line-height: 1.4;
    }

    #hoahong .ptd-hoahong-desc {
        font-size: 14px;
        margin-bottom: 22px;
    }

    #hoahong .ptd-hoahong-table {
        min-width: 650px;
        font-size: 13px;
    }

    #hoahong .ptd-hoahong-table thead th {
        padding: 14px 10px;
        font-size: 13px;
    }

    #hoahong .ptd-hoahong-table tbody td {
        padding: 13px 10px;
        font-size: 13px;
    }

    #hoahong .ptd-loaiphelieu {
        min-width: 145px;
        font-size: 13px;
    }

    #hoahong .ptd-muc-hoahong {
        font-size: 13px;
    }

    #hoahong .ptd-note {
        padding: 18px 16px;
    }

    #hoahong .ptd-note p {
        font-size: 13px;
    }
}

.texthoahong {
    color: #FFDE5C;
}

/* ==================================
    GALLERY HÌNH ẢNH THU MUA
    ================================== */

#hinh-anh-thu-mua {
    padding: 75px 0;
    background: #f5f8f6;
}

#hinh-anh-thu-mua .ptd-gallery-heading {
    text-align: center;
    margin: 0 auto 38px;
    max-width: 760px;
}

#hinh-anh-thu-mua .ptd-gallery-subtitle {
    display: inline-block;
    color: #b5822d;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

#hinh-anh-thu-mua .ptd-gallery-heading h2 {
    color: #0b493d;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 14px;
}

#hinh-anh-thu-mua .ptd-gallery-heading p {
    color: #68766f;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
}

#hinh-anh-thu-mua .ptd-gallery-line {
    display: block;
    width: 75px;
    height: 4px;
    border-radius: 10px;
    margin: auto;
    background: linear-gradient(90deg, #b5822d, #f0cf83);
}

/* Lưới ảnh */
#hinh-anh-thu-mua .ptd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 18px;
}

/* Item ảnh */
#hinh-anh-thu-mua .ptd-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #0b493d;
    box-shadow: 0 8px 22px rgba(0, 45, 35, 0.10);
}

#hinh-anh-thu-mua .ptd-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
    margin: 0;
}

#hinh-anh-thu-mua .ptd-gallery-item:hover img {
    transform: scale(1.08);
}

/* Lớp phủ */
#hinh-anh-thu-mua .ptd-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    background: linear-gradient(180deg,
            transparent 35%,
            rgba(0, 25, 19, 0.82) 100%);
    transition: background 0.3s ease;
}

#hinh-anh-thu-mua .ptd-gallery-overlay span {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-left: 3px solid #d6a84c;
    padding-left: 12px;
}

#hinh-anh-thu-mua .ptd-gallery-item:hover .ptd-gallery-overlay {
    background: linear-gradient(180deg,
            rgba(0, 40, 30, 0.08),
            rgba(0, 25, 19, 0.9));
}

/* Chân section */
#hinh-anh-thu-mua .ptd-gallery-footer {
    margin-top: 35px;
    padding: 25px;
    text-align: center;
    background: #0b493d;
    border-radius: 12px;
}

#hinh-anh-thu-mua .ptd-gallery-footer p {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}

#hinh-anh-thu-mua .ptd-gallery-footer a {
    display: inline-block;
    padding: 12px 25px;
    color: #173c2e;
    background: linear-gradient(135deg, #f4d58c, #d4a443);
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

#hinh-anh-thu-mua .ptd-gallery-footer a:hover {
    background: #ffffff;
    color: #0b493d;
    transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 849px) {
    #hinh-anh-thu-mua .ptd-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 549px) {
    #hinh-anh-thu-mua {
        padding: 45px 0;
    }

    #hinh-anh-thu-mua .ptd-gallery-heading h2 {
        font-size: 23px;
    }

    #hinh-anh-thu-mua .ptd-gallery-heading p {
        font-size: 14px;
    }

    #hinh-anh-thu-mua .ptd-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 145px;
        gap: 9px;
    }

    #hinh-anh-thu-mua .ptd-gallery-item {
        border-radius: 8px;
    }

    #hinh-anh-thu-mua .ptd-gallery-overlay {
        padding: 10px;
    }

    #hinh-anh-thu-mua .ptd-gallery-overlay span {
        font-size: 10px;
        padding-left: 7px;
    }

    #hinh-anh-thu-mua .ptd-gallery-footer {
        padding: 20px 12px;
    }

    #hinh-anh-thu-mua .ptd-gallery-footer p {
        font-size: 15px;
    }

    #hinh-anh-thu-mua .ptd-gallery-footer a {
        font-size: 13px;
        padding: 11px 15px;
    }
}

/* ==================================
   MENU CỘNG TÁC VIÊN - HOA HỒNG
================================== */

.header .navlinks a.texthoahong {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 8px 13px;
    margin: 0 5px;
    color: #173c2e !important;
    background: linear-gradient(135deg,
            #ffe9a8 0%,
            #e8bd59 45%,
            #d39a32 100%);
    border: 1px solid #f8d98a;
    border-radius: 7px;
    box-shadow:
        0 3px 12px rgba(210, 160, 55, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Hiệu ứng ánh sáng */
.header .navlinks a.texthoahong::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -80%;
    width: 45%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(25deg);
    transition: left 0.6s ease;
}

.header .navlinks a.texthoahong:hover::before {
    left: 130%;
}

/* Icon */
.header .navlinks .hoahong-icon {
    font-size: 20px;
    color: #8b5711;
    line-height: 1;
}

/* Nội dung */
.header .navlinks .hoahong-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    text-align: left;
}

.header .navlinks .hoahong-text strong {
    color: #173c2e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.header .navlinks .hoahong-text small {
    color: #594017;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

/* Mũi tên */
.header .navlinks .hoahong-arrow {
    font-size: 22px;
    font-weight: 900;
    color: #76501a;
    transition: transform 0.3s ease;
}

.header .navlinks a.texthoahong:hover {
    color: #173c2e !important;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(210, 160, 55, 0.45);
}

.header .navlinks a.texthoahong:hover .hoahong-arrow {
    transform: translateX(4px);
}

/* Mobile */
@media (max-width: 849px) {
    .header .navlinks a.texthoahong {
        display: flex;
        width: calc(100% - 20px);
        margin: 10px;
        padding: 13px 15px;
        justify-content: flex-start;
    }

    .header .navlinks .hoahong-text strong {
        font-size: 14px;
    }

    .header .navlinks .hoahong-text small {
        font-size: 10px;
    }

    .header .navlinks .hoahong-icon {
        font-size: 23px;
    }

    .header .navlinks .hoahong-arrow {
        margin-left: auto;
    }
}