/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: #295f2d;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 16px;
  font-weight: bold;
}

.section-title {
  font-family: 'Praise', serif;
  font-size: 50px;
  color: #295f2d;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.title-line {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #e8b923, #295f2d);
  margin: 0 auto;
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.btn-primary {
  background: #e8b923;
  color: #2c2c2c;
  box-shadow: 0 4px 20px rgba(232, 185, 35, 0.4);
  font-weight: bold;
}

.btn-primary:hover {
  background: #d4a61f;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232, 185, 35, 0.5);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: #295f2d;
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
  background: #e8b923;
  color: #2c2c2c;
  border-radius: 50px;
  font-weight:bold;
}

.btn-sm:hover {
  background: #d4a61f;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1e4521;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(30, 69, 33, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.hero-title {
  font-family: 'Praise', serif;
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 400;
}

.hero-title .highlight {
  color: #e8b923;
}

.hero-subtitle {
  font-family: 'Praise', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #e8b923;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #e8b923;
  border-radius: 2px;
  animation: scroll-bounce 1.8s infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    top: 8px;
    opacity: 1;
  }
  50% {
    top: 20px;
    opacity: 0.3;
  }
}

/* ===== ANIMATIONS ===== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ABOUT ===== */
.about {
  background: #f5f0e6;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 60px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

.image-frame {
  position: relative;
  background: #295f2d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(41, 95, 45, 0.18);
  aspect-ratio: 4/5;
  width: 100%;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover .image-frame img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #e8b923;
  color: #2c2c2c;
  padding: 20px 28px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(41, 95, 45, 0.12);
}

.badge-number {
  display: block;
  font-family: 'Praise', serif;
  font-size: 2rem;
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 500;
}

.about-content {
  max-width: 620px;
}

.about-content h3 {
  font-family: 'Praise', serif;
  font-size: 44px;
  color: #295f2d;
  margin-bottom: 20px;
}

.about-content p {
  color: #5a5a5a;
  margin-bottom: 16px;
  font-size: 18px;
  text-align: justify;
}

.about-features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: #2c2c2c;
}

.about-features i {
  color: #295f2d;
  font-size: 1.1rem;
}

/* ===== PRODUCTS ===== */
.products {
  background: #e8dfd0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(41, 95, 45, 0.12);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(41, 95, 45, 0.18);
}

.product-image {
  position: relative;
  height: auto;
  overflow: hidden;
  background: linear-gradient(135deg, #295f2d 0%, #3a7a3f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-img-placeholder i {
  font-size: 4rem;
  color: #e8b923;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #e8b923;
  color: #2c2c2c;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.product-badge.new {
  background: #e74c3c;
  color: #ffffff;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 1.25rem;
  color: #295f2d;
  margin-bottom: 10px;
}

.product-info p {
  font-size: 16px;
  color: #5a5a5a;
  margin-bottom: 20px;
  display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-weight: 600;
  color: #295f2d;
  font-size: 1.05rem;
}

/* ===== PROCESS ===== */
.process {
  background: #f5f0e6;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, #295f2d, #e8b923, #295f2d);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: #295f2d;
  color: #e8b923;
  font-family: 'Praise', serif;
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 4px solid #f5f0e6;
  box-shadow: 0 0 0 3px #295f2d;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .step-number {
  background: #e8b923;
  color: #295f2d;
  transform: scale(1.1);
}

.step-content h3 {
  font-family: 'Praise', serif;
  font-size: 30px;
  color: #295f2d;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 17px;
  color: #5a5a5a;
}

/* ===== WHY US ===== */
.why-us {
  position: relative;
  background-image:
    linear-gradient(rgba(41, 95, 45, 0.85), rgba(41, 95, 45, 0.85)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.why-us .section-tag {
  background: #e8b923;
  color: #2c2c2c;
}

.why-us .section-title {
  color: #ffffff;
}

.why-us .title-line {
  background: linear-gradient(90deg, #e8b923, #ffffff);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: #e8b923;
  color: #295f2d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.why-card h3 {
  font-family: 'Praise', serif;
  font-size: 30px;
  margin-bottom: 12px;
  color: #e8b923;
}

.why-card p {
  font-size: 17px;
  opacity: 0.9;
  line-height: 1.6;
  color: #ffffff;
}

/* ===== FAQ ===== */
.faq {
  background-image: url(../hinhmenu/nen-anh-gioi-thieu.jpg);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px rgba(41, 95, 45, 0.06);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] {
  box-shadow: 0 8px 30px rgba(41, 95, 45, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #2c2c2c;
  list-style: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: #295f2d;
}

.faq-question i {
  color: #295f2d;
  font-size: 0.9rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question i {
  transform: rotate(180deg);
}

.faq-answer p {
  padding: 0 24px 20px;
  color: #5a5a5a;
  font-size: 18px;
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
  background: #e8dfd0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(41, 95, 45, 0.18);
}

.contact-info {
  background: #295f2d;
  color: #ffffff;
  padding: 48px 40px;
}

.contact-info h3 {
  font-family: 'Praise', serif;
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: #e8b923;
}

.contact-desc {
  font-size: 17px;
  color: #ffffff;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-list i {
  width: 42px;
  height: 42px;
  background: rgba(232, 185, 35, 0.2);
  color: #e8b923;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-list strong {
  display: block;
  font-size: 17px;
  opacity: 0.7;
  margin-bottom: 2px;
}

.contact-list span {
  font-size: 1rem;
}

.contact-list li a:hover {
  color: #e8b923;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
  background: #e8b923;
  color: #295f2d;
  transform: translateY(-3px);
}

.contact-form-wrapper {
  padding: 48px 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  border: 2px solid #e5e0d5;
  border-radius: 10px;
  background: #f5f0e6;
  color: #2c2c2c;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #295f2d;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(41, 95, 45, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #5a5a5a;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success i {
  font-size: 3.5rem;
  color: #295f2d;
  margin-bottom: 20px;
}

.form-success h3 {
  font-family: 'Praise', serif;
  font-size: 1.5rem;
  color: #295f2d;
  margin-bottom: 12px;
}

.form-success p {
  color: #5a5a5a;
}

/* ===== FOOTER ===== */
.footer {
  background: #1e4521;
  color: #ffffff;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Praise', serif;
  font-size: 1.15rem;
  color: #e8b923;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  color: #e8b923;
  padding-left: 6px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 12px;
}

.footer-contact i {
  color: #e8b923;
  width: 18px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #e8b923;
  color: #295f2d;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(232, 185, 35, 0.4);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #d4a61f;
  transform: translateY(-4px);
}

/* ===== NEWS ===== */
.news {
  background: #e8dfd0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(41, 95, 45, 0.12);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(41, 95, 45, 0.18);
}

.news-image {
  position: relative;
  height: auto;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: linear-gradient(135deg, #1e4521 0%, #295f2d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-img-placeholder i {
  font-size: 3.5rem;
  color: #e8b923;
  opacity: 0.9;
}

.news-date {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #e8b923;
  color: #2c2c2c;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
}

.news-content {
  padding: 24px;
}

.news-tag {
  display: inline-block;
  background: rgba(41, 95, 45, 0.1);
  color: #295f2d;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.news-content h3 {
  font-size: 1.15rem;
  color: #295f2d;
  margin-bottom: 12px;
  line-height: 1.4;
  height:45px;
  font-weight:bold;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-content h3 {
  color: #d4a61f;
}

.news-content p {
  font-size: 15px;
    text-align: justify;
    color: #5a5a5a;
    margin-bottom: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #295f2d;
}

.news-link:hover {
  color: #d4a61f;
  gap: 10px;
}

.news-more {
  text-align: center;
  margin-top: 48px;
}

/* ===== HIỆU ỨNG REVEAL KHI CUỘN (2 CHIỀU) ===== */
.reveal-init {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE — đặt cuối file, sắp xếp từ lớn -> nhỏ,
   TẤT CẢ chỉ dùng max-width để tránh xung đột thứ tự.
   Mốc nhỏ hơn nằm sau nên luôn thắng đúng breakpoint.
   ===================================================== */

/* ===== 1600px trở xuống (laptop lớn: 1440, 1536, 1600) ===== */
@media (max-width: 1600px) {
  .container {
    max-width: 1280px;
  }

  .about-grid {
    max-width: 1100px;
    gap: 50px;
  }
  .about-image {
    max-width: 420px;
  }
  .about-content {
    max-width: 580px;
  }
  .about-content h3 {
    font-size: 38px;
  }
  .about-content p,
  .about-features li {
    font-size: 17px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ===== 1366px trở xuống (laptop phổ biến: 1366x768) ===== */
@media (max-width: 1366px) {
  .container {
    max-width: 1140px;
  }

  .section {
    padding: 70px 0;
  }

  .about-grid {
    max-width: 1000px;
    gap: 40px;
  }
  .about-image {
    max-width: 380px;
  }
  .about-content {
    max-width: 560px;
  }
  .about-content h3 {
    font-size: 34px;
  }
  .about-content p,
  .about-features li {
    font-size: 16px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .why-grid,
  .process-timeline {
    gap: 20px;
  }

  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ===== 1024px trở xuống (laptop nhỏ / tablet ngang lớn) ===== */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
  }

  .section {
    padding: 50px 0;
  }

  .about-content h3 {
    font-size: 30px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .why-grid,
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ===== 992px trở xuống (tablet) ===== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 500px;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-content {
    max-width: 100%;
    text-align: left;
  }

  .about-badge {
    right: 10px;
    bottom: -15px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-timeline::before {
    display: none;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== 768px trở xuống (tablet dọc / mobile lớn) ===== */
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #295f2d;
    padding: 80px 30px 40px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
  .product-footer .btn {
    width: 50%;
  }   

  .about-features {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-wrapper {
    padding: 36px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ===== 480px trở xuống (mobile nhỏ) ===== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .about-badge {
    padding: 14px 18px;
  }

  .badge-number {
    font-size: 1.5rem;
  }

  .about-image {
    max-width: 100%;
  }
}
