/* ============================================================
   Home page styles (scoped under body.home-page)
   Target: w1〜w6 — reference site https://datafuture.wixsite.com/website-33
   ============================================================ */

/* ============================================================
   Hero (w1)
   ============================================================ */
.home-page .home-hero {
  position: relative;
  overflow: hidden;
  background: var(--c-bg);
}

.home-page .home-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左侧内容区域：约占首屏宽度的50%（上限880px），整体靠左，右半部留给物流背景视觉 */
.home-page .home-hero .hero-inner {
  position: relative;
  z-index: 2;
  padding: 84px 24px 108px;
}

.home-page .home-hero .hero-content {
  width: 50%;
  max-width: 880px;
  text-align: center;
}

.home-page .home-hero h2 {
  font-size: 46px;
  font-weight: 700;
  color: #ffd45a;
  text-shadow: rgba(0, 0, 0, 0.4) 0 4px 5px;
  max-width: 754px;
  margin: 0 auto 33px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.home-page .home-hero .hero-sub {
  font-size: 24px;
  font-weight: 700;
  color: #003399;
  line-height: 1.15;
  margin-bottom: 61px;
}

/* 下方内容行：视频在左（约60-65%），说明文字在右（约35-40%），顶部对齐 */
.home-page .home-hero .hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 48px;
  text-align: left;
}

.home-page .home-hero .hero-video {
  flex: 0 0 60%;
  width: 60%;
  max-width: 500px;
}

.home-page .home-hero .hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-page .home-hero .hero-text {
  flex: 1 1 40%;
  min-width: 0;
}

.home-page .home-hero .hero-desc {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: rgba(0, 0, 0, 0.35) 0 2px 4px;
  text-align: left;
}

.home-page .home-hero .hero-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.home-page .home-hero .hero-banner {
  width: 314px;
  height: 100px;
  object-fit: contain;
}

.home-page .home-hero .hero-gradient {
  width: 279px;
  height: 80px;
  object-fit: contain;
}

/* Video module */
.home-page .hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  background: #0d1626;
}

.home-page .hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0d1626;
  display: none;
}

.home-page .hero-video-el.is-ready {
  display: block;
}

/* Placeholder shown only while video URL is empty */
.home-page .hero-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  background:
    linear-gradient(rgba(10, 24, 48, 0.55), rgba(10, 24, 48, 0.55)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 14px, transparent 14px 28px);
  text-align: center;
  padding: 16px;
}

.home-page .hero-video-placeholder .hv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  font-size: 22px;
  margin-bottom: 4px;
}

.home-page .hero-video-placeholder p {
  font-size: 20px;
  font-weight: 700;
}

.home-page .hero-video-placeholder small {
  font-size: 14px;
  opacity: 0.85;
}

.home-page .hero-video.is-hidden .hero-video-placeholder {
  display: none;
}

/* ============================================================
   紹介動画（home intro video, hero 直下）
   動画URLは js/home.js の HOME_INTRO_VIDEO_URL で管理
   ============================================================ */
.home-page .home-intro-video {
  padding: 84px 24px 88px;
}

.home-page .home-intro-video__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.home-page .home-intro-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  background: #0d1626;
}

.home-page .home-intro-video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0d1626;
}

.home-page .home-intro-video__player[hidden] {
  display: none;
}

.home-page .home-intro-video__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #ffffff;
  text-align: center;
  padding: 16px;
  background:
    linear-gradient(rgba(10, 24, 48, 0.55), rgba(10, 24, 48, 0.55)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 14px, transparent 14px 28px);
}

.home-page .home-intro-video__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.home-page .home-intro-video__play::after {
  content: '';
  margin-left: 6px;
  border-left: 22px solid rgba(255, 255, 255, 0.95);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.home-page .home-intro-video__placeholder p {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.home-page .home-intro-video__frame.is-ready .home-intro-video__placeholder {
  display: none;
}

/* ============================================================
   Warehouse strip marquee (w1)
   ============================================================ */
.home-page .strip {
  position: relative;
  padding: 17px 0;
  overflow: hidden;
  background: var(--c-white);
}

.home-page .strip-track {
  display: flex;
  gap: 5px;
  width: max-content;
  animation: home-strip-scroll 40s linear infinite;
}

.home-page .strip:hover .strip-track {
  animation-play-state: paused;
}

.home-page .strip-track img {
  width: 212px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes home-strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Services tabs (w2)
   ============================================================ */
.home-page .services {
  padding: 60px 24px 88px;
  background: var(--c-white);
}

/* Tab nav — horizontally centered */
.home-page .services-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-inline: auto;
  max-width: 1160px;
  padding-bottom: 40px;
}

.home-page .services-tab {
  flex-shrink: 0;
  height: 72px;
  padding: 0 30px;
  background: var(--c-tab);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-black);
  box-shadow: rgba(89, 89, 89, 0.3) 0 2px 8px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.home-page .services-tab:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.home-page .services-tab.is-active {
  background: var(--c-white);
  color: var(--c-topbar);
  box-shadow: 0 4px 18px rgba(0, 58, 150, 0.28);
}

/* Panel — image with text overlay (matches reference) */
.home-page .services-panels {
  max-width: 1203px;
  margin: 0 auto;
}

.home-page .services-panel {
  position: relative;
  display: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
}

.home-page .services-panel.is-active {
  display: block;
}

.home-page .services-panel .panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-page .services-panel .panel-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 560px;
  padding: 64px 56px 64px 48px;
  max-width: 660px;
  background: linear-gradient(90deg, rgba(6, 16, 38, 0.82) 0%, rgba(6, 16, 38, 0.55) 62%, rgba(6, 16, 38, 0) 100%);
}

.home-page .services-panel .panel-overlay h3 {
  font-size: 64px;
  font-weight: 700;
  font-style: italic;
  color: #ffcc00;
  line-height: 1.15;
  margin-bottom: 28px;
  text-shadow: rgba(0, 0, 0, 0.4) 0 4px 5px;
}

.home-page .services-panel .panel-overlay p {
  font-size: 20px;
  line-height: 1.85;
  color: #ffffff;
}

.home-page .services-panel .panel-overlay p + p {
  margin-top: 20px;
}

/* ============================================================
   Benefits (w3)
   ============================================================ */
.home-page .benefits {
  background: var(--c-white);
  padding: 70px 24px 96px;
}

.home-page .benefits h2 {
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 46px;
}

.home-page .benefit-rule {
  width: 240px;
  height: 2px;
  background: var(--c-topbar);
  margin: 0 auto 52px;
  opacity: 0.85;
}

.home-page .benefit-cards {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}

.home-page .benefit-card {
  width: 202px;
  background: var(--c-white);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  padding: 10px 25px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.home-page .benefit-card:hover {
  transform: scale(0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.home-page .benefit-card img {
  width: 151px;
  height: 147px;
  object-fit: cover;
  margin: 0 auto;
}

/* ============================================================
   Benefit slider (w3/w4)
   ============================================================ */
.home-page .slider-section {
  background: var(--c-white);
  padding: 0 24px 96px;
}

.home-page .slider {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 56px;
}

.home-page .slider-viewport {
  overflow: hidden;
}

.home-page .slider-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.home-page .slider-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.home-page .slide-card {
  display: block;
}

.home-page .slide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 32px;
}

.home-page .slide-head {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.home-page .slide-circle {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 58, 150, 0.28);
  background: radial-gradient(circle at 30% 30%, rgba(0, 58, 150, 0.10), rgba(0, 58, 150, 0.03) 60%);
}

.home-page .slide-card h3 {
  font-size: 32px;
  font-weight: 700;
  color: #bada55;
  line-height: 1.1;
  margin: 0;
  white-space: nowrap;
}

.home-page .slide-card p {
  font-size: 24px;
  line-height: 1.85;
  max-width: 640px;
  margin-left: auto;
}

.home-page .slide-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1179 / 595;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

/* Arrows */
.home-page .slider-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  font-size: 30px;
  line-height: 1;
  color: var(--c-topbar);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.home-page .slider-arrow:hover {
  background: var(--c-topbar);
  color: #fff;
}

.home-page .slider-prev {
  left: 0;
}
.home-page .slider-next {
  right: 0;
}

.home-page .slider-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
}

.home-page .slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.home-page .slider-dot.is-active {
  background: var(--c-topbar);
  transform: scale(1.2);
}

/* ============================================================
   Warehouse gallery (w4)
   ============================================================ */
.home-page .gallery-section {
  padding: 90px 24px 100px;
}

.home-page .gallery-section h2 {
  margin-bottom: 26px;
}

.home-page .gallery-rule {
  width: 240px;
  height: 2px;
  background: var(--c-topbar);
  margin: 0 auto 40px;
  opacity: 0.85;
}

.home-page .gallery-main {
  max-width: 1231px;
  margin: 0 auto 36px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1231 / 423;
  border-radius: 4px;
}

.home-page .gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.home-page .gallery-main img.is-active {
  opacity: 1;
}

.home-page .gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 1231px;
  margin: 0 auto;
}

.home-page .gallery-thumbs {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1 1 auto;
  min-width: 0;
  padding: 6px 2px 10px;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-page .gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.home-page .gallery-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0, 51, 153, 0.45);
  background: #ffffff;
  color: var(--c-topbar);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.home-page .gallery-arrow:hover:not(:disabled) {
  background: var(--c-topbar);
  color: #ffffff;
}

.home-page .gallery-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.home-page .gallery-thumb {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: opacity var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.home-page .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .gallery-thumb:hover,
.home-page .gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--c-topbar);
}

/* ============================================================
   Warehouse intro videos (倉庫の写真 section)
   ============================================================ */
.home-page .warehouse-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1231px;
  margin: 48px auto 0;
}

.home-page .warehouse-video-card {
  min-width: 0;
}

.home-page .warehouse-video-box {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  background: #0d1626;
}

.home-page .warehouse-video-box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.home-page .warehouse-video-box.is-ready video {
  display: block;
}

.home-page .warehouse-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  text-align: center;
  background:
    linear-gradient(rgba(10, 24, 48, 0.55), rgba(10, 24, 48, 0.55)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 14px, transparent 14px 28px);
}

.home-page .warehouse-video-placeholder .wv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.home-page .warehouse-video-placeholder .wv-icon::after {
  content: '';
  margin-left: 4px;
  border-left: 18px solid rgba(255, 255, 255, 0.95);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.home-page .warehouse-video-placeholder p {
  font-size: 18px;
  font-weight: 700;
}

.home-page .warehouse-video-box.is-ready .warehouse-video-placeholder {
  display: none;
}

@media (max-width: 1024px) {
  .home-page .warehouse-video-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .home-page .warehouse-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .home-page .warehouse-video-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .home-page .warehouse-video-grid {
    grid-template-columns: 1fr;
  }
  .home-page .warehouse-video-card:last-child {
    grid-column: auto;
  }
}

/* ============================================================
   Partners (w5/w6)
   ============================================================ */
.home-page .partners {
  padding: 90px 24px 110px;
}

.home-page .partners h2 {
  margin-bottom: 40px;
}

.home-page .partners h3 {
  font-size: 27px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}

.home-page .partner-logos {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.home-page .partner-logos:last-child {
  margin-bottom: 0;
}

.home-page .partner-logos img {
  width: 189px;
  height: 189px;
  object-fit: contain;
  background: var(--c-white);
}

/* ============================================================
   Responsive (home only) — no horizontal scroll at 320px
   ============================================================ */

/* ---------- <= 1280 ---------- */
@media (max-width: 1280px) {
  .home-page .home-hero .hero-row {
    gap: 36px;
  }
  .home-page .services-panel .panel-overlay {
    padding: 52px 44px 52px 40px;
  }
  .home-page .services-panel .panel-overlay h3 {
    font-size: 56px;
  }
  .home-page .benefit-cards {
    gap: 70px;
  }
}

/* ---------- <= 1024 ---------- */
@media (max-width: 1024px) {
  .home-page .home-hero .hero-inner {
    padding: 76px 24px 84px;
  }
  .home-page .home-hero h2 {
    font-size: 40px;
  }
  .home-page .home-hero .hero-row {
    gap: 28px;
  }
  .home-page .home-hero .hero-video {
    max-width: 400px;
  }
  .home-page .home-hero .hero-desc {
    font-size: 22px;
  }
  .home-page .services-panel .panel-overlay {
    min-height: 480px;
    padding: 44px 36px 44px 32px;
  }
  .home-page .services-panel .panel-overlay h3 {
    font-size: 48px;
  }
  .home-page .services-panel .panel-overlay p {
    font-size: 18px;
  }
  .home-page .slider {
    padding: 0 50px;
  }
}

/* ---------- <= 900 (hamburger menu switch) ---------- */
@media (max-width: 900px) {
  .home-page .home-hero .hero-inner {
    padding: 60px 20px 48px;
  }
  .home-page .home-hero h2 {
    font-size: 34px;
  }
  .home-page .home-hero .hero-sub {
    font-size: 20px;
    margin-bottom: 32px;
  }
  /* 平板/手机：单列上下布局，阅读顺序 主标题 → 副标题 → 视频 → 説明文字 */
  .home-page .home-hero .hero-content {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
  .home-page .home-hero .hero-row {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    max-width: 640px;
  }
  .home-page .home-hero .hero-video {
    flex: 0 0 auto;
    width: 100%;
    max-width: 640px;
  }
  .home-page .home-hero .hero-text {
    flex: 0 0 auto;
    width: 100%;
    max-width: 640px;
  }
  .home-page .services-panel .panel-overlay {
    min-height: 420px;
  }
  .home-page .benefit-cards {
    gap: 44px;
  }
}

/* ---------- <= 768 ---------- */
@media (max-width: 768px) {
  .home-page .home-hero .hero-inner {
    padding: 48px 20px 40px;
  }
  .home-page .home-hero h2 {
    font-size: 30px;
  }
  .home-page .home-hero .hero-sub {
    font-size: 19px;
  }
  .home-page .home-hero .hero-desc {
    font-size: 19px;
  }
  .home-page .home-hero .hero-banner {
    width: 260px;
    height: 83px;
  }
  .home-page .home-hero .hero-gradient {
    width: 220px;
    height: 63px;
  }
  .home-page .services-tabs {
    gap: 12px;
  }
  .home-page .services-tab {
    height: 60px;
    padding: 0 22px;
    font-size: 16px;
  }
  .home-page .services-panel .panel-overlay {
    min-height: 380px;
    padding: 34px 28px;
    max-width: 100%;
    background: linear-gradient(180deg, rgba(6, 16, 38, 0.88) 0%, rgba(6, 16, 38, 0.7) 100%);
  }
  .home-page .services-panel .panel-overlay h3 {
    font-size: 42px;
  }
  .home-page .benefits h2 {
    font-size: 28px;
  }
  .home-page .benefit-cards {
    gap: 30px;
  }
  .home-page .benefit-card {
    width: 170px;
    padding: 8px 18px;
  }
  .home-page .benefit-card img {
    width: 130px;
    height: 126px;
  }
  .home-page .slide-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
  }
  .home-page .slide-card p {
    font-size: 20px;
    max-width: 100%;
    margin-left: 0;
  }
  .home-page .slider {
    padding: 0 44px;
  }
  .home-page .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
  .home-page .home-intro-video {
    padding: 56px 20px 60px;
  }
  .home-page .home-intro-video__play {
    width: 60px;
    height: 60px;
  }
  .home-page .home-intro-video__play::after {
    margin-left: 5px;
    border-left: 18px solid rgba(255, 255, 255, 0.95);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
  }
  .home-page .home-intro-video__placeholder p {
    font-size: 19px;
  }
  .home-page .gallery-arrow {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  .home-page .gallery-section,
  .home-page .partners {
    padding: 70px 20px 80px;
  }
}

/* ---------- <= 480 ---------- */
@media (max-width: 480px) {
  .home-page .gallery-nav {
    gap: 6px;
  }
  .home-page .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .home-page .home-hero h2 {
    font-size: 26px;
  }
  .home-page .home-hero .hero-sub {
    font-size: 18px;
  }
  .home-page .home-hero .hero-desc {
    font-size: 18px;
    line-height: 1.8;
  }
  .home-page .home-hero .hero-badges {
    gap: 12px;
    margin-top: 20px;
  }
  .home-page .services {
    padding: 48px 16px 64px;
  }
  .home-page .services-tabs {
    gap: 10px;
    padding-bottom: 28px;
  }
  .home-page .services-tab {
    height: 52px;
    padding: 0 16px;
    font-size: 15px;
  }
  .home-page .services-panel .panel-overlay {
    min-height: 320px;
    padding: 28px 22px;
  }
  .home-page .services-panel .panel-overlay h3 {
    font-size: 34px;
    margin-bottom: 18px;
  }
  .home-page .services-panel .panel-overlay p {
    font-size: 17px;
    line-height: 1.8;
  }
  .home-page .benefits {
    padding: 56px 16px 72px;
  }
  .home-page .benefits h2 {
    font-size: 24px;
  }
  .home-page .benefit-cards {
    gap: 24px;
  }
  .home-page .benefit-card {
    width: 152px;
  }
  .home-page .benefit-card img {
    width: 118px;
    height: 114px;
  }
  .home-page .slider-section {
    padding: 0 16px 72px;
  }
  .home-page .slide-card h3 {
    font-size: 24px;
  }
  .home-page .slide-card p {
    font-size: 17px;
  }
  .home-page .slider {
    padding: 0 36px;
  }
  .home-page .home-intro-video {
    padding: 44px 16px 48px;
  }
  .home-page .slide-circle {
    width: 56px;
    height: 56px;
  }
  .home-page .partner-logos img {
    width: 150px;
    height: 150px;
  }
}

/* ---------- <= 375 ---------- */
@media (max-width: 375px) {
  .home-page .home-hero h2 {
    font-size: 24px;
  }
  .home-page .home-hero .hero-sub {
    font-size: 17px;
  }
  .home-page .home-hero .hero-banner {
    width: 220px;
    height: 70px;
  }
  .home-page .home-hero .hero-gradient {
    width: 190px;
    height: 55px;
  }
  .home-page .services-tab {
    padding: 0 13px;
    font-size: 14px;
  }
  .home-page .benefit-card {
    width: 140px;
  }
  .home-page .slider-arrow {
    width: 34px;
    height: 34px;
  }
  .home-page .partner-logos img {
    width: 132px;
    height: 132px;
  }
}

/* ---------- <= 320 ---------- */
@media (max-width: 320px) {
  .home-page .home-hero .hero-inner {
    padding: 40px 14px 32px;
  }
  .home-page .home-hero h2 {
    font-size: 22px;
  }
  .home-page .home-hero .hero-desc {
    font-size: 17px;
  }
  .home-page .services-tabs {
    padding: 0 0 24px;
  }
  .home-page .services-panel .panel-overlay {
    padding: 24px 18px;
  }
  .home-page .services-panel .panel-overlay h3 {
    font-size: 30px;
  }
  .home-page .gallery-section,
  .home-page .partners {
    padding: 56px 14px 64px;
  }
  .home-page .home-intro-video {
    padding: 40px 14px 44px;
  }
}

/* ---------- Landscape phones (short height) ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .home-page .home-hero {
    min-height: 440px;
  }
  .home-page .home-hero .hero-inner {
    padding: 40px 24px 36px;
  }
}

