/* =============================================================
   THÉP TRỌNG PHÁT — sections.css
   Các section nội dung theo thứ tự xuất hiện trên trang:
   hero · partners · products · why · process · about · faq · cta · contact.
   ============================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-in-out infinite alternate; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 31, 61, 0.72) 0%, rgba(13, 31, 61, 0.35) 32%, rgba(13, 31, 61, 0.55) 100%),
    linear-gradient(90deg, rgba(13, 31, 61, 0.85) 0%, rgba(13, 31, 61, 0.45) 55%, rgba(13, 31, 61, 0.15) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.6rem); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); }
.hero-title .accent { color: var(--orange); }
.hero-company { display: block; font-size: clamp(0.85rem, 1.7vw, 1.05rem); font-weight: 700; letter-spacing: 3px; color: #cdd8ea; margin-bottom: 12px; text-shadow: none; }
.hero-slogan { font-size: clamp(1.15rem, 2.6vw, 1.7rem); font-weight: 700; font-style: italic; color: #fff; margin: 0 0 26px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3); }
.hero-slogan::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--orange); border-radius: 3px; vertical-align: middle; margin: 0 12px 5px 0; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.22rem); max-width: 620px; color: #e7ecf5; margin-bottom: 32px; }
.hero-sub strong { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero-features { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.hero-features li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; }
.hero-features .ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  padding: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  fill: none; stroke: var(--orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.hero-features .ic-check { stroke: #fff; }

.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: scrolldot 1.6s ease-in-out infinite; }

/* ---------- Partners strip (thương hiệu phân phối) ---------- */
.partners { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.partners-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 16px; }
.partners-label { width: 100%; text-align: center; color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.partner-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: #fff; border: 1px solid var(--line); border-radius: 40px; font-weight: 700; color: var(--navy); font-size: 0.95rem; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.partner-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.partner-pill::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--orange); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; height: 220px; overflow: hidden; }
.product-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13, 31, 61, 0.35)); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.09); }
.product-body { padding: 22px 22px 26px; }
.product-body h3 { font-size: 1.22rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.product-body p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* ---------- Why (vì sao chọn chúng tôi) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 16px;
  background: rgba(232, 99, 42, 0.1);
  margin-bottom: 18px;
}
.feature-ic svg { width: 30px; height: 30px; fill: none; stroke: var(--orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-ic .ic-check { stroke: var(--navy); }
.feature-card h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Process (quy trình 4 bước) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-600)); box-shadow: 0 10px 22px rgba(232, 99, 42, 0.3); position: relative; z-index: 2; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 33px; left: calc(50% + 44px); width: calc(100% - 88px); height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px); z-index: 1; }
.step h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- About (về chúng tôi) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text .section-title { text-align: left; }
.about-text .section-title::after { margin-left: 0; }
.about-text p { color: var(--muted); margin: 18px 0; font-size: 1.05rem; }
.about-text strong { color: var(--ink); }
.check-list { margin: 22px 0 30px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink); }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.about-media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- FAQ (accordion CSS thuần) ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--navy); font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--orange); transition: transform 0.3s var(--ease); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 20px; color: var(--muted); line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--orange), var(--orange-600)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 50px 0; }
.cta-text h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); text-transform: uppercase; letter-spacing: 0.5px; }
.cta-text p { color: rgba(255, 255, 255, 0.92); margin-top: 8px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--orange-600); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15); }
.cta-band .btn-primary:hover { background: var(--navy-900); color: #fff; }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, 0.85); color: #fff; }

/* ---------- Contact ---------- */
.section-contact { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.09); }
.contact-ic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); margin-bottom: 16px; }
.contact-ic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.contact-card p { color: var(--muted-light); font-size: 0.98rem; }
.contact-card a { color: #fff; font-weight: 600; }
.contact-card a:hover { color: var(--orange); }
.contact-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 46px; }

/* ---------- Responsive (sections) ---------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .step::after { display: none; }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; text-align: center; padding: 40px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .hero-features { gap: 12px 22px; }
  .hero-features li { font-size: 13.5px; }
  .contact-cta .btn, .hero-cta .btn { flex: 1 1 auto; }
}

@media (max-width: 380px) {
  .contact-grid { grid-template-columns: 1fr; }
}
