/*
 * V4 responsive scale pass.
 * Keeps body copy readable while limiting display type, media height and
 * vertical spacing on the CSS viewports used by typical desktop browsers.
 */

:root {
  --v4-content: min(1240px, calc(100% - 64px));
  --v4-section-y: 92px;
}

.inner-header .inner-brand { width: max-content; }
.inner-header .inner-brand img { width: 110px; height: 57px; object-fit: contain; }
@media (max-width: 620px) {
  .inner-header .inner-brand img { width: 96px; height: 50px; }
}

/* Contact map: office first, transport links secondary. */
.contact-map-section { padding-block: 82px 92px; }
.contact-map-layout.contact-map-focused {
  width: min(1400px, calc(100% - 64px));
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 0 auto;
}
.contact-map-focused .contact-map-copy {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: 72px;
  align-items: end;
}
.contact-map-focused .contact-map-copy h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 600;
}
.contact-map-focused .contact-map-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.contact-google-map-focused {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #e8edf0;
  box-shadow: 0 14px 38px rgba(27,53,72,.10);
}
.contact-google-map-focused iframe { width: 100%; min-height: 570px; border: 0; }
.map-office-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  gap: 4px;
  max-width: 330px;
  padding: 14px 17px;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  border-left: 4px solid var(--v);
  box-shadow: 0 8px 24px rgba(27,53,72,.14);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.map-office-label strong { font-size: 15px; font-weight: 700; }
.map-office-label small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.map-office-marker {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 44px;
  transform: translate(-50%, -100%);
  pointer-events: none;
}
.map-office-marker i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--v);
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 7px 18px rgba(0,68,102,.35);
  transform: translateX(-50%) rotate(-45deg);
  animation: office-pin-float 2s ease-in-out infinite;
}
.map-office-marker i:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.map-office-marker span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 25px;
  height: 9px;
  border: 2px solid rgba(0,90,133,.65);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: office-pin-pulse 2s ease-out infinite;
}
.transport-access { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.transport-access a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 18px 22px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
}
.transport-access a:hover { background: rgba(0,90,133,.035); }
.transport-access svg { width: 25px; height: 25px; color: var(--v); stroke-width: 1.8; }
.transport-access span { display: grid; gap: 4px; }
.transport-access small { color: var(--v); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.transport-access strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.transport-access b { color: var(--muted); font-size: 12px; font-weight: 600; }
@keyframes office-pin-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes office-pin-pulse { 0% { opacity: .75; scale: .55; } 75%,100% { opacity: 0; scale: 1.7; } }

@media (max-width: 700px) {
  .contact-map-section { padding-block: 62px 70px; }
  .contact-map-layout.contact-map-focused { width: calc(100% - 28px); gap: 24px; }
  .contact-map-focused .contact-map-copy { grid-template-columns: 1fr; gap: 14px; }
  .contact-map-focused .contact-map-copy h2 { font-size: 31px; }
  .contact-google-map-focused,
  .contact-google-map-focused iframe { min-height: 460px; }
  .map-office-label { top: 10px; left: 10px; max-width: calc(100% - 20px); }
  .transport-access { grid-template-columns: 1fr; }
  .transport-access a { grid-template-columns: 34px 1fr; min-height: 82px; padding: 16px; }
  .transport-access b { display: none; }
  .map-office-marker { top: 52%; }
}

@media (prefers-reduced-motion: reduce) {
  .map-office-marker i,
  .map-office-marker span { animation: none; }
}

/* Shared inner-page rhythm */
body:not(.home) { font-size: 16px; }
.page-banner { height: 250px; }
.page-banner h1 { font-size: 34px; }
.page-banner p { font-size: 15px; }
.page-tabs { min-height: 54px; }
.page-tabs a { padding-inline: 22px; font-size: 13px; }
.mini-title { font-size: 11px; }
.compact-section { width: var(--v4-content); padding-block: var(--v4-section-y); }
.compact-section h2,
.soft-section h2 { font-size: clamp(32px, 3vw, 44px); }
.compact-section p { font-size: 16px; line-height: 1.75; }
.catalog-layout,
.detail-shell,
.news-layout { margin-top: 64px; margin-bottom: 96px; }
.news-layout .article-list img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.news-layout .article-list article:first-child img { object-position: center 40%; }
.catalog-toolbar h2 { font-size: 32px; }
.product-card-image { height: 260px; }
.simple-product h3 { min-height: 48px; font-size: 17px; }
.detail-image { height: 450px; }
.detailed-introduction { margin-top: 70px; padding-top: 42px; }
.detailed-introduction h2 { font-size: 32px; }

/* About, Contact and News should feel editorial rather than oversized. */
.profile-opening h2,
.culture-heading h2,
.contact-heading h2,
.contact-map-copy h2 { font-size: clamp(36px, 3.4vw, 50px); }
.headquarters-section { padding-block: 96px 104px; }
.headquarters-shell { width: var(--v4-content); }
.headquarters-heading { gap: clamp(48px, 6vw, 88px); margin-bottom: 48px; }
.headquarters-heading h2 { font-size: clamp(38px, 3.7vw, 54px); }
.headquarters-main { height: clamp(430px, 41vw, 580px); }
.headquarters-detail { height: clamp(310px, 29vw, 410px); margin-bottom: -38px !important; }
.about-stats { margin-top: 48px; }
.about-stats b { min-height: 136px; padding: 24px 20px; }
.about-stats [data-stat-value] { font-size: 34px; }
.contact-main { padding-block: 76px 86px; background: #f1f1f1; }
.contact-shell { width: min(1400px, calc(100% - 64px)); }
.contact-main-grid-compact {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 76px 82px;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}
.contact-main-grid-compact .contact-information {
  display: block;
  padding: 0 60px 0 0;
}
.contact-panel-heading { margin-bottom: 32px; }
.contact-panel-heading h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 650;
}
.contact-panel-heading p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .03em;
}
.contact-main-grid-compact .contact-detail-list { border-top: 1px solid var(--line); }
.contact-main-grid-compact .contact-detail-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 94px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-main-grid-compact .contact-detail-row svg {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  color: #626d74;
  stroke-width: 2;
}
.contact-main-grid-compact .contact-detail-row span {
  display: block;
  padding: 0;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0;
}
.contact-main-grid-compact .contact-detail-row strong,
.contact-main-grid-compact .contact-detail-row address {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-style: normal;
  font-weight: 500;
}
.contact-main-grid-compact .contact-detail-row strong { color: var(--v); font-size: 18px; font-weight: 650; }
.contact-main-grid-compact .contact-form-large {
  padding: 0 0 0 60px;
  background: #fff;
  border-left: 1px solid var(--line);
}
.contact-main-grid-compact .form-heading h3 { margin: 0 0 12px; font-size: 34px; font-weight: 650; }
.contact-main-grid-compact .form-heading p { max-width: 560px; font-size: 14px; line-height: 1.55; }
.contact-main-grid-compact .contact-fields-boxed { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.contact-main-grid-compact .contact-fields-boxed label { display: block; }
.contact-main-grid-compact .contact-fields-boxed label>span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.contact-main-grid-compact .contact-fields input,
.contact-main-grid-compact .contact-fields textarea {
  min-height: 56px;
  padding: 15px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d4dadd;
  font-size: 14px;
  font-weight: 400;
}
.contact-main-grid-compact .contact-fields textarea { min-height: 116px; resize: vertical; }
.contact-main-grid-compact .contact-fields input:focus,
.contact-main-grid-compact .contact-fields textarea:focus { border-color: var(--v); box-shadow: 0 0 0 2px rgba(0,90,133,.08); }
.contact-main-grid-compact .contact-form-large>button {
  min-width: 184px;
  min-height: 52px;
  justify-content: center;
  margin-top: 20px;
  padding: 13px 24px;
  color: #fff;
  background: var(--v);
  border-radius: 0;
  font-size: 14px;
}
.contact-map-section { padding-block: 92px; }
.contact-google-map,
.contact-google-map iframe { min-height: 540px; }
.article-list h2 { font-size: 20px; }

/* OEM / ODM: compact, complete views at 100% browser zoom. */
.oem-shell { width: var(--v4-content); }
.oem-intro-section { padding-block: 86px 48px; }
.oem-intro-layout {
  grid-template-columns: minmax(360px, .86fr) minmax(0, 1.14fr);
  gap: clamp(48px, 5vw, 76px);
}
.oem-intro-copy h2 { margin: 13px 0 24px; }
.oem-intro-copy h2 strong { width: 700px; max-width: none; font-size: 48px; line-height: 1.1; font-weight: 500; white-space: nowrap; }
.oem-intro-copy h2 span { max-width: 480px; margin-top: 14px; font-size: clamp(27px, 2.35vw, 33px); line-height: 1.16; }
.oem-intro-copy>.oem-intro-lead { margin-bottom: 14px; color: var(--muted); font-size: 17px; line-height: 1.72; }
.oem-intro-copy>p { color: var(--muted); font-size: 17px; line-height: 1.72; }
.oem-intro-copy .oem-hero-actions { margin-top: 27px; }
.oem-hero-actions a { min-height: 46px; padding-inline: 19px; font-size: 13px; }
.oem-intro-visual img { aspect-ratio: 1.55 / 1; object-fit: cover; }
.oem-intro-visual figcaption { padding: 13px 16px; font-size: 11px; }

.oem-process,
.oem-production,
.oem-quality { padding-block: 92px; }
.oem-section-heading { gap: clamp(42px, 6vw, 88px); margin-bottom: 46px; }
.oem-section-heading h2 { max-width: 760px; font-size: clamp(36px, 3.25vw, 48px); line-height: 1.1; }
.oem-section-heading>p { font-size: 16px; line-height: 1.7; }
.oem-process-figure {
  display: grid;
  place-items: center;
  padding: 0;
  background: #f4f8fa;
}
.oem-process-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.oem-process-text { margin-top: 40px; }
.oem-process-text li { min-height: 160px; grid-template-columns: 42px 1fr; gap: 16px; padding: 24px 22px; }
.oem-process-text li>span { font-size: 14px; }
.oem-process-text h3 { margin-bottom: 10px; font-size: 20px; }
.oem-process-text p { font-size: 14px; line-height: 1.6; }
.oem-production-visual img { max-height: 500px; object-fit: cover; }
.oem-capability-rail article { min-height: 174px; padding: 27px 24px; }
.oem-capability-rail h3 { margin: 27px 0 10px; font-size: 20px; }
.oem-capability-rail p { font-size: 14px; }
.oem-quality-slide { grid-template-rows: auto 160px; }
.oem-quality-slide>img { aspect-ratio: 3 / 1; }
.oem-quality-slide figcaption { grid-template-columns: 82px 1fr; gap: 24px; padding: 23px 145px 23px 30px; }
.oem-quality-slide h3 { font-size: 24px; }
.oem-quality-slide p { font-size: 15px; }
.oem-quality-controls { right: 28px; bottom: 32px; }
.oem-quality-controls button { width: 42px; height: 42px; }
.oem-quality-footer { padding-top: 34px; }
.oem-quality-footer p { font-size: 16px; }
.oem-quality-footer a { min-height: 48px; font-size: 13px; }

/* Homepage: preserve impact, reduce oversized section screens. */
body:has(.site-header) .section { padding-block: 96px; }
body:has(.site-header) .section h2,
body:has(.site-header) .quality-section h2,
body:has(.site-header) .global-section h2 { font-size: clamp(34px, 3.4vw, 50px); }
.business .section-head { margin-bottom: 44px; }
.business-card h3 { font-size: clamp(22px, 1.8vw, 28px); }
.product-showcase .section-head h2 { font-size: clamp(40px, 3.8vw, 54px); }
.product-grid,
.product-card { min-height: 520px; }
.product-card-image,
.product-card:first-child .product-card-image { height: 340px; }
.product-card-body { min-height: 180px; padding-top: 25px; }
.product-card h3,
.product-card:first-child h3 { font-size: clamp(19px, 1.5vw, 23px); }
.product-card:nth-child(2) .product-card-image { padding-inline: 18px; }
.product-card:nth-child(2) .product-card-image img {
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  transform: translateY(-12px) scale(1.02);
}
.product-card:nth-child(2):hover .product-card-image img { transform: translateY(-20px) scale(1.045); }
#productGrid .product-card-image { position:relative;place-items:initial;overflow:hidden }
#productGrid .product-card-image .care-image { position:absolute;left:50%;bottom:18px;width:auto;max-width:none;object-fit:contain;object-position:center bottom;mix-blend-mode:normal;transform:translateX(-50%) }
#productGrid .product-card-image .care-baby,#productGrid .product-card-image .care-adult { height:235px }
#productGrid .product-card-image .care-baby { height:370px;bottom:-65px }
#productGrid .product-card-image .care-feminine { height:170px }
#productGrid .product-card-image .care-paper { height:205px }
#productGrid .product-card-image .care-pet { height:260px;bottom:10px;mix-blend-mode:normal }
#productGrid .product-card:hover .care-image { transform:translateX(-50%) translateY(-8px) scale(1.04) }
#productGrid .product-card-image .material-frontal { position:absolute;left:50%;bottom:18px;width:auto;height:238px;max-width:96%;object-fit:contain;object-position:center bottom;mix-blend-mode:normal;transform:translateX(-50%);filter:drop-shadow(0 18px 22px rgba(26,43,56,.1)) }
#productGrid .product-card:hover .material-frontal { transform:translateX(-50%) translateY(-8px) scale(1.04) }

/* Machinery photos share one fixed frame regardless of their source aspect ratio. */
#productGrid.product-grid--equipment .product-card-image,
#productGrid.product-grid--equipment .product-card:first-child .product-card-image {
  height:340px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:0 26px 20px;
}
#productGrid.product-grid--equipment .product-card-image img {
  width:100%;
  height:auto;
  aspect-ratio:4 / 3;
  object-fit:cover;
  object-position:center;
  border-radius:8px;
  filter:drop-shadow(0 16px 22px rgba(26,43,56,.10));
  transform:none;
}
#productGrid.product-grid--equipment .product-card:hover .product-card-image img {
  transform:translateY(-6px) scale(1.015);
}
#productGrid.product-grid--equipment .product-card:nth-child(-n+3) .product-card-image img {
  transform:translateY(-18px) scale(1.12);
}
#productGrid.product-grid--equipment .product-card:nth-child(-n+3):hover .product-card-image img {
  transform:translateY(-24px) scale(1.14);
}
#productGrid.product-grid--equipment .product-card:nth-child(4) .product-card-image img {
  clip-path:inset(18px 0 0 0 round 8px);
}
@media(max-width:860px){
  #productGrid.product-grid--equipment .product-card-image,
  #productGrid.product-grid--equipment .product-card:first-child .product-card-image {height:300px;padding:0 20px 18px}
  #productGrid.product-grid--equipment .product-card:nth-child(4) .product-card-image img {clip-path:inset(14px 0 0 0 round 8px)}
}
@media(max-width:560px){
  #productGrid.product-grid--equipment .product-card-image,
  #productGrid.product-grid--equipment .product-card:first-child .product-card-image {height:290px;padding:0 18px 18px}
  #productGrid.product-grid--equipment .product-card:nth-child(4) .product-card-image img {clip-path:inset(12px 0 0 0 round 8px)}
}
.solutions,
.solution-image { min-height: 780px; }
.solution-content { padding-block: 70px; padding-inline: clamp(48px, 6vw, 82px); }
.solution-content>p:not(.section-kicker) { font-size: 16px; }
.capability-layout { min-height: 510px; }
.about { padding-block: 96px; }
.about-grid { gap: 68px; }
.video-panel { height: 440px; }
.quality-section,
.global-section { padding-block: 88px; }
.world-map,
.global-map-image { min-height: 400px; }
.news-intro h2 { font-size: clamp(38px, 4vw, 52px); }

@media (max-width: 1180px) {
  :root { --v4-content: calc(100% - 48px); --v4-section-y: 78px; }
  .page-banner { height: 224px; }
  .oem-intro-section,
  .oem-process,
  .oem-production,
  .oem-quality { padding-block: 76px; }
  .oem-section-heading h2 { font-size: 40px; }
  .oem-process-figure { padding: 0; }
  .oem-process-figure img { width: 100%; height: auto; }
  .oem-process-text li { min-height: 150px; padding: 21px 18px; }
  .oem-process-text h3 { font-size: 18px; }
  .oem-process-text p { font-size: 13px; }
  body:has(.site-header) .section { padding-block: 80px; }
  .solutions,
  .solution-image { min-height: 720px; }
  .contact-main-grid-compact { padding: 58px 52px; }
  .contact-main-grid-compact .contact-information { padding-right: 42px; }
  .contact-main-grid-compact .contact-form-large { padding-left: 42px; }
}

@media (max-width: 700px) {
  :root { --v4-content: calc(100% - 36px); --v4-section-y: 66px; }
  .page-banner { height: 190px; }
  .page-banner h1 { font-size: 28px; }
  .page-banner p { font-size: 13px; }
  .page-tabs { min-height: 50px; }
  .page-tabs a { padding-inline: 16px; font-size: 12px; }
  .compact-section h2,
  .soft-section h2,
  .profile-opening h2,
  .culture-heading h2,
  .contact-heading h2,
  .contact-map-copy h2 { font-size: 34px; }
  .oem-intro-section { padding-block: 64px 64px; }
  .oem-intro-layout { gap: 30px; }
  .oem-intro-copy h2 strong { width: auto; max-width: none; font-size: 32px; line-height: 1.1; white-space: normal; }
  .oem-intro-copy h2 span { font-size: 25px; }
  .oem-intro-copy>.oem-intro-lead { font-size: 16px; line-height: 1.68; }
  .oem-intro-copy>p { font-size: 16px; line-height: 1.68; }
  .oem-intro-visual img { aspect-ratio: 1.45 / 1; object-fit: cover; }
  .oem-process,
  .oem-production,
  .oem-quality { padding-block: 68px; }
  .oem-section-heading { margin-bottom: 34px; }
  .oem-section-heading h2 { font-size: 32px; }
  .oem-process-figure {
    display: block;
    padding: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  .oem-process-figure img { width: 820px; height: auto; max-width: none; }
  .oem-process-text { margin-top: 30px; }
  .oem-process-text li { min-height: 0; }
  .oem-quality-slide>img { aspect-ratio: 1.55 / 1; }
  .oem-quality-slide { grid-template-rows: auto auto; }
  .contact-main { padding-block: 54px 62px; }
  .contact-shell { width: calc(100% - 28px); }
  .contact-main-grid-compact { grid-template-columns: 1fr; padding: 0; }
  .contact-main-grid-compact .contact-information,
  .contact-main-grid-compact .contact-form-large { padding: 28px 22px; }
  .contact-main-grid-compact .contact-form-large { border-top: 1px solid var(--line); border-left: 0; }
  .contact-panel-heading h2 { font-size: 28px; }
  .contact-main-grid-compact .contact-detail-row { grid-template-columns: 30px 1fr; gap: 13px; padding: 15px 0; }
  .contact-main-grid-compact .contact-fields { grid-template-columns: 1fr; gap: 17px; margin-top: 24px; }
  .contact-main-grid-compact .contact-fields .message-field { grid-column: auto; }
  .contact-google-map,
  .contact-google-map iframe { min-height: 440px; }
  body:has(.site-header) .section { padding-block: 68px; }
  body:has(.site-header) .section h2,
  body:has(.site-header) .quality-section h2,
  body:has(.site-header) .global-section h2 { font-size: 34px; }
  .product-showcase .section-head h2 { font-size: 38px; }
  .product-grid,
  .product-card { min-height: 0; }
  .product-card-image,
  .product-card:first-child .product-card-image { height: 300px; }
  #productGrid .product-card-image .care-image { bottom: 16px; }
  #productGrid .product-card-image .care-pet { height:220px;bottom:10px }
  .solutions,
  .solution-image { min-height: 620px; }
  .video-panel { height: 390px; }
}
