/* ========================================
   PAGE SECTIONS
   ======================================== */

/* Services Section */
.services {
  padding: 8rem 0;
  background: var(--light-bg);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Brief Company Intro (Pacific Cargo–style centered) */
.brief-intro {
  padding: 6rem 0;
  background: var(--light-bg-alt);
  text-align: center;
}

.brief-intro-inner {
  max-width: 720px;
  margin: 0 auto;
}

.brief-intro-tagline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.brief-intro-heading {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.brief-intro-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.brief-intro-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.brief-intro-cta .btn {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 0.9rem;
}

.brief-intro-cta .btn-outline {
  background: #fff;
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
}

.brief-intro-cta .btn-outline:hover {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
}

/* About Section */
.about {
  padding: 8rem 0;
  background: var(--light-bg-alt);
  position: relative;
}

/* About Us page blocks (General Intro, Mission, Values, Portfolio) */
.about-block .about-intro,
.about-block .about-mission {
  max-width: 800px;
  margin-bottom: 4rem;
}

.about-block-title {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-red);
  display: inline-block;
}

.about-block p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-body);
}

.about-values-table {
  margin-top: 1rem;
}

.about-value-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.about-value-row:last-child {
  border-bottom: none;
}

.about-value-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-red);
  margin: 0;
}

.about-value-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}

.about-portfolio {
  margin-top: 2rem;
}

.about-portfolio-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1rem 0 0;
}

.about-portfolio-list li {
  margin: 0;
}

.about-portfolio-list a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: rgba(196, 30, 58, 0.08);
  border: 1px solid rgba(196, 30, 58, 0.2);
  border-radius: 8px;
  transition: var(--transition);
}

.about-portfolio-list a:hover {
  background: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), transparent);
  z-index: 1;
}

.about-map {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #F0F4F8 0%, #E8EBF0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-decoration {
  position: absolute;
  inset: 20px;
  border: 2px dashed rgba(196, 30, 58, 0.3);
  border-radius: 16px;
}

.map-content {
  text-align: center;
  z-index: 2;
}

.map-content svg {
  width: 80px;
  height: 80px;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.map-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: var(--gradient-red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.experience-badge .number {
  font-size: 3rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text .lead {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(196, 30, 58, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.feature-content p {
  font-size: 0.95rem;
}

/* Cases Section */
.cases {
  padding: 8rem 0;
  background: var(--light-bg);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* News Section */
.news {
  padding: 8rem 0;
  background: var(--light-bg-alt);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Credibility & Expertise Section */
.credibility {
  padding: 6rem 0;
  background: var(--light-bg);
}

.credibility-stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 6rem;
  padding: 2rem 0;
}

.stat-item {
  text-align: center;
  flex: 0 0 auto;
  min-width: 140px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--primary-red);
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-underline {
  width: 40px;
  height: 3px;
  background: var(--primary-red);
  margin: 0 auto 0.75rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 500;
}

/* Industries Section */
.credibility-industries {
  margin-bottom: 6rem;
  padding: 3rem 0;
}

.credibility-industries .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.credibility-industries .section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.credibility-industries .section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-red);
}

.credibility-industries .section-header p {
  max-width: 800px;
  margin: 1.5rem auto 0;
  color: var(--text-body);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.industry-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.industry-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.industry-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.industry-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary-red);
}

.industry-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Route Map Section */
.credibility-route-map {
  margin-bottom: 6rem;
  padding: 3rem 0;
}

.credibility-route-map .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.route-map-container {
  max-width: 1200px;
  margin: 0 auto;
}

.route-map {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #1a1e29;
}

.route-map-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

/* Partners & Trust Endorsement */
.credibility-partners {
  padding: 3rem 0;
}

.partners-section,
.members-section {
  margin-bottom: 4rem;
}

.partners-section:last-child,
.members-section:last-child {
  margin-bottom: 0;
}

.partners-heading,
.members-heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary-red) 0%, #9B1830 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.partners-logos-grid,
.members-logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.partner-logo-item,
.member-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
  background: var(--light-bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  min-width: 180px;
  min-height: 110px;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-dark);
}

.partner-logo-item img,
.member-logo-item img {
  max-height: 72px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.partner-logo-item .logo-fallback,
.member-logo-item .logo-fallback {
  display: none;
  font-size: 1rem;
  font-weight: 600;
}

.partner-logo-item:hover,
.member-logo-item:hover {
  border-color: var(--primary-red);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.15);
  transform: translateY(-2px);
}

/* Partners Section */
.partners {
  padding: 5rem 0;
  background: var(--light-bg);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.partners-content {
  text-align: center;
}

.partners-content p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Destinations Section */
.destinations {
  padding: 8rem 0;
  background: var(--light-bg-alt);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

/* Contact Section */
.contact-section {
  padding: 8rem 0;
  background: var(--light-bg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(196, 30, 58, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
}

.contact-icon svg,
.contact-icon img {
  width: 22px;
  height: 22px;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary-red);
}

/* Contact Offices */
.contact-offices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  flex: 1;
}

.office-card {
  background: var(--light-bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.office-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 30, 58, 0.2);
}

.office-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-red);
}

.office-card .contact-details {
  gap: 1.25rem;
}

.office-card .contact-item:last-child {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.btn-map {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-map img {
  flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--light-bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.company-photo {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.company-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--light-bg);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Track & Trace Page */
.track-trace-content {
  padding: 4rem 0 6rem;
  background: var(--light-bg);
}

/* Track page without page-header - add extra top padding to avoid header overlap */
.track-trace-content.no-header {
  padding-top: 12rem;
  margin-top: 0;
  scroll-margin-top: 0;
}

@media (max-width: 768px) {
  .track-trace-content.no-header {
    padding-top: 10rem;
  }
}

.track-section {
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: var(--light-bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.track-section:last-child {
  margin-bottom: 0;
}

.track-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.track-section .section-header h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.track-section .section-header p {
  font-size: 1rem;
  color: var(--text-body);
}

.track-query-form {
  max-width: 600px;
  margin: 0 auto;
}

.track-query-form .form-group {
  margin-bottom: 1.5rem;
}

.track-query-form .form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  background: #fff;
  transition: var(--transition);
}

.track-query-form .form-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.track-query-form button {
  width: 100%;
  justify-content: center;
}

.track-message {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

.cargowise-login {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.cargowise-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.neo-tutorials {
  max-width: 800px;
  margin: 0 auto;
}

.tutorial-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--light-bg-alt);
  border-radius: 12px;
  border: 2px dashed var(--border-light);
}

.tutorial-icon {
  width: 64px;
  height: 64px;
  color: var(--primary-red);
  margin: 0 auto 1.5rem;
  opacity: 0.6;
  display: block;
}

.tutorial-placeholder h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.tutorial-placeholder p {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.tutorial-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: #000;
}

.tutorial-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tutorial-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.tutorial-video video::-webkit-media-controls-panel {
  background: transparent;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(196, 30, 58, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}

.video-play-button:hover {
  background: var(--primary-red);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(196, 30, 58, 0.6);
}

.video-play-button:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.video-play-button svg {
  width: 32px;
  height: 32px;
  color: #fff;
  margin-left: 4px; /* 微调播放图标位置，使其视觉居中 */
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: var(--gradient-red);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta .btn-outline {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.cta .btn-outline:hover {
  background: #FFFFFF;
  color: var(--primary-red);
  border-color: #FFFFFF;
}
