/* style/tintc.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm */
.page-tintc {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-tintc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #08160F;
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-tintc__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-tintc__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2FFF6;
  margin-bottom: 20px;
  max-width: 100%;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-tintc__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-tintc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-tintc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-tintc__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-tintc__btn-secondary {
  background-color: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-tintc__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Background */
}

.page-tintc__section {
  padding: 60px 20px;
  background-color: #08160F;
  color: #F2FFF6;
}

.page-tintc__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-tintc__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6;
}

.page-tintc__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #A7D9B8;
}

.page-tintc__category-grid,
.page-tintc__benefits-grid,
.page-tintc__guide-steps {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-tintc__category-card,
.page-tintc__benefit-card,
.page-tintc__step-item {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-tintc__category-image,
.page-tintc__benefit-image,
.page-tintc__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-tintc__category-title,
.page-tintc__benefit-title,
.page-tintc__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-tintc__category-text,
.page-tintc__benefit-text,
.page-tintc__step-text {
  font-size: 1em;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tintc__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-tintc__faq-item {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  color: #F2FFF6;
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6;
  list-style: none;
}

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

.page-tintc__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.1);
}

.page-tintc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
  transform: rotate(45deg);
}

.page-tintc__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.8;
}

.page-tintc__faq-answer p {
    margin: 0;
}

.page-tintc__cta-buttons--bottom {
    margin-top: 50px;
}

/* Desktop video container width (if video exists, ensure width: 100% with max-width) */
.page-tintc__video-container {
    width: 100%; /* Ensure full width on desktop */
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-tintc {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-tintc__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is small decoration */
  }

  .page-tintc__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-tintc__intro-text,
  .page-tintc__section-description {
    font-size: 0.95em;
  }

  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tintc__section {
    padding: 40px 15px;
  }

  .page-tintc__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-tintc__category-grid,
  .page-tintc__benefits-grid,
  .page-tintc__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-tintc__category-card,
  .page-tintc__benefit-card,
  .page-tintc__step-item,
  .page-tintc__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tintc__category-image,
  .page-tintc__benefit-image,
  .page-tintc__step-image,
  .page-tintc__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tintc__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
  }

  .page-tintc__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-tintc__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-tintc__video-section {
    padding-top: 10px !important;
  }
  
  .page-tintc__video-container,
  .page-tintc__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-tintc video,
  .page-tintc__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}