/* ========================================
   Ticco Robotics — Responsive Styles
   ======================================== */

/* === Header Right Section === */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* === Language Dropdown === */
.lang-dropdown {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Desktop: keep lang-dropdown fixed */
@media (min-width: 769px) {
  .header-right .lang-dropdown {
    position: fixed;
    top: 20px;
    right: 20px;
  }
}

.lang-dropdown__toggle {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #062e58;
  border: 2px solid #1a4e66;
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(10, 94, 176, 0.4);
  min-width: 80px;
  justify-content: center;
}

.lang-dropdown__toggle:hover {
  background: rgba(10, 94, 176, 1);
  border-color: rgba(102, 247, 255, 0.8);
  box-shadow: 0 4px 24px rgba(102, 247, 255, 0.4);
}

.lang-dropdown.scrolled .lang-dropdown__toggle {
  background: #ffffff !important;
  border-color: rgba(10, 94, 176, 0.22) !important;
  color: #000000 !important;
  box-shadow: none !important;
}

.lang-dropdown__toggle svg {
  transition: transform var(--transition-fast);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.lang-dropdown.open .lang-dropdown__toggle svg {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: rgba(10, 26, 49, 0.95);
  border: 1px solid rgba(102, 247, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-hover);
}

.site-header.scrolled .lang-dropdown__menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(10, 94, 176, 0.12);
}

.lang-dropdown.open .lang-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown__item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-heading);
  font-size: var(--text-body-sm);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.site-header.scrolled .lang-dropdown__item {
  color: var(--color-dark-gray);
}

.lang-dropdown__item:hover {
  background: rgba(102, 247, 255, 0.12);
  color: var(--color-white);
}

.site-header.scrolled .lang-dropdown__item:hover {
  background: rgba(10, 94, 176, 0.08);
  color: var(--color-primary);
}

.lang-dropdown__item.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-electric));
  color: var(--color-white);
}

.site-header.scrolled .lang-dropdown__item.active {
  color: var(--color-white);
}

/* PC端页尾版权信息居中 */
.footer-bottom {
  text-align: center !important;
  clear: both;
}

.footer-bottom .container {
  text-align: center !important;
  display: block !important;
  float: none !important;
}

.footer-bottom .container p {
  margin: 0 auto !important;
  text-align: center !important;
  display: block !important;
  float: none !important;
  width: 100% !important;
}

/* Hide mobile-only line breaks on desktop */
.mobile-br {
  display: none;
}

/* Tablet and below */
@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden !important;
  }

  :root {
    --text-display: 48px;
    --text-h1: 40px;
    --text-h2: 32px;
    --container-padding: 20px;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .footer-main .container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col,
  .two-col--60-40,
  .two-col--40-60 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .news-card {
    flex-direction: column;
  }

  .news-card__image {
    width: 100%;
  }

  .mobile-br {
    display: block;
  }

  .news-card__image img {
    height: 200px;
  }

  /* Spec table adjustments */
  .spec-table {
    font-size: 13px;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px 12px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --text-display: 36px;
    --text-h1: 28px;
    --text-h2: 24px;
    --text-h3: 18px;
    --text-h4: 16px;
    --text-body: 15px;
    --text-body-sm: 14px;
    --space-3xl: 40px;
    --space-4xl: 60px;
    --container-padding: 16px;
  }

  /* Language dropdown mobile - displayed inline in header */
  .lang-dropdown {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin: 0;
    padding: 0;
    z-index: 100;
  }

  .nav-toggle {
    z-index: 1001;
  }

  .lang-dropdown__toggle {
    padding: 6px 12px;
    font-size: 12px;
    background: rgba(6, 46, 88, 0.95);
    border: 1px solid rgba(26, 78, 102, 0.5);
    border-radius: 999px;
    color: #ffffff;
    box-shadow: none;
  }

  .lang-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 120px;
    background: rgba(10, 26, 49, 0.98);
    border: 1px solid rgba(102, 247, 255, 0.18);
    border-radius: 8px;
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1000;
  }

  .lang-dropdown.open .lang-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .lang-dropdown__item {
    padding: 8px 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    background: none;
    border: none;
    border-radius: 4px;
    display: block;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .lang-dropdown__item:hover {
    background: rgba(102, 247, 255, 0.12);
    color: #ffffff;
  }

  .lang-dropdown__item.active {
    background: linear-gradient(135deg, #0a5eac, #00d4ff);
    color: #ffffff;
  }

  /* Mobile Navigation */
  .nav-toggle {
    display: flex;
  }

  /* Menu overlay */
  .header-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .header-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 45%;
    max-width: 240px;
    height: 100vh;
    background: linear-gradient(180deg, var(--color-white) 0%, #f8fafc 100%);
    padding: 80px 0 24px;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
  }

  .header-nav.active {
    right: 0;
  }

  .header-nav__header {
    padding: 0 24px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 8px;
  }

  .header-nav__logo {
    width: 120px;
    height: auto;
  }

  .header-nav .nav-list {
    flex-direction: column;
    gap: 0;
    flex: 1;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    overflow-x: visible;
  }

  .header-nav .nav-item {
    border-bottom: none;
    position: relative;
    margin: 0 -24px;
    padding: 0 24px;
  }

  .header-nav .nav-item a {
    display: flex;
    align-items: center;
    padding: 15px 0;
    font-size: 16px;
    color: var(--color-dark-gray);
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .header-nav .nav-item a:hover {
    background-color: rgba(0, 0, 0, 0.03);
  }

  .header-nav .nav-item a::after {
    display: none;
  }

  .header-nav .nav-item.active {
    background-color: rgba(10, 94, 176, 0.08);
    margin: 0 -24px;
    padding: 0 24px;
  }

  .header-nav .nav-item.active a {
    color: var(--color-primary);
    padding: 15px 0 15px 16px;
    display: flex;
    align-items: center;
  }

  .header-nav .nav-item.active a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 0 2px 2px 0;
  }

  /* Hero */
  .home-hero {
    min-height: 78vh;
    text-align: center;
    background-position: center;
  }

  .tech-orbit {
    right: -90px;
    top: 18%;
    opacity: 0.55;
  }

  .hero-tech-panel {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero__buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .home-hero__label {
    justify-content: center;
  }

  .home-hero h1,
  .home-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero {
    min-height: 26vh;
    padding-top: 70px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  /* Grid */
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .cases-grid .case-item__thumb {
    padding-top: 80%;
  }

  .cases-grid .case-item__title {
    font-size: 12px;
    padding: 10px 8px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  /* Footer */
  .footer-main .container {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-bottom {
    text-align: center !important;
  }

  .footer-bottom p {
    text-align: center !important;
    margin: 0 !important;
  }

  /* Section */
  .section {
    padding: 40px 0;
  }

  .section--gray {
    padding: 30px 0;
  }

  /* Timeline */
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-item__dot {
    left: 20px;
  }

  /* Tab nav - Mobile optimized */
  .tab-group {
    position: relative;
  }

  .tab-nav {
    position: sticky !important;
    top: 60px !important;
    z-index: 100 !important;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    padding: 4px !important;
    overflow-x: visible !important;
    justify-content: flex-start;
  }

  .tab-nav .container {
    display: contents !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .tab-nav__item {
    padding: 10px 12px !important;
    font-size: 12px !important;
    white-space: normal;
    word-break: break-word;
    border-radius: 6px !important;
    text-align: center;
    margin: 0 !important;
    width: auto !important;
    flex-shrink: 0;
    box-sizing: border-box !important;
    line-height: 1.4;
    min-width: calc(33.33% - 4px);
    max-width: calc(50% - 4px);
  }

  .tab-nav__item.active {
    padding: 10px 12px !important;
    margin: -4px !important;
    margin-left: -4px !important;
    margin-right: -4px !important;
    border-radius: 0 !important;
    width: calc(100% + 8px) !important;
  }

  /* Spec table - Mobile optimized */
  .spec-table-wrapper {
    overflow-x: auto;
    margin-bottom: var(--space-md);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    padding: 0 4px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .spec-table {
    font-size: 12px;
    min-width: 300px;
    width: 100%;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px 12px;
    white-space: nowrap;
    font-size: 12px;
    text-align: left;
  }

  .spec-table td:nth-child(2) {
    text-align: left;
    min-width: 120px;
    width: 120px;
  }

  .spec-table--model {
    font-size: 11px;
    min-width: auto;
    width: 100%;
    table-layout: fixed;
  }

  .spec-table--model th,
  .spec-table--model td {
    padding: 8px 6px;
    white-space: normal;
    font-size: 11px;
    text-align: center;
    word-break: break-word;
  }

  /* Side by side layouts */
  .spec-table-wrapper + .spec-table-wrapper,
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 16px !important;
  }

  /* Two-column layout */
  .two-col,
  .two-col--60-40 {
    gap: var(--space-md);
  }

  .two-col img {
    width: 100%;
    height: auto;
  }

  /* Product page adjustments */
  .section--gray {
    margin-top: -100px !important;
  }

  /* Hide products section in footer on mobile */
  .footer-col--products {
    display: none;
  }

  /* Contact page mobile */
  .contact-info__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact-qrcodes {
    flex-direction: column;
    gap: var(--space-lg);
    justify-content: center;
  }

  /* Contact page font sizes */
  .two-col [style*="font-size:20px;"] {
    font-size: 16px !important;
  }

  /* Footer adjustments */
  .footer-col h4 {
    font-size: 15px !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
  }

  .footer-contact-item {
    font-size: 13px !important;
    white-space: normal !important;
    line-height: 1.8 !important;
  }

  .footer-col .footer-qrcodes {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0 !important;
  }

  .footer-col .footer-qrcodes .footer-qrcode {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: calc(50% - 8px) !important;
    text-align: center !important;
    margin: 0 !important;
  }

  .footer-col .footer-qrcodes .footer-qrcode img {
    width: 100% !important;
    max-width: 120px !important;
    height: auto !important;
    margin-bottom: 8px !important;
  }

  .footer-col .footer-qrcodes .footer-qrcode span {
    font-size: 12px !important;
    text-align: center !important;
    margin-top: 0 !important;
    width: 100% !important;
  }

  /* Image adjustments */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Typography adjustments */
  p {
    text-align: left !important;
    text-indent: 0 !important;
    line-height: 1.7;
  }

  ul {
    padding-left: 16px !important;
  }

  li {
    margin-bottom: 8px;
  }

  /* Header adjustments */
  .site-header .container {
    height: 60px;
  }

  .header-logo img {
    height: 36px;
  }

  /* Tab content */
  .tab-content.active {
    padding-top: 10px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --text-h1: 24px;
    --text-h2: 22px;
    --text-h3: 17px;
    --text-body: 14px;
    --container-padding: 12px;
  }

  .container {
    padding: 0 12px;
  }

  .home-hero {
    min-height: 70vh;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: 270px;
  }

  .hero-metric {
    padding: 12px 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 12px;
    min-height: 42px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .stat-item__number {
    font-size: 30px;
  }

  /* Tab nav adjustments */
  .tab-nav__item {
    padding: 10px 6px;
    font-size: 12px;
    text-align: center;
  }

  /* Spec table adjustments */
  .spec-table-wrapper {
    padding: 0 4px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .spec-table {
    font-size: 11px;
    min-width: 280px;
    width: 100%;
  }

  .spec-table th,
  .spec-table td {
    padding: 8px 10px;
    white-space: nowrap;
    font-size: 11px;
    text-align: left;
  }

  .spec-table td:nth-child(2) {
    text-align: left;
    min-width: 120px;
    width: 120px;
  }

  .spec-table--model {
    font-size: 10px;
    min-width: auto;
    width: 100%;
    table-layout: fixed;
  }

  .spec-table--model th,
  .spec-table--model td {
    padding: 6px 4px;
    font-size: 10px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }

  /* Page hero adjustments */
  .page-hero {
    min-height: 22vh;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  /* Section adjustments */
  .section {
    padding: 30px 0;
  }

  .section--gray {
    padding: 40px 0;
    margin-top: 0 !important;
  }

  /* Header adjustments */
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
  }

  .site-header .container {
    height: 60px;
    position: relative;
  }

  /* Language dropdown for small mobile */
  .lang-dropdown {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin: 0;
    padding: 0;
    z-index: 100;
  }

  .nav-toggle {
    z-index: 10000;
  }

  .header-logo img {
    height: 35px !important;
    width: auto !important;
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
  }

  /* Footer adjustments */
  .footer-main {
    padding: 40px 0;
  }
}

/* Swiper responsive overrides */
@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  /* Hero section mobile */
  .home-hero {
    min-height: 65vh;
  }

  .home-hero__content {
    padding: 0 var(--container-padding);
    text-align: center;
  }

  .home-hero__label {
    font-size: 12px;
    letter-spacing: 2px;
    justify-content: center;
  }

  .home-hero h1 {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .home-hero__subtitle {
    font-size: 16px;
    margin-bottom: 24px;
    text-align: center !important;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }

  .hero-metric {
    padding: 12px 8px;
  }

  .hero-metric span {
    font-size: 18px;
  }

  .hero-metric small {
    font-size: 10px;
  }

  .home-hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 200px;
  }

  .tech-orbit {
    display: none;
  }

  .hero-tech-panel {
    display: none;
  }

  .home-hero__scroll {
    display: none;
  }

  .hero-metrics {
    display: none;
  }

  .home-hero__buttons {
    display: none;
  }

  .home-hero__label {
    display: none;
  }

  /* Feature cards mobile */
  .grid--3 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .feature-card {
    padding: var(--space-lg);
  }

  .feature-card__number {
    font-size: 48px;
    top: 0;
    right: 12px;
  }

  .feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .feature-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Stats section mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-item__number {
    font-size: 32px;
  }

  .stat-item__label {
    font-size: 13px;
  }

  /* Two-col layout mobile */
  .two-col,
  .two-col--60-40 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .two-col img {
    width: 100%;
    height: auto;
  }

  /* Contact page font sizes */
  .two-col [style*="font-size:20px;"] {
    font-size: 14px !important;
  }

  /* CTA section mobile */
  .cta-section {
    padding: 60px 0;
  }

  .cta-section h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .cta-section p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  /* Footer mobile */
  .footer-main {
    padding: 40px 0;
  }

  .footer-col {
    margin-bottom: var(--space-lg);
  }

  .footer-col h4 {
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 600;
  }

  .footer-contact-item {
    font-size: 13px;
    white-space: normal;
    line-height: 1.8;
  }

  .footer-qrcodes {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 0;
  }

  .footer-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(50% - 8px);
  }

  .footer-qrcode img {
    width: 100% !important;
    max-width: 110px;
    height: auto !important;
  }

  .footer-qrcode span {
    font-size: 11px;
    text-align: center;
    margin-top: 8px;
    width: 100%;
  }

  /* Scroll top button */
  .scroll-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}

/* Small mobile additional adjustments */
@media (max-width: 480px) {
  .home-hero {
    min-height: 58vh;
  }

  .home-hero h1 {
    font-size: 30px;
  }

  .home-hero__subtitle {
    font-size: 14px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: 200px;
  }

  .hero-metric {
    padding: 10px;
  }

  .stat-item__number {
    font-size: 28px;
  }

  .cta-section {
    padding: 40px 0;
  }

  .cta-section h2 {
    font-size: 22px;
  }

  .cta-section p {
    font-size: 14px;
  }
}

/* Additional mobile optimizations for all pages */
@media (max-width: 768px) {
  /* Cases page */
  .cases-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .filter-bar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .case-item__title {
    font-size: 13px;
    padding: 14px 12px;
  }

  /* Homepage cases - 2x2 grid layout */
  .case-swiper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    overflow: visible !important;
  }

  .case-swiper .swiper-wrapper {
    display: contents;
  }

  .case-swiper .swiper-slide {
    width: auto !important;
    margin-right: 0 !important;
  }

  .case-swiper .case-item {
    aspect-ratio: unset;
    display: flex;
    flex-direction: column;
  }

  .case-swiper .case-item__thumb {
    padding-top: 0;
    height: 120px;
    flex-shrink: 0;
  }

  .case-swiper .case-item__title {
    display: block !important;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #000000;
    background: var(--color-white);
  }

  /* Solution page */
  .product-nav {
    display: none !important;
  }

  .poster-list {
    margin-top: 0;
  }

  .product-poster {
    padding: var(--space-lg);
  }

  .product-poster__title {
    font-size: 20px;
  }

  .product-poster__desc {
    font-size: 14px;
    line-height: 1.7;
  }

  .product-poster__gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-poster__image img {
    height: auto;
  }

  /* News page */
  .news-card {
    flex-direction: column;
    padding: var(--space-md);
  }

  .news-card__image {
    width: 100%;
    height: 180px;
  }

  .news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .news-card__title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .news-card__excerpt {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .news-card__date {
    font-size: 13px;
  }

  /* About page */
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  /* Contact page */
  .contact-info {
    margin-bottom: var(--space-lg);
  }

  .contact-info__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact-qrcodes {
    flex-direction: column;
    gap: var(--space-lg);
    justify-content: center;
  }
}

/* Small mobile additional adjustments */
@media (max-width: 480px) {
  /* Cases page */
  .cases-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .filter-bar {
    justify-content: flex-start;
  }

  .filter-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Solution page */
  .product-poster__gallery {
    grid-template-columns: 1fr;
  }

  .product-poster__title {
    font-size: 18px;
  }

  /* News page */
  .news-card__image {
    height: 150px;
  }

  .news-card__title {
    font-size: 16px;
  }

  /* About page */
  .grid--4 {
    grid-template-columns: 1fr;
  }

  /* Contact page */
  .contact-qrcodes img {
    width: 120px !important;
    height: 120px !important;
  }
}

.image-container-16-9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  margin-top: 16px;
}

.image-container-16-9 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* === About Section Text Truncation === */
.about-text-container {
  position: relative;
  max-height: 180px;
  overflow: hidden;
}

.about-text-container::after {
  content: '...';
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, #FBFCFE 30%);
  padding-left: 20px;
  font-size: 16px;
}

.about-text-container p {
  margin-bottom: var(--space-sm);
  color: var(--color-mid-gray);
  font-size: var(--text-body);
  line-height: 1.7;
}

.about-text-container p:last-child {
  margin-bottom: 0;
}