/* nhakinhphoisay.vn — style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #2e7d32;
  --green-mid:  #43a047;
  --green-light:#e8f5e9;
  --orange:     #f57c00;
  --text:       #212121;
  --muted:      #616161;
  --border:     #e0e0e0;
  --white:      #ffffff;
  --bg:         #f9f9f9;
  --max:        1160px;
  --radius:     8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ── HEADER / NAV ── */
header {
  background: var(--white);
  border-bottom: 2px solid var(--green);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo img { height: 46px; width: auto; }
nav ul { display: flex; gap: 4px; align-items: center; }
nav a {
  display: block; padding: 8px 14px;
  font-size: 15px; font-weight: 600; color: var(--text);
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
nav a:hover, nav a.active { background: var(--green-light); color: var(--green); }
nav .cta-nav {
  background: var(--green); color: var(--white); padding: 8px 18px;
  border-radius: 24px; font-weight: 700; margin-left: 8px;
}
nav .cta-nav:hover { background: var(--green-mid); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 240px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 6px 0;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a { padding: 10px 18px; font-weight: 500; white-space: nowrap; }
.dropdown a:hover { background: var(--green-light); color: var(--green); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; line-height: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
nav.open .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
nav.open .hamburger span:nth-child(2) { opacity: 0; }
nav.open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 50%, #c8e6c9 100%);
  padding: 72px 0 60px;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-tag {
  display: inline-block; background: var(--green); color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  line-height: 1.2; color: var(--text); margin-bottom: 20px;
}
.hero h1 span { color: var(--green); }
.hero p { font-size: 16px; color: var(--muted); margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 30px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.btn-green { background: var(--green); color: var(--white); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.hero-img { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.14); }
.hero-img img { width: 100%; height: 380px; object-fit: cover; }

/* ── STRIP CTA ── */
.strip-cta {
  background: var(--green); color: var(--white); padding: 22px 0;
}
.strip-cta .container {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.strip-cta p { font-size: 18px; font-weight: 700; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: #e65100; }

/* ── SECTION BASE ── */
section { padding: 72px 0; }
section:nth-child(even) { background: var(--bg); }
.section-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--green); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(22px, 3vw, 34px); font-weight: 800;
  color: var(--text); margin-bottom: 14px; line-height: 1.25;
}
.section-sub { color: var(--muted); max-width: 580px; margin-bottom: 48px; }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.stat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  border-top: 4px solid var(--green);
}
.stat-card .num { font-size: 42px; font-weight: 800; color: var(--green); line-height: 1; }
.stat-card .label { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-features { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius); padding: 18px;
  border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.feature h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.feature p { font-size: 14px; color: var(--muted); }
.about-img img { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; }

/* ── PRODUCTS/GALLERY ── */
.products-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.product-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08); background: var(--white);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.product-card-body { padding: 18px 20px; }
.product-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.product-card p { font-size: 14px; color: var(--muted); }
.product-card a.more {
  display: inline-block; margin-top: 12px; color: var(--green);
  font-weight: 600; font-size: 14px;
}
.product-card a.more:hover { text-decoration: underline; }

/* ── PARTNERS ── */
.partners { padding: 48px 0; background: var(--bg); }
.partners h2 { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 32px; }
.partners-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.partners-logos img { height: 50px; width: auto; object-fit: contain; filter: grayscale(60%); opacity: .75; transition: .2s; }
.partners-logos img:hover { filter: grayscale(0); opacity: 1; }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.testimonial {
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--green);
  border-radius: var(--radius); padding: 28px 24px;
}
.testimonial p { font-style: italic; color: var(--muted); margin-bottom: 16px; }
.testimonial cite { font-size: 14px; font-weight: 700; color: var(--text); font-style: normal; }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 0; font-size: 16px; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q::after { content: '+'; font-size: 22px; color: var(--green); flex-shrink: 0; transition: .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 16px; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── CONTACT SECTION ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon { font-size: 22px; }
.contact-item h3 { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.contact-item p { font-size: 15px; color: var(--text); }
.contact-form { background: var(--bg); border-radius: var(--radius); padding: 32px; }
.contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  background: var(--white); transition: border .2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.form-group textarea { height: 110px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ── FOOTER ── */
footer {
  background: #1b5e20; color: rgba(255,255,255,.92);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.15); }
footer h3 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 14px; }
footer p, footer li { font-size: 14px; line-height: 1.9; }
footer a { color: rgba(255,255,255,.9); }
footer a:hover { color: var(--white); }
.footer-logo img { height: 40px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-copy { text-align: center; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.75); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: var(--white); padding: 56px 0 48px; text-align: center;
}
.page-hero h1 { font-size: clamp(24px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 16px; opacity: .9; max-width: 540px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.87); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: var(--white); }

/* ── SVG ICONS ── */
.feature-icon { color: var(--green); }
.feature-icon svg { display: block; }

.contact-icon {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50%; background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); flex-shrink: 0;
}

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text); }
.check-list li svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }

.footer-contact-item { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; }
.footer-contact-item svg { flex-shrink: 0; opacity: .6; }

.btn-icon { display: inline-flex; align-items: center; gap: 8px; }

/* Stars */
.stars { display: flex; gap: 2px; color: #f59e0b; margin-bottom: 10px; }

/* Refined testimonial */
.testimonial { position: relative; }
.testimonial blockquote { font-style: italic; color: var(--muted); margin-bottom: 16px; }
.testimonial cite { font-size: 14px; font-weight: 700; color: var(--text); font-style: normal; display: block; }
.testimonial cite small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav ul {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 2px solid var(--green);
    padding: 12px 0; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  nav.open ul { display: flex; }
  nav a { padding: 12px 20px; border-radius: 0; }
  .dropdown { position: static; box-shadow: none; border: none; background: #f5f5f5; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  nav .cta-nav { margin: 8px 16px; border-radius: 24px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .about-img img { height: 260px; }
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .strip-cta .container { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
}
