:root {
  --site-blue: #1c3a82;
  --site-navy: #132b62;
  --site-red: #e60012;
  --site-ink: #17263e;
  --site-muted: #526078;
  --site-line: #dfe6f0;
  --site-surface: #f4f7fb;
  --site-radius: 14px;
}

body { overflow-wrap: break-word; }
/* Marine attendance network: one large point map with a port directory below. */
.service-network-heading { margin: 0; text-align: left; }
.service-network-rule { width: 48px; height: 6px; margin: 0 0 16px; background: var(--site-red); }
.service-network-heading h3 { margin: 0; color: var(--site-blue); font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; line-height: 1.4; letter-spacing: -.02em; }
.service-network-heading p { max-width: 960px; margin: 20px 0 0; color: #63758b; font-size: 15px; line-height: 1.9; }
.service-region { background: #fff; }
.service-region-visual { position: relative; min-width: 0; padding-bottom: 52px; margin-top: 20px; }
.service-region-visual::before { content: ''; position: absolute; inset: 10% 16%; background: radial-gradient(ellipse, #eff7fb70, transparent 70%); pointer-events: none; }
.service-region-viewport { width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #bbd9e9 transparent; }
.service-region-stage { position: relative; min-width: 1050px; height: 600px; }
.service-region .yangtze-delta-map { position: absolute; inset: 0; }
.service-network-effects { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.service-network-north { position: absolute; right: 18px; top: 10px; color: #9ab6c9; font-size: 11px; pointer-events: none; }
.network-breath-node { color: #169ecc; }
.network-breath-node[data-active="true"] { color: #e60012; }
.network-breath-light { fill: currentColor; opacity: .12; filter: drop-shadow(0 0 3px currentColor); transform-box: fill-box; transform-origin: center; }
.network-breath-ring, .network-breath-echo { fill: none; stroke: currentColor; stroke-width: .9; opacity: .16; transform-box: fill-box; transform-origin: center; }
.network-breath-node[data-active="false"] .network-breath-light { r: 2.5px; filter: drop-shadow(0 0 1px currentColor); }
.network-breath-node[data-active="false"] :is(.network-breath-ring, .network-breath-echo) { r: 3px; }
#page-about.page-active #service-network[data-network-visible="true"] .network-breath-light { animation: network-light-breathe 2.8s ease-in-out infinite; animation-delay: var(--pulse-delay); }
#page-about.page-active #service-network[data-network-visible="true"] :is(.network-breath-ring, .network-breath-echo) { animation: network-ring-breathe 3.2s ease-out infinite; animation-delay: var(--pulse-delay); }
#page-about.page-active #service-network[data-network-visible="true"] .network-breath-echo { animation-delay: calc(var(--pulse-delay) - 1.6s); }
html.motion-paused :is(.network-breath-light, .network-breath-ring, .network-breath-echo) { animation-play-state: paused !important; }
@keyframes network-light-breathe { 0%, 100% { opacity: .1; transform: scale(.85); } 50% { opacity: .32; transform: scale(1.4); } }
@keyframes network-ring-breathe { 0% { opacity: .5; transform: scale(.65); } 70% { opacity: .18; } 100% { opacity: 0; transform: scale(1.9); } }
.service-region-caption { position: absolute; bottom: 28px; left: 0; right: 0; margin: 0; color: #899aae; text-align: center; font-size: 11px; line-height: 1.6; }
.service-map-scroll-hint { display: none; margin: 0; position: absolute; bottom: 6px; left: 0; right: 0; color: #5b7d9c; text-align: center; font-size: 11px; }
.service-region-list { margin-top: 24px; padding-top: 28px; border-top: 1px solid #e3ebf2; }
.service-region-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.service-region-list-heading h4 { margin: 0; color: var(--site-blue); font-size: 22px; font-weight: 750; line-height: 1.45; }
.service-region-list-heading > span { flex-shrink: 0; color: #8192a8; font-size: 12px; }
#service-port-list { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 32px; }
.service-port-group { min-width: 0; }
.service-port-group + .service-port-group { padding-left: 28px; border-left: 1px solid #e8eef4; }
.service-port-group h5 { margin: 0 0 16px; color: #7f91a6; font-size: 12px; font-weight: 600; line-height: 1.6; }
.service-port-names { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 9px 12px; }
.service-port-name { padding: 5px 8px; margin-left: -8px; color: #304d75; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 13px; font-weight: 550; line-height: 1.6; cursor: pointer; text-align: left; }
.service-port-name.is-base { font-weight: 750; }
.service-port-name:hover, .service-port-name[aria-pressed="true"] { color: #2578ad; border-bottom-color: #2578ad; background: #f3f8fc; }
.service-port-name[aria-pressed="true"] { color: #b60015; border-bottom-color: var(--site-red); }
.service-region-bottom { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 32px; }
.service-region-note { max-width: 720px; margin: 0; color: #8091a6; font-size: 11px; line-height: 1.8; }
.service-network-contact { flex-shrink: 0; padding: 12px 24px; border: 1px solid var(--site-blue); border-radius: 4px; background: var(--site-blue); color: #fff; font-size: 13px; font-weight: 700; }
.service-network-contact:hover { background: var(--site-navy); }
.service-region-fallback { position: absolute; inset: 0 24px 35px; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; background: #f7fbfe; color: #63758b; font-size: 14px; }
.service-region-fallback.hidden { display: none; }
@media (max-width: 900px) {
  .service-map-scroll-hint { display: block; }
  #service-port-list { grid-template-columns: 1fr 1.5fr; gap: 28px; }
  .service-port-group:last-child { grid-column: 1 / -1; padding: 22px 0 0; border-left: 0; border-top: 1px solid #e8eef4; }
}
@media (max-width: 767px) {
  .service-region-stage { min-width: 0; }
  .service-map-scroll-hint { display: none; }
}
@media (max-width: 560px) {
  .service-network-heading h3 { font-size: 28px; }
  .service-network-heading p { margin-top: 14px; font-size: 13px; }
  .service-region-visual { margin-top: 8px; }
  .service-region-fallback { inset: 0 0 52px; }
  .service-region-list { margin-top: 8px; padding-top: 24px; }
  .service-region-list-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 24px; }
  .service-region-list-heading h4 { font-size: 20px; }
  #service-port-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .service-port-group + .service-port-group, .service-port-group:last-child { grid-column: auto; padding: 20px 0 0; border-left: 0; border-top: 1px solid #e8eef4; }
  .service-port-name { font-size: 12px; }
  .service-region-bottom { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 24px; }
}
::selection { color: #fff; background: var(--site-blue); }
:where(button, a, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--site-red) !important;
  outline-offset: 4px;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }

.site-header {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  border-color: rgba(28, 58, 130, .1);
  box-shadow: none;
  transition: box-shadow 250ms ease, background-color 250ms ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 28px rgba(19, 43, 98, .09);
}
.site-header nav { gap: clamp(8px, 1.8vw, 28px); }
.site-header nav > * + * { margin-left: 0 !important; }
.site-header .nav-link { letter-spacing: .015em; }
.site-header .nav-link::after {
  width: 100%;
  height: 3px;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}
.site-header .nav-link:hover::after,
.site-header .nav-link:focus-visible::after,
.site-header .nav-active::after { transform: scaleX(1); }
.site-header .mega-menu {
  left: 24px;
  right: 24px;
  width: auto;
  max-width: 1120px;
  margin-inline: auto;
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--site-line);
  border-top: 2px solid var(--site-red);
  box-shadow: 0 18px 42px rgba(19, 43, 98, .14);
}
.mega-menu-panel { min-height: 300px; }
.mega-menu-intro { flex: 0 0 220px; padding: 28px 24px; gap: 24px; border-right: 1px solid var(--site-line); }
.mega-menu-services { flex: 1; min-width: 0; padding: 28px 32px; gap: 24px; }
.mega-menu-services > div { min-width: 0; }
#mobile-menu { max-height: calc(100dvh - 64px); overflow-y: auto; }
#mobile-menu > div { max-height: none; }
#mobile-menu a { border-radius: 8px; }
#mobile-menu a:hover, #mobile-menu a:focus-visible { background: var(--site-surface); }
#mobile-menu-toggle[aria-expanded="true"] { color: var(--site-blue); background: #edf2fa; }
#mobile-menu-toggle { border-radius: 8px; transition: color 180ms ease, background-color 180ms ease; }

.ui-hero { isolation: isolate; background-color: var(--site-navy); }
.ui-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, var(--site-red) 0 18%, rgba(255,255,255,.3) 18% 100%);
  pointer-events: none;
  transform: scaleX(var(--hero-rule, 1));
  transform-origin: left;
}
.ui-hero h1 { letter-spacing: -.035em; line-height: 1.14; text-wrap: balance; }
#page-home .ui-hero { min-height: clamp(580px, 78svh, 800px); }
.hero-media { position: absolute; inset: 0; }
.hero-media picture, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity .3s ease; }
.hero-media[data-video-state="playing"] video { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-media video { transition: none; } }
#page-home .ui-hero h1 { font-size: clamp(2.2rem, 4.2vw, 4.1rem); }
#page-home .ui-hero [data-i18n="hero_tag"] {
  padding: 9px 13px;
  background: rgba(19, 43, 98, .55);
  border-left: 3px solid var(--site-red);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.5;
}
#page-home .ui-hero [data-i18n="hero_desc"] { max-width: 620px; color: #e3eaf6; line-height: 1.85; }
.hero-gradient {
  background: linear-gradient(90deg, rgba(12,31,72,.95), rgba(19,43,98,.68) 48%, rgba(12,31,72,.18));
}
.hero-actions { gap: 14px; }
.hero-actions button { min-height: 50px; border-radius: 8px; }
.site-main button:not(.business-scope-image-button):not(.business-lightbox-close):not(#mobile-menu-toggle) {
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.hero-actions button:first-child { box-shadow: 0 8px 24px rgba(230,0,18,.2); }
.hero-actions button:first-child:hover { box-shadow: 0 12px 30px rgba(230,0,18,.3); }
.hero-actions button:last-child { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.6); }
.hero-actions button:last-child:hover { background: #fff; }
/* All inner pages share this frame; page styles may only adjust the image crop. */
.site-page:not(#page-home) > .ui-hero { height: clamp(260px, 30vw, 380px); align-items: flex-start; overflow: hidden; }
.inner-hero-copy { padding-top: clamp(72px, 8vw, 120px); padding-bottom: 32px; text-align: left; }
.site-page:not(#page-home) > .ui-hero h1 { max-width: 1040px; margin: 0; font-size: clamp(2rem, 4.6vw, 4rem); font-weight: 900; }
.site-page:not(#page-home) > .site-surface-soft {
  border-bottom: 1px solid var(--site-line);
  box-shadow: none;
  background: #f7f9fc;
}
.site-page:not(#page-home) > .site-surface-soft .inline-flex {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding-left: 0;
  letter-spacing: .025em;
}

.service-page-container { max-width: 1216px; margin: 0 auto; padding: 56px 32px 72px; }
.page-section .site-section-title { color: var(--site-blue); }
.page-section .site-section-title::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 0 18px;
  background: var(--site-red);
}
.page-section [data-i18n="spirit_title"].site-section-title::before { margin-inline: auto; }
.service-page-intro { max-width: 790px; margin-bottom: 46px; }
.service-page-intro h2 { margin: 0 0 18px; color: #17263e; font-size: clamp(26px, 2.5vw, 34px); font-weight: 700; line-height: 1.4; }
.service-page-intro h2::before { content: ''; display: block; width: 40px; height: 4px; margin-bottom: 18px; background: var(--site-red); }
.service-page-intro p { color: #526078; font-size: 16px; line-height: 1.9; }
.service-page-intro .service-page-note { margin-top: 13px; color: #69768b; font-size: 12px; }

.welcome-section-heading { margin-bottom: 42px; }
.welcome-section-title { font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.3; text-wrap: balance; }
.welcome-copy-card { border-radius: var(--site-radius); box-shadow: 0 12px 40px rgba(19,43,98,.05); }
.welcome-image-card { border-radius: var(--site-radius); }
.welcome-description { color: var(--site-muted); }
.welcome-learn-more { padding-block: 8px; }
#service-overview-section { background: #fff; }
#capability-section { background: rgba(244,247,251,.75); }
#workflow-section { background: #fff; }
#ship-types-section { background: rgba(244,247,251,.65); }
.site-page h2 { letter-spacing: -.025em; text-wrap: balance; }
.site-page h3 { line-height: 1.4; }
.service-visual-card {
  min-width: 0;
  width: 100%;
  aspect-ratio: auto;
  border-radius: var(--site-radius);
  box-shadow: 0 10px 24px rgba(19,43,98,.08);
  transition: box-shadow 240ms ease;
}
.service-visual-card:where(:hover, :focus-visible) { box-shadow: 0 18px 36px rgba(19,43,98,.2); }
.service-visual-card > div { padding: clamp(24px, 2.1vw, 32px); }
.ui-card {
  border-radius: var(--site-radius);
  border-color: var(--site-line);
  box-shadow: 0 6px 24px rgba(19,43,98,.045);
  transition: box-shadow 240ms ease, border-color 240ms ease;
}
.ui-card:where(:hover, :focus-within) { border-color: #b6c7e2; box-shadow: 0 16px 36px rgba(19,43,98,.09); }
#capability-section .grid { align-items: stretch; }
#ship-types-section .grid > div { padding: 10px; background: #fff; cursor: default; }
#ship-types-section h3 { font-size: 15px; }
#case-carousel-section { padding-bottom: 80px; background: #fff; }
.case-carousel-viewport {
  padding-block: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.case-carousel-image { width: 220px; height: 165px; border-radius: 10px; }
#case-carousel-track .case-carousel-button {
  position: relative;
  padding: 0;
  border: 0;
  background: var(--site-navy);
  cursor: pointer;
  transition: box-shadow .4s ease;
}
.case-carousel-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
html[data-motion="on"] .case-carousel-button:is(:hover, :focus-visible) .case-carousel-photo { transform: scale(1.08); }
body.business-modal-open .case-carousel-track { animation-play-state: paused; }
/* Stop the moving copies for keyboard browsing, so every focused thumbnail stays reachable. */
.case-carousel-viewport:has(.case-carousel-button:focus-visible) .case-carousel-track { animation: none; transform: none; }

#page-automation .ui-card { overflow: hidden; }
#page-automation [data-motion-group] { align-items: stretch; }
#page-parts .ui-cta { background: var(--site-navy); box-shadow: none; border-radius: var(--site-radius); }
#page-contact .contact-panel { border: 1px solid var(--site-line); border-top: 3px solid var(--site-red); }
#page-contact input, #page-contact textarea {
  border-radius: 8px;
  border-color: #ccd7e7;
  background: #f9fbfd;
  box-shadow: none;
  min-height: 48px;
  font-size: 16px;
  transition: none;
}
#page-contact form :is(input, textarea):is(:focus, :focus-visible) {
  outline: none !important;
  border-color: #ccd7e7;
  background: #f9fbfd;
  box-shadow: none;
}
#page-contact .contact-field-count { display: block; margin-top: 5px; color: #69768b; font-size: 12px; text-align: right; }
#page-contact .contact-field-count[data-limit="true"] { color: var(--site-red); font-weight: 700; }
#page-contact .contact-field-error { margin-top: 6px; color: var(--site-red); font-size: 13px; font-weight: 600; line-height: 1.7; }
#page-contact #service-form :is(input, textarea)[aria-invalid="true"] { border-color: var(--site-red); background: #fff8f8; }
#page-contact .contact-form-feedback { padding: 12px 14px; border-left: 3px solid var(--site-red); border-radius: 4px; background: #fff4f4; color: var(--site-red); font-size: 16px; font-weight: 700; line-height: 1.75; }
#page-contact .contact-form-feedback[data-state="success"] { border-color: #16804a; background: #f0faf4; color: #13713f; }
#page-contact .contact-form-feedback[data-state="sending"] { border-color: var(--site-blue); background: #f4f7fc; color: var(--site-blue); }
#page-contact #service-form-submit:disabled { opacity: .7; cursor: wait; }
#page-contact form button { border-radius: 8px; }
#page-contact .contact-details { padding: 28px; background: #f7f9fc; border-radius: var(--site-radius); }
#baidu-map-container { margin-top: 26px; border-radius: var(--site-radius); }
.business-lightbox > div { transform-origin: center; }
.business-lightbox { background: transparent; }
.business-lightbox-content { width: max-content; max-width: 100%; }
.business-lightbox-image { width: auto; height: auto; }
.business-lightbox-content #business-lightbox-title {
  margin: 12px 0 0;
  padding: 8px 18px;
  border-radius: 8px;
  background: #fff;
  color: var(--site-navy);
  box-shadow: 0 4px 20px rgba(19,43,98,.12);
}
.business-lightbox-close { transition: color 160ms ease, background-color 160ms ease; }
.site-main footer { border-top: 1px solid var(--site-line); }

.legal-page { background: var(--site-surface); }
.legal-page main { border: 1px solid var(--site-line); border-top: 3px solid var(--site-blue); border-radius: var(--site-radius); box-shadow: 0 12px 40px rgba(19,43,98,.06); }
.legal-page h1 { letter-spacing: -.03em; text-wrap: balance; }
.legal-page section { padding-block: 28px; }
.legal-page h2 { line-height: 1.4; }
.legal-page p { max-width: 75ch; }
.legal-page main a { text-underline-offset: 4px; }
.legal-page .notice { background: #f4f7fb; border-radius: 0 8px 8px 0; }

/* Keep hover movement separate from GSAP entry transforms. */
.site-main .ui-card, .site-main .service-visual-card, .site-main [data-motion-group] > .group,
#workflow-section li, #ship-types-section .grid > div {
  transition: translate .55s cubic-bezier(.22,1,.36,1), box-shadow .55s ease, border-color .4s ease;
}
.site-main .service-visual-card > div, .site-main .service-visual-card img,
#ship-types-section img, .welcome-learn-more svg {
  transition: translate .65s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
}
.site-main .ui-card :is(h3, h4), .parts-card h3 {
  transform-origin: left center;
  transition: scale .55s cubic-bezier(.22,1,.36,1), color .35s ease;
}
html[data-motion="on"] .site-main button:not(.business-scope-image-button):not(.business-lightbox-close):not(#mobile-menu-toggle) {
  transition: translate .4s cubic-bezier(.22,1,.36,1), scale .35s ease, background-color .3s ease,
    color .3s ease, box-shadow .4s ease, border-color .3s ease;
}
html[data-motion="on"] .hero-actions button:active,
html[data-motion="on"] .ui-cta button:active,
html[data-motion="on"] #page-contact form button:active { scale: .98; }
html[data-motion="on"] .ui-card:focus-within,
html[data-motion="on"] .service-visual-card:focus-visible { translate: 0 -4px; }
html[data-motion="on"] .welcome-learn-more:focus-visible svg { translate: 5px 0; }
@keyframes menu-column-entry {
  from { opacity: .85; translate: 0 8px; }
  to { opacity: 1; translate: 0 0; }
}
html[data-motion="on"] .site-header .group:is(:hover, :focus-within) .mega-menu .grid > div {
  animation: menu-column-entry .6s cubic-bezier(.22,1,.36,1) both;
}
html[data-motion="on"] .site-header .mega-menu .grid > div:nth-child(2) { animation-delay: .05s; }
html[data-motion="on"] .site-header .mega-menu .grid > div:nth-child(3) { animation-delay: .1s; }
footer a { text-decoration: none; transition: color .3s ease; }
.footer-bottom-grid {
  display: grid;
  grid-template-columns: minmax(290px, 1fr) 226px 252px;
  gap: 52px;
  align-items: start;
  padding-bottom: 36px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.footer-company { min-width: 0; }
.footer-company-logo { display: block; width: auto; height: 56px; object-fit: contain; }
.footer-company-name { margin: 22px 0 10px; font-size: 20px; font-weight: 700; line-height: 1.5; }
.footer-company-description { max-width: 370px; margin: 0; color: #d5e2fa; font-size: 14px; line-height: 1.85; }
.footer-section-title {
  margin: 2px 0 24px;
  color: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
}
.footer-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, 24px);
  grid-auto-flow: column;
  gap: 12px 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-quick-links a { display: block; width: fit-content; color: #d5e2fa; font-size: 14px; line-height: 24px; }
.footer-quick-links a:is(:hover, :focus-visible) { color: #fff; font-weight: 700; }
.footer-social-pair { display: grid; grid-template-columns: repeat(2, 120px); gap: 12px; }
.footer-social-card { margin: 0; text-align: center; }
.footer-qr-frame {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 26, 66, .12);
}
.footer-wechat-qr { width: 86px; height: 86px; object-fit: contain; }
/* Keep the original Douyin code intact while displaying only its code area. */
.footer-douyin-code {
  position: relative;
  width: 90px;
  height: 90px;
  overflow: hidden;
  background: #fff;
  -webkit-mask-image: radial-gradient(ellipse 45% 45% at 50% 51.1%, #000 99%, transparent 100%), radial-gradient(ellipse 10.2% 10.2% at 79.1% 23%, #000 99%, transparent 100%);
  mask-image: radial-gradient(ellipse 45% 45% at 50% 51.1%, #000 99%, transparent 100%), radial-gradient(ellipse 10.2% 10.2% at 79.1% 23%, #000 99%, transparent 100%);
}
.footer-douyin-code img { position: absolute; display: block; max-width: none; width: 145.889%; height: auto; left: -23%; top: -26.667%; }
@media (min-width: 768px) {
  .site-footer { min-height: 56.25vw; }
}
@media (max-width: 1099px) {
  .footer-bottom-grid { grid-template-columns: minmax(280px, 1fr) 252px; gap: 36px; }
  .footer-company { grid-column: 1 / -1; }
  .footer-navigation { grid-column: 1; }
  .footer-social-pair { grid-column: 2; grid-row: 2; }
  .footer-section-title { margin-bottom: 18px; }
  .footer-quick-links { max-width: 260px; }
}
@media (max-width: 767px) {
  .footer-bottom-grid { display: flex; flex-direction: column; gap: 30px; padding-bottom: 30px; }
  .footer-company-logo { height: 43px; }
  .footer-company-name { margin-top: 18px; font-size: 17px; }
  .footer-company-description { font-size: 13px; }
  .footer-navigation { width: 100%; }
  .footer-section-title { margin: 0 0 17px; font-size: 15px; }
  .footer-quick-links { max-width: none; }
  .footer-social-pair { align-self: stretch; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; }
  .footer-social-card { text-align: left; }
  .footer-qr-frame { margin: 0; }
}
footer .footer-contact-card { text-decoration: none; }
footer .footer-contact-card p {
  transform-origin: center;
  transition: scale .55s cubic-bezier(.22,1,.36,1);
}
html[data-motion="on"] footer .footer-contact-card:focus-visible p { scale: 1.045; }
.parts-photo img { transition: transform .9s cubic-bezier(.22,1,.36,1); }
@keyframes parts-image-entry {
  from { opacity: .8; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
html[data-motion="on"] .parts-card:not([hidden]) .parts-photo img {
  animation: parts-image-entry .65s cubic-bezier(.22,1,.36,1);
}
@media (hover: hover) and (pointer: fine) {
  html[data-motion="on"] .ui-card:hover,
  html[data-motion="on"] .service-visual-card:hover,
  html[data-motion="on"] [data-motion-group] > .group:hover,
  html[data-motion="on"] #workflow-section li:hover { translate: 0 -4px; }
  html[data-motion="on"] .ui-card:hover :is(h3, h4),
  html[data-motion="on"] .parts-card:hover h3 { scale: 1.025; }
  html[data-motion="on"] .service-visual-card:hover > div { translate: 0 -4px; }
  html[data-motion="on"] .service-visual-card:hover img,
  html[data-motion="on"] #ship-types-section .grid > div:hover img,
  html[data-motion="on"] .parts-card:hover .parts-photo img { transform: scale(1.045); }
  html[data-motion="on"] #ship-types-section .grid > div:hover { translate: 0 -4px; }
  html[data-motion="on"] .welcome-learn-more:hover svg { translate: 5px 0; }
  html[data-motion="on"] footer .footer-contact-card:hover p { scale: 1.045; }
  html[data-motion="on"] .hero-actions button:hover,
  html[data-motion="on"] .site-header [data-i18n="nav_support"]:hover,
  html[data-motion="on"] .ui-cta button:hover,
  html[data-motion="on"] #page-contact form button:hover { translate: 0 -2px; }
}
@media (min-width: 768px) {
  .site-header { --menu-top: 96px; }
  .welcome-grid { gap: 28px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .site-header nav { gap: 8px; }
  .site-header .mega-menu { left: 16px; right: 16px; }
  .mega-menu-intro { flex-basis: 180px; padding: 24px 20px; }
  .mega-menu-services { padding: 24px 20px; gap: 20px; }
}
@media (max-width: 767px) {
  .service-page-container { padding: 36px 20px 48px; }
  .service-page-intro { margin-bottom: 30px; }
  #page-home .ui-hero { min-height: 620px; }
  #page-home .ui-hero h1 { font-size: clamp(2rem, 7.4vw, 3rem); }
  #page-home .ui-hero [data-i18n="hero_desc"] { font-size: 15px; line-height: 1.75; }
  .hero-gradient { background: linear-gradient(90deg, rgba(12,31,72,.92), rgba(12,31,72,.55)); }
  .hero-actions button { padding: 12px 18px; }
  .welcome-copy-card { min-height: 0; padding: 28px; }
  .welcome-section-heading { margin-bottom: 28px; }
  .service-visual-card { min-height: 350px; }
  #page-contact .contact-details { padding: 24px; }
  .case-carousel-image { width: 180px; height: 135px; }
  #case-carousel-section { padding-bottom: 48px; }
}

html.motion-paused .case-carousel-track,
html.motion-paused .core-value-dot { animation-play-state: paused; }
