/* ============================================
   Internal Pages Styles
   ============================================ */

.inner-page .site-header {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.inner-page .site-header .logo-img {
  height: 45px;
}

/* Page Banner */
.page-banner {
  position: relative;
  padding: 140px 0 70px;
  background: var(--dark);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23C2272D' fill-opacity='0.06'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
}

.page-banner--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner--image::before {
  opacity: 0.35;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 20px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-nav li {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.breadcrumb-nav li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-nav li a:hover {
  color: var(--red);
}

.breadcrumb-nav li.active {
  color: var(--red);
}

.breadcrumb-nav li + li::before {
  content: '/';
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.3);
}

/* Content Blocks */
.content-block {
  margin-bottom: 40px;
}

.content-block h3 {
  font-weight: 700;
  margin-bottom: 16px;
}

.content-block p {
  color: var(--gray);
  margin-bottom: 12px;
}

.info-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.info-card .info-icon {
  width: 56px;
  height: 56px;
  background: rgba(194, 39, 45, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.info-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Products Page */
.products-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid #E5E7EB;
  border-radius: 50px;
  background: var(--white);
  color: var(--black);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.product-grid-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.product-grid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-grid-card .product-img {
  height: 220px;
  overflow: hidden;
}

.product-grid-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-grid-card:hover .product-img img {
  transform: scale(1.06);
}

.product-grid-card .product-body {
  padding: 22px;
}

.product-grid-card .product-category {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

/* Blog / Articles */
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-media {
  display: block;
  height: 220px;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 22px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--gray);
}

.blog-card-category {
  color: var(--red);
  font-weight: 600;
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--black);
  text-decoration: none;
  transition: var(--transition);
}

.blog-card-title a:hover {
  color: var(--red);
}

.blog-card-excerpt {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 14px;
  line-height: 1.7;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.blog-card-link:hover {
  color: var(--red-dark);
}

.blog-detail-hero {
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-light);
}

.blog-detail-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray);
}

.blog-detail-category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(192, 38, 46, 0.1);
  color: var(--red);
  font-weight: 600;
  font-size: 0.8rem;
}

.blog-detail-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.blog-detail-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.blog-detail-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--black);
}

.blog-sidebar {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 24px;
}

.blog-sidebar-sticky {
  position: sticky;
  top: 110px;
}

.blog-sidebar-form {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.blog-sidebar-form-desc {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.blog-sidebar-contact-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.blog-sidebar-contact-form .form-control {
  border-radius: 8px;
  border-color: #e5e7eb;
  font-size: 0.9rem;
}

.blog-sidebar-contact-form .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.2rem rgba(192, 38, 46, 0.12);
}

.blog-sidebar-related {
  margin-top: 4px;
}

.blog-sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.blog-sidebar-item {
  display: flex;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.blog-sidebar-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.blog-sidebar-item:hover h4 {
  color: var(--red);
}

.blog-sidebar-thumb {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.blog-sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-sidebar-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
  color: var(--black);
  transition: var(--transition);
}

.blog-sidebar-text time {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Product Details */
.product-detail-img {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.product-detail-img img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.product-detail-info h2 {
  font-weight: 800;
  margin-bottom: 12px;
}

.product-detail-info .product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 20px;
}

.specs-table {
  width: 100%;
  margin: 24px 0;
}

.specs-table tr {
  border-bottom: 1px solid #E5E7EB;
}

.specs-table td {
  padding: 12px 0;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--black);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--gray);
}

.product-gallery-thumb {
  width: 80px;
  height: 80px;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: var(--transition);
  object-fit: contain;
  background: var(--white);
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
  border-color: var(--red);
}

.product-features-box {
  background: #fdf5f3;
  border: 1px solid #f3e0dc;
  border-radius: 12px;
  padding: 24px 28px;
}

.product-features-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 18px;
}

.product-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
}

.product-features-list li:last-child {
  margin-bottom: 0;
}

.product-features-list li i {
  color: var(--red);
  font-size: 1.1rem;
  line-height: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-features-list li span {
  flex: 1;
}

/* Branch Detail */
.branch-detail-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}

.branch-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.branch-detail-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.branch-detail-body {
  padding: 24px;
}

.branch-detail-body h5 {
  font-weight: 700;
  margin-bottom: 12px;
}

.branch-detail-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.branch-detail-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 10px;
}

.branch-detail-body li i {
  color: var(--red);
  margin-top: 3px;
}

/* Map Section */
.map-section {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5E7EB;
}

.map-placeholder-large {
  text-align: center;
  color: var(--gray);
}

.map-placeholder-large i {
  font-size: 3rem;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

/* Certificate Grid */
.cert-grid-card {
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.cert-grid-card:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cert-grid-card .cert-icon {
  font-size: 3rem;
  color: var(--red);
  margin-bottom: 16px;
  transition: var(--transition);
}

.cert-grid-card:hover .cert-icon {
  color: var(--white);
}

.cert-grid-card h5 {
  font-weight: 700;
  margin-bottom: 8px;
}

.cert-grid-card p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
  transition: var(--transition);
}

.cert-grid-card:hover p {
  color: rgba(255, 255, 255, 0.85);
}

/* Timeline (Process Page) */
.process-detail-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}

.process-detail-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: -20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), transparent);
}

.process-detail-num {
  width: 56px;
  height: 56px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.process-detail-content h4 {
  font-weight: 700;
  margin-bottom: 8px;
}

.process-detail-content p {
  color: var(--gray);
  margin-bottom: 0;
}

/* CTA Strip */
.page-cta {
  background: var(--dark);
  padding: 60px 0;
  text-align: center;
}

.page-cta h3 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .page-banner {
    padding: 120px 0 50px;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .process-detail-step {
    flex-direction: column;
    gap: 12px;
  }

  .process-detail-step:not(:last-child)::after {
    display: none;
  }
}
