/* ====== RESET NHẸ & BASE ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  color: #222;
  background-color: #0b0504;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 1.2rem;
}

/* ====== LAYOUT ====== */
.container {
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
  background: radial-gradient(circle at top, #2a1812 0, #080404 55%, #050202 100%);
}

.section-title {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #f8ede3;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: #d5c4b8;
  font-size: 0.98rem;
}

/* ====== HEADER ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to right, rgba(8, 3, 2, 0.96), rgba(13, 6, 4, 0.96));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.6rem;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  line-height: 1.2;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5ede5;
}

.logo-sub {
  font-size: 0.72rem;
  color: #d4b9a2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #f2e7dc;
  opacity: 0.85;
}

.main-nav a:hover {
  opacity: 1;
}

.btn-nav {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #e6b388;
  background: #cc8854;
  color: #120806;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(255, 187, 120, 0.31);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #f4e9df;
  font-size: 1.1rem;
  padding: 0.25rem 0.7rem;
  cursor: pointer;
}

/* ====== HERO ====== */
.hero {
  padding: 4.2rem 0 3.4rem;
  background:
    radial-gradient(circle at top left, #51281b 0, transparent 55%),
    radial-gradient(circle at bottom right, #2d1410 0, transparent 60%),
    #050203;
  color: #f8efe6;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.hero-sub {
  font-size: 0.98rem;
  color: #e2d5c6;
  max-width: 540px;
}

.hero-list {
  list-style: none;
  padding-left: 0;
  margin: 1.1rem 0 1.5rem;
  font-size: 0.94rem;
  color: #f2ded1;
}

.hero-list li {
  margin-bottom: 0.35rem;
}

.hero-list a {
  color: #ffe2bd;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #f8b36c, #f08a43);
  color: #1a0905;
  font-weight: 700;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(255, 193, 120, 0.6);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(247, 198, 132, 0.7);
  color: #f3d9b9;
}

.btn-secondary:hover {
  background: rgba(247, 198, 132, 0.08);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(244, 222, 194, 0.7);
  color: #f7e6d2;
}

.btn-full {
  width: 100%;
}

.hero-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #f2d9c2;
}

.hero-social span {
  opacity: 0.85;
}

.hero-social a {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(253, 210, 160, 0.6);
  font-size: 0.82rem;
  text-decoration: none;
  opacity: 0.95;
}

.hero-social a:hover {
  background: rgba(253, 210, 160, 0.1);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 1.6rem;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(255, 185, 132, 0.4);
  border: 1px solid rgba(255, 187, 120, 0.32);
}

/* ====== GRID ====== */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* ====== CONTENT ====== */
.list-check {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
  color: #f1dfce;
}

.list-check li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.3rem;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #f6b87a;
  font-weight: 700;
}

.img-rounded {
  border-radius: 1.2rem;
  border: 1px solid rgba(253, 210, 160, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

/* ====== CARD GRID ====== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: linear-gradient(145deg, #1a0e0a, #24120d);
  border-radius: 1.2rem;
  padding: 1.4rem 1.3rem 1.3rem;
  border: 1px solid rgba(253, 210, 160, 0.25);
  color: #f4e2d4;
  font-size: 0.93rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.card h3 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: #ffe5c0;
}

/* ====== PRICE ====== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.price-card {
  background: radial-gradient(circle at top, #29130d 0, #130805 55%);
  border-radius: 1.3rem;
  padding: 1.5rem 1.4rem 1.4rem;
  border: 1px solid rgba(255, 202, 147, 0.33);
  color: #f4e5d6;
  font-size: 0.95rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}

.price-card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
  color: #ffddb1;
}

.price-card .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffbf75;
  margin: 0.4rem 0 0.9rem;
}

.price-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}

.price-card ul li {
  margin-bottom: 0.3rem;
}

.price-card--highlight {
  background: radial-gradient(circle at top, #3b2012 0, #1c0c07 50%, #0e0503 100%);
  transform: translateY(-4px);
  border-color: #ffc67f;
}

/* ====== TESTIMONIAL ====== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: rgba(9, 4, 3, 0.95);
  border-radius: 1.1rem;
  padding: 1.3rem 1.2rem;
  border: 1px solid rgba(254, 211, 161, 0.23);
  color: #f6e6d5;
  font-size: 0.93rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

.testimonial span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: #e3c8b0;
}

/* ====== CONTACT ====== */
.contact-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
  color: #f1dfcf;
}

.contact-list li {
  margin-bottom: 0.35rem;
}

.map-link {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: #f3ddc5;
}

.map-link a {
  color: #ffd3a1;
  font-weight: 600;
}

.contact-form {
  background: radial-gradient(circle at top, #2f1910 0, #0a0403 60%);
  border-radius: 1.3rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(252, 209, 159, 0.4);
  color: #f3ded0;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8);
  font-size: 0.92rem;
}

.contact-form h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.06rem;
  color: #ffe0b4;
}

.contact-form label {
  display: block;
  margin-bottom: 0.7rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(254, 214, 167, 0.55);
  background: rgba(7, 3, 2, 0.9);
  color: #f8ece0;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid #ffcf8d;
  outline-offset: 1px;
}

.form-note {
  font-size: 0.78rem;
  color: #e4cdb7;
  margin-top: 0.6rem;
}

/* ====== FOOTER ====== */
.site-footer {
  padding: 1.8rem 0 1.6rem;
  background: #050203;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #e7d4c2;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  opacity: 0.85;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

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

  .card-grid,
  .price-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .price-card,
  .testimonial {
    border-radius: 1rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: radial-gradient(circle at top, #1b0c08 0, #050203 60%);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.2rem 1rem;
    gap: 0.8rem;
    transform: translateY(-100vh);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-out;
  }

  .main-nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .btn-nav {
    align-self: stretch;
    text-align: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    padding-block: 0.5rem;
  }

  .hero {
    padding-top: 3.6rem;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 3rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .container {
    width: min(100% - 1.8rem, 100%);
  }
}
