.site-header{height:108px}
.brand{align-self:stretch;display:flex;align-items:center}
.brand img{width:230px;height:98px;filter:drop-shadow(0 7px 14px rgba(5,52,37,.12))}
.hero{min-height:calc(100vh - 140px);background-image:linear-gradient(90deg,rgba(3,43,31,.96) 0%,rgba(3,49,35,.82) 38%,rgba(3,49,35,.22) 72%,rgba(3,49,35,.04) 100%),url("assets/hero-agroscience-v2.png");background-size:cover;background-position:center;color:#fff}
.hero:before{background:linear-gradient(0deg,rgba(0,24,16,.3),transparent 45%)}
.hero .eyebrow{color:#d8ee91}.hero h1 em{color:#d7ed78}.hero-copy{color:#e2eee8}.hero .btn-ghost{color:#fff;border-color:rgba(255,255,255,.55);background:rgba(0,0,0,.12)}
.hero .trust-row div{border-color:rgba(255,255,255,.28)}.hero .trust-row span{color:#c8dad2}
.hero-visual{opacity:0;pointer-events:none}
.science-strip{display:grid;grid-template-columns:repeat(3,auto) 1fr;gap:40px;align-items:center;padding:24px clamp(24px,7vw,110px);background:#062f23;color:#fff}
.science-strip div{display:flex;align-items:center;gap:12px}.science-strip strong{font:700 30px "Playfair Display";color:#cce76f}.science-strip span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;line-height:1.4}.science-strip p{margin:0 0 0 auto;max-width:520px;color:#bcd0c8;font-size:12px}
.catalog-card{cursor:pointer;position:relative}.catalog-card:after{content:"Bấm để xem chi tiết";position:absolute;left:12px;right:12px;bottom:12px;background:rgba(5,52,37,.94);color:#fff;padding:10px;text-align:center;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;opacity:0;transform:translateY(8px);transition:.25s}.catalog-card:hover:after,.catalog-card:focus:after{opacity:1;transform:none}.catalog-card:focus{outline:3px solid #b8d94b;outline-offset:3px}
.pest-showcase{display:grid;grid-template-columns:.75fr 1.25fr;gap:40px;margin-top:80px;background:#fff;box-shadow:var(--shadow);align-items:center}.pest-showcase-copy{padding:42px}.pest-showcase h3{font:700 40px "Playfair Display";line-height:1.1;margin:10px 0 18px}.pest-showcase p{color:var(--muted);font-size:13px}.pest-showcase figure{margin:0;position:relative}.pest-showcase figure img{width:100%;aspect-ratio:16/10;object-fit:cover}.pest-showcase figcaption{position:absolute;left:0;right:0;bottom:0;background:rgba(3,43,31,.88);color:#fff;padding:10px 14px;font-size:9px}.pest-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.pest-tags span,.target-chips span{border:1px solid #bfd0c5;background:#f0f6f1;color:var(--green);padding:7px 10px;font-size:10px;font-weight:800}
.product-modal{width:min(980px,calc(100% - 28px));max-height:92vh;padding:34px;overflow:auto}.modal-product-layout{display:grid;grid-template-columns:.78fr 1.22fr;gap:34px;align-items:start}.modal-product-image{background:#edf2ee;height:390px;overflow:hidden}.modal-product-image img{width:100%;height:100%;object-fit:cover}.product-modal h2{font-size:44px;line-height:1.05}.product-modal h3{font:700 19px "Playfair Display";margin:22px 0 10px}.modal-active{color:var(--red);font-size:13px;font-weight:800}.target-chips{display:flex;gap:8px;flex-wrap:wrap}.modal-pest-reference{display:grid;grid-template-columns:220px 1fr;gap:20px;align-items:center;margin:28px 0 18px;background:#edf4ef;padding:14px}.modal-pest-reference img{width:220px;aspect-ratio:16/8;object-fit:cover}.modal-pest-reference strong,.modal-pest-reference span{display:block}.modal-pest-reference span{font-size:11px;color:var(--muted);margin-top:4px}.modal-disclaimer{font-size:11px;color:var(--muted);border-left:3px solid #e0a800;padding-left:12px}
@media(max-width:980px){.site-header{height:86px}.brand img{width:185px;height:80px}.hero{min-height:auto;grid-template-columns:1fr;padding-top:90px;padding-bottom:90px}.hero-visual{display:none}.science-strip{grid-template-columns:repeat(3,1fr)}.science-strip p{grid-column:1/-1}.pest-showcase{grid-template-columns:1fr}.modal-product-layout{grid-template-columns:1fr}.modal-product-image{height:330px}}
@media(max-width:620px){.brand img{width:155px;height:72px}.science-strip{gap:12px;padding:18px 20px}.science-strip strong{font-size:22px}.science-strip span{font-size:8px}.pest-showcase{margin-top:50px}.pest-showcase-copy{padding:28px 22px}.pest-showcase h3{font-size:32px}.product-modal{padding:24px 18px}.product-modal h2{font-size:34px}.modal-product-image{height:280px}.modal-pest-reference{grid-template-columns:1fr}.modal-pest-reference img{width:100%}}

/* v3: lúa chín, đồi chè và catalog phân tích chuyên sâu */
.hero{grid-template-columns:minmax(0,760px) 1fr;background-image:linear-gradient(90deg,rgba(2,31,22,.92) 0%,rgba(3,43,30,.72) 38%,rgba(3,43,30,.15) 68%,transparent 100%),url("assets/hero-lua-che-v3.png");background-position:center;color:#fff}
.hero-visual{display:none!important}.hero-content{max-width:760px}.hero h1{text-shadow:0 3px 24px rgba(0,0,0,.24)}
.featured-slider{max-width:1200px;margin:auto;overflow:hidden;background:#fff;box-shadow:var(--shadow);position:relative}.featured-track{display:flex;transition:transform .65s cubic-bezier(.22,.61,.36,1)}.featured-slide{min-width:100%;display:grid;grid-template-columns:.92fr 1.08fr}.featured-media{min-height:560px;background:#dfe9e3;position:relative;overflow:hidden}.featured-media>img{width:100%;height:100%;object-fit:cover}.featured-media>span{position:absolute;left:22px;top:22px;background:var(--red);color:#fff;padding:8px 12px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.featured-copy{padding:52px}.featured-copy h3{font:700 48px/1.05 "Playfair Display";margin:20px 0 5px}.featured-copy h3 b{color:var(--red)}.featured-copy>p:not(.tagline){color:var(--muted)}.featured-priority{display:grid;gap:7px;border-left:3px solid var(--lime);background:#f0f5ee;padding:18px 20px;margin:28px 0}.featured-priority small{text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:800}.featured-priority strong{color:var(--green);font-size:19px}.featured-priority span{font-size:12px}.slider-controls{position:absolute;right:24px;bottom:22px;display:flex;align-items:center;gap:14px;z-index:4}.slider-controls>button{width:39px;height:39px;border:1px solid #bdc9c1;background:#fff;color:var(--green);cursor:pointer}.slider-dots{display:flex;gap:7px}.slider-dots button{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:#aab7af;cursor:pointer}.slider-dots button.active{background:var(--red);transform:scale(1.35)}.rhett-placeholder{display:grid;place-items:center;background:radial-gradient(circle at 70% 20%,#3a8b68,#062f23 66%);color:#fff}.rhett-placeholder div{text-align:center;border:1px solid rgba(255,255,255,.35);padding:60px 44px}.rhett-placeholder strong,.rhett-placeholder span{display:block}.rhett-placeholder strong{font:800 64px "Playfair Display";letter-spacing:.08em}.rhett-placeholder span{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#cce76f}
.pest-library{margin-top:80px;background:#fff;box-shadow:var(--shadow);padding:46px}.pest-library-head{display:flex;justify-content:space-between;gap:40px;align-items:end}.pest-library-head h3{font:700 40px/1.1 "Playfair Display";margin:10px 0 0}.pest-library-head>p{max-width:520px;color:var(--muted);font-size:13px}.crop-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:32px 0 24px;padding-bottom:18px;border-bottom:1px solid var(--line)}.crop-tabs button{border:1px solid #bcc9c1;background:#fff;color:var(--green);padding:10px 15px;font:700 11px Manrope;cursor:pointer}.crop-tabs button.active{background:var(--green);color:#fff;border-color:var(--green)}.pest-library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.pest-item{border:1px solid var(--line);background:#fbfcf9}.pest-item>div:last-child{padding:16px}.pest-item small{color:var(--red);font-size:9px;text-transform:uppercase;font-weight:800;letter-spacing:.1em}.pest-item h4{font:700 22px "Playfair Display";margin:3px 0}.pest-item p{font-size:11px;color:var(--muted);margin:0}.pest-sprite{height:210px;background-repeat:no-repeat;background-size:300% 200%;background-color:#dce7df}.mode-analysis{background:#edf4ef;border-left:3px solid var(--green);padding:15px 17px;margin:16px 0}.mode-analysis small,.mode-analysis strong{display:block}.mode-analysis small{text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:800;font-size:9px}.mode-analysis strong{color:var(--green);margin:4px 0}.mode-analysis p{font-size:12px;color:var(--muted);margin:5px 0 0}.modal-pest-reference .pest-sprite{height:150px}.target-chips span:first-child{background:var(--green);color:#fff;border-color:var(--green)}
@media(max-width:980px){.featured-slide{grid-template-columns:1fr}.featured-media{min-height:430px}.featured-copy{padding:38px 32px 78px}.pest-library-head{display:block}.pest-library-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.featured-media{min-height:320px}.featured-copy{padding:30px 21px 76px}.featured-copy h3{font-size:36px}.rhett-placeholder strong{font-size:44px}.pest-library{padding:28px 18px;margin-top:52px}.pest-library-head h3{font-size:32px}.pest-library-grid{grid-template-columns:1fr}.pest-sprite{height:190px}.slider-controls{right:18px;bottom:18px}}

/* v4: khung đầu trang rộng, bình minh và tương tác chi tiết */
.hero{display:block;min-height:calc(100vh - 140px);padding-right:clamp(24px,10vw,170px);background-image:linear-gradient(90deg,rgba(2,31,22,.76) 0%,rgba(3,43,30,.52) 42%,rgba(25,64,34,.08) 82%,transparent 100%),url("assets/hero-lua-che-v4-no-sun.png");background-position:center 48%}
.hero:after{content:none}.hero-content{max-width:890px}
.hero-orb{display:none!important}
.featured-media{background:linear-gradient(145deg,#eef4ef,#d9e6de);display:grid;place-items:center;padding:42px}.featured-media>img{width:100%;height:100%;max-height:470px;object-fit:contain;filter:drop-shadow(0 24px 24px rgba(18,48,35,.2))}
.modal-product-image{height:430px;padding:20px;display:grid;place-items:center;background:linear-gradient(145deg,#f3f7f4,#dfe9e3)}.modal-product-image img{object-fit:contain;filter:drop-shadow(0 16px 18px rgba(18,48,35,.2))}
.target-hint{font-size:10px;color:var(--muted);margin:-6px 0 10px}.target-chips button{border:1px solid #bfd0c5;background:#f0f6f1;color:var(--green);padding:8px 11px;font:800 10px Manrope;cursor:pointer;text-align:left}.target-chips button:hover,.target-chips button.active{background:var(--green);color:#fff;border-color:var(--green)}
.modal-pest-reference{grid-template-columns:260px 1fr}.modal-pest-reference .pest-sprite{transition:background-position .35s ease,opacity .2s}
.pest-item{cursor:pointer;transition:.25s;position:relative}.pest-item:hover,.pest-item:focus{transform:translateY(-4px);box-shadow:0 16px 34px rgba(5,52,37,.13);outline:2px solid var(--lime);outline-offset:2px}.pest-item:after{content:"Xem đặc tính & phòng trừ →";display:block;padding:0 16px 15px;color:var(--green);font-size:10px;font-weight:800}.pest-item>div:last-child{padding-bottom:8px}
.pest-detail-modal{width:min(1040px,calc(100% - 28px));max-height:92vh;padding:36px;overflow:auto}.pest-detail-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:36px}.pest-detail-image{height:520px;position:sticky;top:0}.pest-detail-modal h2{font-size:44px;line-height:1.05;margin:8px 0}.pest-detail-crop{color:var(--red);font-weight:800}.pest-facts{display:grid;gap:12px;margin-top:22px}.pest-facts section{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:16px;background:#f1f6f2;border-left:3px solid var(--green)}.pest-facts section>span{font:700 25px "Playfair Display";color:var(--red)}.pest-facts h3{font:700 17px "Playfair Display";margin:0 0 5px}.pest-facts p{font-size:12px;color:var(--muted);margin:0}
@media(max-width:980px){.hero{padding-top:90px;padding-bottom:90px}.hero:after{right:-14%;top:-8%}.pest-detail-layout{grid-template-columns:1fr}.pest-detail-image{height:320px;position:static}}
@media(max-width:620px){.hero{background-position:58% center}.hero:after{width:300px;height:300px;right:-100px;top:8%}.featured-media{padding:34px}.featured-media>img{max-height:270px}.pest-detail-modal{padding:26px 18px}.pest-detail-modal h2{font-size:34px}.pest-detail-image{height:240px}.modal-product-image{height:340px}.modal-pest-reference{grid-template-columns:1fr}}

/* Product images always remain fully visible, from catalog to detail dialog. */
.catalog-photo{display:grid;place-items:center;background:linear-gradient(145deg,#f5f8f5,#e2ebe5)}
.catalog-photo img,.catalog-photo.portrait img{width:100%;height:100%;object-fit:contain;object-position:center;padding:16px 20px 10px;filter:drop-shadow(0 12px 13px rgba(18,48,35,.18))}
.featured-media>img{width:auto;height:auto;max-width:72%;max-height:400px;object-fit:contain}
.modal-product-image{height:430px;padding:30px;overflow:visible}
.modal-product-image img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.modal-pest-reference .pest-sprite{transition:opacity .2s;background-size:cover;background-position:center}

.news-section{background:#f7f4e9}.news-status{display:flex;align-items:center;gap:9px;margin:-12px 0 26px;color:var(--muted);font-size:12px}.news-status strong{color:var(--green)}.live-dot{width:9px;height:9px;border-radius:50%;background:#40a85b;box-shadow:0 0 0 5px rgba(64,168,91,.13)}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.news-card{background:#fff;border:1px solid #dde5de;padding:25px;display:flex;flex-direction:column;min-height:250px;transition:.25s}.news-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(5,52,37,.11)}.news-card .news-meta{display:flex;justify-content:space-between;gap:12px;color:var(--red);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.news-card h3{font:700 23px/1.25 "Playfair Display";margin:15px 0 12px}.news-card p{font-size:12px;color:var(--muted);margin:0 0 18px}.news-card a{margin-top:auto;color:var(--green);font-size:12px;font-weight:800}.news-note{margin-top:24px;border-left:3px solid #e0a800;background:#fff7dc;padding:15px 18px;color:#654e0a;font-size:12px}
@media(max-width:980px){.news-grid{grid-template-columns:1fr 1fr}.featured-media>img{max-width:68%;max-height:350px}}
@media(max-width:620px){.news-grid{grid-template-columns:1fr}.featured-media>img{max-width:65%;max-height:245px}.modal-product-image{height:310px;padding:14px}.modal-product-image img{max-width:100%}}

/* Two-sided pack photos and pest references are shown uncropped. */
.catalog-photo.product-photo-pair img{padding:10px;object-fit:contain;object-position:center}

/* Keep tall RHETT and MITADO packs fully visible instead of filling/cropping the frame. */
.catalog-photo.product-overview{display:grid;place-items:center;background:linear-gradient(145deg,#f4f7f2,#dfe9e2)}
.catalog-photo.product-overview img,.catalog-photo.product-overview.portrait img{width:auto;height:auto;max-width:82%;max-height:88%;padding:0;object-fit:contain;object-position:center;filter:drop-shadow(0 12px 14px rgba(18,48,35,.2))}
.catalog-photo.product-overview-rhett img{max-width:76%;max-height:90%}
.catalog-photo.product-overview-mitado img{max-width:72%;max-height:91%;border-radius:5px}
.featured-media.product-overview-rhett>img{width:auto;height:auto;max-width:66%;max-height:430px;object-fit:contain;object-position:center}

@media(max-width:620px){
  .catalog-photo.product-overview img,.catalog-photo.product-overview.portrait img{max-width:78%;max-height:88%}
  .featured-media.product-overview-rhett>img{max-width:58%;max-height:250px}
}
.pest-sprite{background-repeat:no-repeat;background-color:#eef3ef}
.pest-sprite.photo-pending{position:relative;background-image:none!important}
.pest-sprite.photo-pending:after{content:"Chưa dùng ảnh minh họa để tránh nhầm đối tượng";position:absolute;inset:0;display:grid;place-items:center;padding:24px;text-align:center;color:var(--muted);font-size:11px;font-weight:700}

/* v7: crop-led featured presentation and a stronger product focal point. */
.featured-media{isolation:isolate;background-size:cover;background-position:center}
.featured-crop-corn .featured-media{background-image:linear-gradient(135deg,rgba(3,39,24,.08),rgba(3,39,24,.38)),url("assets/featured-bg-corn-v1.png")}
.featured-crop-rice .featured-media{background-image:linear-gradient(135deg,rgba(4,50,32,.08),rgba(4,50,32,.34)),url("assets/featured-bg-rice-v1.png")}
.featured-crop-flower .featured-media{background-image:linear-gradient(135deg,rgba(5,49,30,.08),rgba(5,49,30,.36)),url("assets/featured-bg-chrysanthemum-v1.png")}
.featured-media:before{content:"";position:absolute;inset:9%;z-index:-1;background:radial-gradient(circle,rgba(255,255,255,.9) 0%,rgba(255,255,255,.52) 30%,transparent 68%);filter:blur(10px)}
.featured-media>img{position:relative;z-index:1;max-width:88%;max-height:470px;filter:drop-shadow(0 30px 25px rgba(0,24,13,.5)) drop-shadow(0 0 18px rgba(255,255,255,.72));transform:translateY(-3px)}
.featured-crop-flower .featured-media>img{max-width:62%;max-height:500px}
.featured-media>span{z-index:2;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.consult-form .btn-accent{background:#08714e}
.consult-form .btn-accent:hover{background:#06563d}
@media(max-width:620px){.featured-media>img{max-width:88%;max-height:285px}.featured-crop-flower .featured-media>img{max-width:56%;max-height:290px}.featured-media:before{inset:2%}}
/* Company registration details in the site footer */
footer{grid-template-columns:1.35fr 1.35fr 1fr}
.footer-contact p{margin:7px 0;line-height:1.55}
.footer-contact strong{color:#fff}
@media(max-width:620px){footer{grid-template-columns:1fr}}
/* Nhạc nền: chỉ phát sau khi người xem chủ động bật. */
.music-toggle{position:fixed;right:1.2rem;bottom:5.2rem;z-index:60;display:flex;align-items:center;gap:.5rem;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:.7rem 1rem;background:#064b36;color:#fff;box-shadow:0 10px 28px rgba(0,0,0,.2);font:700 .82rem/1 Manrope,sans-serif;cursor:pointer;transition:.2s ease}
.music-toggle:hover{transform:translateY(-2px);background:#087052}
.music-toggle.is-playing{background:#d9a32a;color:#173c2f}
.music-toggle.is-playing .music-icon{animation:musicPulse 1.25s ease-in-out infinite}
.music-icon{font-size:1.15rem;line-height:1}
@keyframes musicPulse{50%{transform:scale(1.25) rotate(8deg)}}
@media(max-width:640px){.music-toggle{right:.8rem;bottom:5rem;padding:.72rem}.music-label{display:none}}
