@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: "Be Vietnam Pro", Arial, Helvetica, sans-serif;
  background: #f8fafc;
  color: #1f2937;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

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

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* HEADER */
.header {
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 18px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  position: relative;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -1px;
}

.logo span {
  color: #f59e0b;
}

.menu {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
}

.menu a {
  color: #334155;
  transition: 0.2s;
}

.menu a:hover {
  color: #f59e0b;
}

.header-call {
  background: #ef4444;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.22);
}

.mobile-menu-btn {
  display: none;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 10px 13px;
  font-weight: 800;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(245, 158, 11, 0.34), transparent 32%),
    radial-gradient(circle at 10% 82%, rgba(239, 68, 68, 0.20), transparent 35%),
    linear-gradient(145deg, #020617 0%, #111827 54%, #1e293b 100%);
  color: #fff;
  padding: 76px 0 66px;
}

.hero-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.65;
  pointer-events: none;
}

.hero-light-1 {
  width: 240px;
  height: 240px;
  background: rgba(245, 158, 11, 0.32);
  right: -80px;
  top: 60px;
  animation: floatUp 5s ease-in-out infinite;
}

.hero-light-2 {
  width: 160px;
  height: 160px;
  background: rgba(239, 68, 68, 0.25);
  left: -50px;
  bottom: 40px;
  animation: floatUp 6s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

.hero p {
  font-size: 17px;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 26px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-row.center {
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 800;
  text-align: center;
  transition: 0.22s ease;
}

.btn-primary {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.26);
  animation: pulseGlow 3s infinite;
}

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

.btn-secondary {
  background: #fff;
  color: #111827;
}

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

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.hero-trust div {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px;
}

.hero-trust strong {
  display: block;
  color: #fbbf24;
  font-size: 20px;
}

.hero-trust span {
  display: block;
  font-size: 13px;
  opacity: 0.88;
}

.hero-card {
  background: #fff;
  color: #111827;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  animation: floatUp 5.4s ease-in-out infinite;
}

.hero-card h3 {
  font-size: 28px;
  margin-bottom: 18px;
  letter-spacing: -0.6px;
}

.hero-list {
  display: grid;
  gap: 12px;
}

.hero-list div {
  background: #f8fafc;
  border-left: 6px solid #f59e0b;
  padding: 13px 14px;
  border-radius: 12px;
  font-weight: 700;
}

/* SECTIONS */
.section {
  padding: 68px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: clamp(27px, 3.6vw, 38px);
  color: #0f172a;
  margin-bottom: 10px;
  letter-spacing: -0.8px;
}

.section-title p {
  color: #64748b;
  max-width: 760px;
  margin: auto;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: 0.25s;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.feature h3 {
  color: #0f172a;
  margin-bottom: 8px;
}

/* PRODUCTS */
.products-section {
  background: #f1f5f9;
}

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

.product {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
  transition: 0.25s;
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.15);
}

.product-img {
  height: 260px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 22px 22px 0 0;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  background: #fff;
}

.product-content {
  padding: 22px;
}

.tag {
  display: inline-block;
  background: #fff7ed;
  color: #c2410c;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.product h3 {
  color: #0f172a;
  font-size: 22px;
  margin-bottom: 8px;
}

.product p {
  color: #64748b;
  font-size: 15px;
}

.price {
  color: #ef4444;
  font-size: 20px;
  font-weight: 800;
  margin: 14px 0;
}

/* COMBO */
.combo {
  background: #0f172a;
  color: #fff;
}

.combo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.combo-box {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.dark-badge {
  background: rgba(245, 158, 11, 0.18);
}

.combo-box h2 {
  font-size: 36px;
  line-height: 1.12;
  margin-bottom: 14px;
}

.combo-box p {
  opacity: 0.94;
}

.combo-box ul {
  margin: 18px 0 0 20px;
}

.combo-box li {
  margin-bottom: 8px;
}

.quote-form {
  background: #fff;
  color: #111827;
  padding: 28px;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.quote-form h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  margin-bottom: 12px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.quote-form button {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* PROCESS */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  background: #fff;
  padding: 24px;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: 0.25s;
}

.step:hover {
  transform: translateY(-6px);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  background: #f59e0b;
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 {
  color: #0f172a;
  margin-bottom: 8px;
}

/* REVIEWS */
.reviews-section {
  background: #fff;
}

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

.review {
  background: #f8fafc;
  padding: 26px;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transition: 0.25s;
}

.review:hover {
  transform: translateY(-6px);
}

.review strong {
  display: block;
  margin-top: 14px;
  color: #0f172a;
}

/* CONTACT */
.contact {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  text-align: center;
  padding: 68px 0;
}

.contact h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
  letter-spacing: -0.8px;
}

.contact p {
  font-size: 18px;
  margin-bottom: 24px;
}

/* FOOTER */
footer {
  background: #020617;
  color: #cbd5e1;
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

footer h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* FLOATING */
.floating {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display: grid;
  gap: 10px;
}

.floating a {
  color: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.zalo {
  background: #0068ff;
}

.call {
  background: #ef4444;
}

/* EFFECTS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.75s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.22);
  }

  50% {
    box-shadow: 0 12px 34px rgba(239, 68, 68, 0.45);
  }
}

/* TABLET */
@media (max-width: 1000px) {
  .hero-grid,
  .combo-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

/* MOBILE */
@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    padding: 13px 0;
  }

  .logo {
    font-size: 25px;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    z-index: 120;
  }

  .menu.open {
    display: grid;
    gap: 10px;
  }

  .menu a {
    padding: 12px 14px;
    border-radius: 13px;
    background: #f8fafc;
  }

  .header-call {
    display: none;
  }

  .hero {
    padding: 42px 0 34px;
  }

  .hero-grid {
    gap: 24px;
  }

  .badge {
    font-size: 14px;
    padding: 8px 12px;
  }

  .hero h1 {
    font-size: 31px;
    line-height: 1.14;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.75;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 14px 16px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-card {
    border-radius: 24px;
    padding: 22px;
    animation: none;
  }

  .hero-card h3 {
    font-size: 24px;
  }

  .hero-list div {
    font-size: 15px;
  }

  .section {
    padding: 52px 0;
  }

  .section-title {
    margin-bottom: 28px;
  }

  .section-title h2 {
    font-size: 29px;
  }

  .section-title p {
    font-size: 15px;
  }

  .features {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .feature {
    padding: 17px;
    border-radius: 20px;
  }

  .icon {
    font-size: 29px;
  }

  .feature h3 {
    font-size: 16px;
  }

  .feature p {
    font-size: 14px;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product {
    border-radius: 24px;
  }

  .product-img {
    height: 240px;
    padding: 8px;
  }

  .product-content {
    padding: 20px;
  }

  .product h3 {
    font-size: 23px;
  }

  .combo-box,
  .quote-form {
    border-radius: 24px;
    padding: 22px;
  }

  .combo-box h2 {
    font-size: 31px;
  }

  .quote-form input,
  .quote-form textarea,
  .quote-form select {
    font-size: 16px;
  }

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

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

  .contact {
    padding: 54px 0;
  }

  .contact h2 {
    font-size: 30px;
  }

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

  .floating {
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 10px;
  }

  .floating a {
    flex: 1;
    border-radius: 18px;
    padding: 13px 8px;
  }

  footer {
    padding-bottom: 96px;
  }
}

/* SMALL PHONE */
@media (max-width: 380px) {
  .logo {
    font-size: 22px;
  }

  .mobile-menu-btn {
    padding: 9px 10px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 30px;
  }

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


/* ===== ẢNH SẢN PHẨM FULL KHUNG + BO TRÒN CỐ ĐỊNH ===== */
.product {
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}

.product-img {
  width: 100%;
  height: 260px;
  background: #f8fafc;
  overflow: hidden;
  padding: 0;
  border-radius: 26px 26px 0 0;
}

.product-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 26px 26px 0 0;
}

/* Desktop: giữ ảnh đồng đều 3 cột */
@media (min-width: 761px) {
  .product-img {
    height: 260px;
  }
}

/* Mobile: ảnh full, rõ, cùng kích thước */
@media (max-width: 760px) {
  .product {
    border-radius: 26px;
  }

  .product-img {
    height: 255px;
    border-radius: 26px 26px 0 0;
  }

  .product-img img {
    border-radius: 26px 26px 0 0;
  }
}

/* Điện thoại nhỏ */
@media (max-width: 380px) {
  .product-img {
    height: 235px;
  }
}



/* ===== SLIDER ẢNH SẢN PHẨM XOAY VÒNG ===== */
.product-img.product-slider {
  position: relative;
  width: 100%;
  height: 260px;
  background: #f8fafc;
  overflow: hidden;
  padding: 0;
  border-radius: 26px 26px 0 0;
}

.product-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 26px 26px 0 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.75s ease, transform 1.2s ease;
}

.product-slider img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.32);
  backdrop-filter: blur(8px);
}

.slider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  transition: 0.25s ease;
}

.slider-dots span.active {
  width: 18px;
  background: #ffffff;
}

@media (max-width: 760px) {
  .product-img.product-slider {
    height: 255px;
    border-radius: 26px 26px 0 0;
  }

  .product-slider img {
    border-radius: 26px 26px 0 0;
  }

  .slider-dots {
    bottom: 9px;
  }
}

@media (max-width: 380px) {
  .product-img.product-slider {
    height: 235px;
  }
}
