/* ============================================
   成都权煜泓籁酒店管理有限公司 - 全站样式
   配色：主色 #002648 / 强调 #054274 / 背景 #eee
   ============================================ */

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; width: auto; display: block; border: none; }
body, html {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background-color: #eee;
  color: #3e3e3e;
  font-size: 14px;
  width: 100%;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { text-decoration: none; color: inherit; }
a:hover { color: #054274; }
ul, li { list-style: none; }
input, textarea, button { font-family: inherit; font-size: 14px; outline: none; border: none; }
button { cursor: pointer; }

/* --- Utility --- */
.flexbox { display: flex; flex-wrap: wrap; }
.clearfix::after { content: ''; display: table; clear: both; }
.container { padding: 0 70px; padding-top: 115px; }
.w1200 { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Scroll Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Header --- */
.header {
  padding: 20px 70px;
  position: fixed;
  z-index: 300;
  width: 100%;
  left: 0;
  top: 0;
  background-color: #eee;
  transition: all 0.3s ease;
}
.header.scrolled {
  padding: 12px 70px;
  box-shadow: 0 0 15px rgba(0,38,72,0.15);
}
.header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { font-size: 20px; font-weight: 700; color: #002648; line-height: 1.2; }
.logo-text small { display: block; font-size: 11px; font-weight: 400; color: #054274; letter-spacing: 2px; margin-top: 2px; }
.header .nav { display: flex; align-items: center; }
.header .nav .item { margin-left: 5px; }
.header .nav .item a {
  font-size: 16px;
  color: #333;
  display: block;
  padding: 8px 12px;
  position: relative;
  font-weight: 700;
  transition: color 0.3s;
}
.header .nav .item a:hover,
.header .nav .item a.active { color: #002648; }
.header .nav .item a.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #002648;
}
.header .right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.header .right .row { display: flex; align-items: center; }
.header .right .tel a {
  font-size: 22px;
  color: #002648;
  font-weight: 700;
}
.header .right .tel .icon { margin-right: 8px; }

/* Mobile nav */
.menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 400;
}
.menu-btn span {
  width: 25px;
  height: 2px;
  background: #002648;
  transition: 0.3s;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 300px;
  height: 100vh;
  background: #002648;
  z-index: 500;
  transition: right 0.3s ease;
  padding: 80px 30px 30px;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block;
  color: #fff;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav a:hover { color: #e5bf8e; }
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 450;
}
.overlay.open { display: block; }

/* --- Banner --- */
.banner {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.banner .slides { position: relative; width: 100%; height: 100%; }
.banner .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}
.banner .slide.active { opacity: 1; }
.banner .slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.banner .slide .overlay-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 80%;
}
.banner .slide .overlay-text h2 {
  font-size: 42px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  font-weight: 700;
}
.banner .slide .overlay-text p {
  font-size: 20px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  letter-spacing: 2px;
}
.banner .dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.banner .dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.banner .dots span.active {
  background: #fff;
  transform: scale(1.2);
}

/* --- Section Common --- */
.section {
  padding: 60px 70px;
}
.section-title {
  font-size: 30px;
  color: #033561;
  margin-bottom: 30px;
  font-weight: 700;
}
.section-title span {
  font-weight: 400;
  font-size: 28px;
}
.section-title.center {
  text-align: center;
}

/* --- Sub Banner (inner pages) --- */
.sub-banner {
  height: 300px;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}
.sub-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.sub-banner .text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}
.sub-banner .text h2 {
  font-size: 36px;
  margin-bottom: 10px;
}
.sub-banner .text p {
  font-size: 16px;
  opacity: 0.8;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 15px 70px;
  background: #fff;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid #eee;
}
.breadcrumb a { color: #002648; }
.breadcrumb a:hover { color: #054274; }

/* --- Service/Core Business --- */
.services {
  background: #fff;
}
.services .service-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.service-card {
  text-align: center;
  padding: 40px 25px;
  width: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,38,72,0.1);
}
.service-card .icon {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #002648, #054274);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
}
.service-card h3 {
  font-size: 18px;
  color: #002648;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* --- Product Cards --- */
.product-section { background: #fff; }
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px;
}
.product-card {
  width: calc((100% - 60px) / 3);
  background: #fff;
  border: 1px solid rgba(55,55,55,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,38,72,0.15);
}
.product-card .img-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.product-card .img-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .img-box img {
  transform: scale(1.05);
}
.product-card .text {
  padding: 20px 15px;
  text-align: center;
}
.product-card .text .name {
  font-size: 18px;
  color: #222;
  margin-bottom: 8px;
  font-weight: 700;
}
.product-card .text .desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .btn {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 24px;
  border: 1px solid #002648;
  color: #002648;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s;
}
.product-card .btn:hover {
  background: #002648;
  color: #fff;
}

/* --- About Section (Home) --- */
.about-section {
  background: #fff;
}
.about-section .about-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}
.about-section .about-left {
  flex: 1;
  padding-top: 20px;
}
.about-section .about-left h3 {
  font-size: 28px;
  color: #002648;
  margin-bottom: 15px;
}
.about-section .about-left .info {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  text-align: justify;
}
.about-section .about-left .stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.about-section .about-left .stat-item {
  width: calc(50% - 10px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-section .about-left .stat-item .icon {
  font-size: 36px;
  color: #002648;
  line-height: 1;
}
.about-section .about-left .stat-item span {
  display: block;
  font-size: 14px;
  color: rgba(0,38,72,0.8);
  line-height: 1.5;
}
.about-section .about-right {
  width: 400px;
  flex-shrink: 0;
}
.about-section .about-right .img-box {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 8px;
}
.about-section .about-right .img-box img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* --- Partner Section --- */
.partner-section {
  background: #f5f5f5;
}
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}
.partner-item {
  width: calc((100% - 100px) / 4);
  height: 100px;
  background: #fff;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #999;
  font-weight: 700;
  letter-spacing: 2px;
  transition: all 0.3s;
  filter: grayscale(1) opacity(0.6);
}
.partner-item:hover {
  filter: grayscale(0) opacity(1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- News Cards --- */
.news-section {
  background: #fff;
}
.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.news-card {
  width: calc((100% - 30px) / 2);
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,38,72,0.15);
  transition: all 0.3s;
}
.news-card:hover {
  border-color: #054274;
}
.news-card .img-box {
  width: 200px;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
}
.news-card .img-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .img-box img {
  transform: scale(1.05);
}
.news-card .text { flex: 1; }
.news-card .text .tag {
  display: inline-block;
  padding: 2px 12px;
  border: 1px solid #555;
  font-size: 12px;
  color: #555;
  margin-bottom: 8px;
  opacity: 0.6;
}
.news-card .text .title {
  font-size: 16px;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .text .title { color: #054274; }
.news-card .text .date {
  font-size: 13px;
  color: #999;
}
.news-card .text .summary {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Form Section (CTA) --- */
.form-section {
  background-image: linear-gradient(135deg, #002648 0%, #054274 100%);
  color: #fff;
  text-align: center;
  padding: 50px 70px;
}
.form-section h4 {
  font-size: 36px;
  margin-bottom: 10px;
}
.form-section .subtitle {
  font-size: 20px;
  margin-bottom: 25px;
  opacity: 0.9;
}
.form-section .form-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.form-section input[type="text"] {
  height: 42px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 40px;
  width: 230px;
  padding: 0 20px;
  background: transparent;
  color: #fff;
  font-size: 14px;
}
.form-section input::placeholder {
  color: rgba(255,255,255,0.7);
}
.form-section .submit-btn {
  height: 42px;
  padding: 0 30px;
  border-radius: 40px;
  background: #fff;
  color: #002648;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.form-section .submit-btn:hover {
  background: #e5bf8e;
  color: #002648;
}

/* --- Footer --- */
.footer {
  background: #002648;
  color: rgba(255,255,255,0.8);
  padding: 50px 70px 0;
}
.footer-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .col { min-width: 200px; }
.footer .col h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer .col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: #e5bf8e;
}
.footer .col p {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.7);
}
.footer .col a {
  display: block;
  font-size: 14px;
  line-height: 2.2;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
.footer .col a:hover { color: #e5bf8e; }
.footer .col .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer .col .contact-item .icon {
  font-size: 18px;
  color: #e5bf8e;
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer-bottom a:hover { color: #e5bf8e; }

/* --- About Page --- */
.about-page .about-intro {
  padding: 60px 0;
}
.about-page .about-intro h3 {
  font-size: 24px;
  color: #002648;
  margin-bottom: 20px;
}
.about-page .about-intro p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 40px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: #002648;
  transform: translateX(-50%);
}
.timeline .tl-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}
.timeline .tl-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}
.timeline .tl-item .tl-content {
  width: 45%;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.timeline .tl-item .tl-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #002648;
  border: 3px solid #054274;
  z-index: 2;
  top: 25px;
}
.timeline .tl-item .tl-content h4 {
  font-size: 20px;
  color: #002648;
  margin-bottom: 8px;
}
.timeline .tl-item .tl-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Culture Cards */
.culture-grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.culture-card {
  flex: 1;
  min-width: 250px;
  padding: 35px 25px;
  background: #fff;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.culture-card:hover { transform: translateY(-5px); }
.culture-card .icon {
  font-size: 40px;
  color: #002648;
  margin-bottom: 15px;
}
.culture-card h4 {
  font-size: 20px;
  color: #002648;
  margin-bottom: 10px;
}
.culture-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Team */
.team-grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}
.team-card {
  width: 180px;
  text-align: center;
}
.team-card .avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid #eee;
  transition: border-color 0.3s;
}
.team-card:hover .avatar { border-color: #002648; }
.team-card .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-card h4 {
  font-size: 16px;
  color: #222;
  margin-bottom: 5px;
}
.team-card p {
  font-size: 13px;
  color: #999;
}

/* --- Product Detail --- */
.product-detail .pd-wrap {
  display: flex;
  gap: 40px;
  padding: 40px 0;
}
.product-detail .pd-img {
  width: 50%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}
.product-detail .pd-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-detail .pd-info { flex: 1; }
.product-detail .pd-info h2 {
  font-size: 28px;
  color: #002648;
  margin-bottom: 15px;
}
.product-detail .pd-info .desc {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

/* Params Table */
.params-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.params-table th,
.params-table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #eee;
  font-size: 14px;
}
.params-table th {
  background: #002648;
  color: #fff;
  width: 30%;
}
.params-table td { color: #555; }

/* Features */
.features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #f5f5f5;
  border-radius: 8px;
  flex: 1;
  min-width: 200px;
}
.feature-item .icon {
  font-size: 24px;
  color: #002648;
}

/* Related Products */
.related-products {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  padding: 40px 0;
  border-top: 1px solid #eee;
}
.related-products h3 {
  font-size: 22px;
  color: #002648;
  margin-bottom: 25px;
  width: 100%;
}

/* --- News Detail --- */
.news-detail {
  padding: 40px 0;
}
.news-detail .article-header {
  margin-bottom: 25px;
}
.news-detail .article-header h1 {
  font-size: 28px;
  color: #002648;
  margin-bottom: 10px;
}
.news-detail .article-header .meta {
  font-size: 14px;
  color: #999;
}
.news-detail .article-body p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}
.news-detail .article-body img {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  border-radius: 8px;
  height: 300px;
  object-fit: cover;
}
.news-nav {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  border-top: 1px solid #eee;
  margin-top: 30px;
}
.news-nav a {
  color: #002648;
  font-size: 14px;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-nav a:hover { color: #054274; }

/* --- News List Page --- */
.news-list .news-item {
  display: flex;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
}
.news-list .news-item:hover {
  background: #fafafa;
}
.news-list .news-item .img-box {
  width: 250px;
  height: 170px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
}
.news-list .news-item .img-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-list .news-item:hover .img-box img {
  transform: scale(1.05);
}
.news-list .news-item .text { flex: 1; }
.news-list .news-item .text h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.news-list .news-item:hover .text h3 { color: #054274; }
.news-list .news-item .text .date {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}
.news-list .news-item .text .summary {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list .news-item .text .read-more {
  display: inline-block;
  margin-top: 10px;
  color: #002648;
  font-size: 14px;
  border-bottom: 1px solid #002648;
  padding-bottom: 2px;
}

/* --- Contact Page --- */
.contact-page .contact-info {
  padding: 40px 0;
}
.contact-card {
  flex: 1;
  min-width: 250px;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.contact-card:hover { transform: translateY(-5px); }
.contact-card .icon {
  font-size: 36px;
  color: #002648;
  margin-bottom: 15px;
}
.contact-card h4 {
  font-size: 16px;
  color: #002648;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 14px;
  color: #666;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.contact-form h3 {
  font-size: 22px;
  color: #002648;
  margin-bottom: 25px;
  text-align: center;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
  font-weight: 700;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #002648;
}
.form-group textarea {
  height: 120px;
  resize: vertical;
}
.form-submit {
  display: block;
  width: 100%;
  padding: 12px;
  background: #002648;
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}
.form-submit:hover {
  background: #054274;
}

/* --- Inner Pages: Alternative Class Names --- */

/* Section title as wrapper (inner pages use h2/p inside) */
.section-title h2 {
  font-size: 30px;
  color: #033561;
  margin-bottom: 10px;
  font-weight: 700;
}
.section-title p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* Product list (alias for product-grid on list page) */
.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px;
}

/* Product card - .img/.info naming (used in inner pages) */
.product-card .img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.product-card .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .img img {
  transform: scale(1.05);
}
.product-card .info {
  padding: 20px 15px;
  text-align: center;
}
.product-card .info h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 8px;
  font-weight: 700;
}
.product-card .info p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Product detail - .left/.right naming (used in detail pages) */
.product-detail {
  display: flex;
  gap: 40px;
  padding: 40px 0;
}
.product-detail .left {
  width: 50%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}
.product-detail .left img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-detail .right {
  flex: 1;
}
.product-detail .right h2 {
  font-size: 28px;
  color: #002648;
  margin-bottom: 15px;
}
.product-detail .right p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}

/* Params table - td:first-child as label (when th not used) */
.params-table td:first-child {
  background: #002648;
  color: #fff;
  font-weight: 700;
  width: 30%;
}

/* Feature item with h3+p content */
.feature-item {
  display: block;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
  flex: 1;
  min-width: 200px;
}
.feature-item h3 {
  font-size: 16px;
  color: #002648;
  margin-bottom: 8px;
  font-weight: 700;
}
.feature-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Related products in detail pages */
.related-products .product-card {
  width: calc((100% - 75px) / 4);
  border: 1px solid rgba(55,55,55,0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
}
.related-products .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,38,72,0.12);
}
.related-products .product-card .img {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.related-products .product-card .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.related-products .product-card:hover .img img {
  transform: scale(1.05);
}
.related-products .product-card .info {
  padding: 15px 12px;
  text-align: center;
}
.related-products .product-card .info h3 {
  font-size: 15px;
  color: #222;
  margin-bottom: 10px;
  font-weight: 700;
}
.related-products .product-card .info .btn {
  display: inline-block;
  padding: 5px 18px;
  border: 1px solid #002648;
  color: #002648;
  border-radius: 30px;
  font-size: 13px;
  transition: all 0.3s;
}
.related-products .product-card .info .btn:hover {
  background: #002648;
  color: #fff;
}

/* News list - .thumb/.info naming */
.news-list {
  padding: 30px 70px;
}
.news-item .thumb {
  width: 250px;
  height: 170px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
}
.news-item .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-item:hover .thumb img {
  transform: scale(1.05);
}
.news-item .info {
  flex: 1;
}
.news-item .info h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 8px;
  font-weight: 700;
  transition: color 0.3s;
}
.news-item .info h3 a {
  color: inherit;
  text-decoration: none;
}
.news-item:hover .info h3 {
  color: #054274;
}
.news-item .info .date {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
  display: block;
}
.news-item .info p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item .info .read-more {
  display: inline-block;
  margin-top: 10px;
  color: #002648;
  font-size: 14px;
  border-bottom: 1px solid #002648;
  padding-bottom: 2px;
  text-decoration: none;
}
.news-item .info .read-more:hover {
  color: #054274;
  border-color: #054274;
}

/* News detail - .date alias for .meta */
.news-detail .article-header .date {
  font-size: 14px;
  color: #999;
}

/* --- Image Fallback --- */

/* --- About Page Alt Naming --- */
.about-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.about-text {
  flex: 1;
}
.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}
.about-img {
  width: 400px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}
.about-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Timeline - alternative naming */
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
  padding-left: 80px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(0,38,72,0.15);
}
.timeline-item .year {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: #002648;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.timeline-item .desc {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.timeline-item .desc h3 {
  font-size: 18px;
  color: #002648;
  margin-bottom: 8px;
}
.timeline-item .desc p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Culture cards - alternative container */
.culture-cards {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.culture-card h3 {
  font-size: 20px;
  color: #002648;
  margin-bottom: 10px;
}

/* Team member - alternative naming */
.team-member {
  width: 180px;
  text-align: center;
}
.team-member .avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid #eee;
  transition: border-color 0.3s;
}
.team-member:hover .avatar { border-color: #002648; }
.team-member .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-member h3 {
  font-size: 16px;
  color: #222;
  margin-bottom: 5px;
}
.team-member p {
  font-size: 13px;
  color: #999;
}

/* Contact page alt naming */
.contact-info-section {
  padding: 50px 0;
}
.contact-info-section .section-title {
  text-align: center;
}
.contact-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.contact-card h4,
.contact-card h3 {
  font-size: 16px;
  color: #002648;
  margin-bottom: 8px;
}
.contact-form-wrap {
  padding: 50px 0;
}
.contact-form-wrap .section-title {
  text-align: center;
}
.contact-form {
  max-width: 700px;
  margin: 30px auto 0;
  padding: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.contact-form .form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-form .form-row .form-group {
  flex: 1;
  min-width: 200px;
}
.contact-form .required {
  color: #e74c3c;
}
.contact-form .submit-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #002648;
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}
.contact-form .submit-btn:hover {
  background: #054274;
}
.img-fallback {
  background: linear-gradient(135deg, #002648, #054274);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  color: #fff;
  font-size: 14px;
  border-radius: 8px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .container, .section, .header, .footer { padding-left: 30px; padding-right: 30px; }
  .breadcrumb { padding: 15px 30px; }
  .product-card { width: calc((100% - 30px) / 2); }
  .partner-item { width: calc((100% - 50px) / 3); }
  .timeline .tl-item { flex-direction: column !important; text-align: left !important; }
  .timeline::before { left: 20px; }
  .timeline .tl-item .tl-content { width: 100%; margin-left: 50px; }
  .timeline .tl-item .tl-dot { left: 20px; }
  .product-detail .pd-wrap { flex-direction: column; }
  .product-detail .pd-img { width: 100%; }
  .product-detail .left { width: 100%; }
  .related-products .product-card { width: calc((100% - 60px) / 3); }
  .news-list { padding: 30px; }
}

@media (max-width: 768px) {
  .header { padding: 15px 20px; }
  .header.scrolled { padding: 10px 20px; }
  .header .nav { display: none; }
  .header .right { display: none; }
  .menu-btn { display: flex; }
  .mobile-nav { display: block; }

  .container, .section { padding: 30px 20px; padding-top: 80px; }
  .breadcrumb { padding: 12px 20px; }
  .banner { height: 350px; }
  .banner .slide .overlay-text h2 { font-size: 24px; }
  .banner .slide .overlay-text p { font-size: 14px; }

  .section-title { font-size: 22px; text-align: center; }
  .product-card { width: 100%; }
  .news-card { width: 100%; }
  .news-card .img-box { width: 150px; height: 110px; }
  .partner-item { width: calc((100% - 25px) / 2); height: 70px; }
  .about-section .about-wrap { flex-direction: column; }
  .about-section .about-right { width: 100%; }
  .about-section .about-left .stat-item { width: 100%; }

  .footer { padding: 30px 20px 0; }
  .footer-box { flex-direction: column; gap: 20px; }

  .form-section { padding: 30px 20px; }
  .form-section h4 { font-size: 24px; }
  .form-section input[type="text"] { width: 100%; }

  .sub-banner { height: 200px; }
  .sub-banner .text h2 { font-size: 24px; }

  .product-detail { flex-direction: column; padding: 20px 0; }
  .product-detail .left { width: 100%; height: 250px; }
  .product-detail .pd-wrap { flex-direction: column; }
  .product-detail .pd-img { width: 100%; height: 250px; }
  .news-list { padding: 20px; }
  .news-list .news-item { flex-direction: column; }
  .news-list .news-item .img-box { width: 100%; height: 200px; }
  .news-list .news-item .thumb { width: 100%; height: 200px; }
  .related-products .product-card { width: 100%; }
  .features { flex-direction: column; }
  .feature-item { min-width: unset; }

  .contact-page .contact-info { gap: 15px; }
  .contact-form { padding: 25px 20px; }

  .about-content { flex-direction: column; }
  .about-img { width: 100%; }
  .timeline-item { padding-left: 60px; }
  .timeline-item .year { width: 48px; height: 48px; font-size: 12px; }
  .culture-cards { flex-direction: column; }
  .culture-card { min-width: unset; }
  .team-grid { gap: 15px; }
  .team-member { width: 140px; }
  .team-member .avatar { width: 100px; height: 100px; }
  .contact-cards { flex-direction: column; }
  .contact-form .form-row { flex-direction: column; }
}
