/* 比耶传媒首页
   桌面端以 1920px 设计稿为基准：1rem = 设计稿的 1px。
   调整颜色、字体、间距即可编辑，无框架、无构建依赖。 */
@font-face {
  font-family: "Source Han Sans CN";
  src: url("assets/source-han-cn-regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face { font-family: "Source Han Sans CN"; src: url("assets/source-han-cn-medium.otf") format("opentype"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/inter-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/inter-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/inter-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root {
  font-size: min(calc(100vw / 1920), 1px);
  --blue: #2140d9;
  --ink: #0c2244;
  --font: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #000; background: #fff; font-family: var(--font); font-size: 16rem; }
main { max-width: 1920px; margin: 0 auto; overflow: clip; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3rem solid var(--blue); outline-offset: 6rem; }
button { border: 0; }
img { display: block; max-width: 100%; }
section, footer { position: relative; scroll-margin-top: 20rem; }
/* art 内仅保留复杂轨道、奖项、标识墙的原稿坐标，不影响其他区块布局。 */
.art { position: absolute; inset: 0; pointer-events: none; }
.art img { user-select: none; }
.partners-art [data-layer="6058:199"] { white-space: nowrap; }
.partners-art [data-layer="6058:147"] { clip-path: inset(0 65rem 0 0); }
.hero { height: 934rem; background: #fff; }
.hero-art { overflow: hidden; }
.header { position: absolute; z-index: 10; left: 134rem; right: 134rem; top: 34rem; height: 46rem; display: flex; align-items: center; }
.brand { width: 120rem; flex-shrink: 0; }
.brand img { width: 120rem; height: 24rem; object-fit: contain; }
.nav { display: flex; align-items: center; justify-content: space-between; width: 772rem; margin-left: auto; margin-right: 100rem; font-family: Inter, var(--font); font-size: 15rem; line-height: 18rem; white-space: nowrap; color: rgb(0 0 0 / .8); }
.nav a { position: relative; padding: 10rem 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 2rem; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.nav a:hover, .nav a.is-active { color: #0234d3; }
.nav a:hover::after { transform: scaleX(1); }
.header-phone { display: flex; gap: 9rem; align-items: center; width: 168rem; flex-shrink: 0; color: #333; font-size: 18rem; line-height: 45rem; white-space: nowrap; }
.header-phone img { width: 18rem; height: 18rem; }
.menu-toggle { display: none; }
.hero-copy { position: relative; text-align: center; padding-top: 318rem; }
.hero h1 { font-size: 80rem; line-height: 120rem; }
.hero-tags { display: flex; justify-content: center; gap: 13rem; margin-top: 21rem; }
.tag { display: grid; place-items: center; width: 190rem; height: 63rem; border-radius: 50rem; background: white; color: var(--blue); font-family: Inter, var(--font); font-size: 24rem; line-height: 29rem; transition: transform .25s, box-shadow .25s; }
.tag-ai { background: url("assets/imgUnion.svg") center / 190rem 63rem no-repeat; }
.tag:hover { transform: translateY(-6rem); box-shadow: 0 12rem 30rem #2140d91a; }
.hero-copy > p { margin-top: 46rem; color: #252525; font-size: 30rem; line-height: 45rem; letter-spacing: 30rem; padding-left: 30rem; white-space: nowrap; }

.service { height: 932rem; overflow: hidden; background: #fff; isolation: isolate; touch-action: pan-y; }
.service-colorwash { position: absolute; inset: 0; pointer-events: none; }
.service-wash { position: absolute; inset: 0; opacity: 0; transition: opacity .9s cubic-bezier(.22,.61,.36,1); }
.service-wash.is-active { opacity: 1; }
/* 三个状态使用同一份 Figma 原始渐变图层，仅改变颜色，保留原稿的范围与虚化。 */
.wash-blue { filter: none; }
.wash-purple { filter: hue-rotate(30deg); }
.wash-orange { filter: hue-rotate(165deg) saturate(1.4) brightness(1.65); }
.service-title { position: absolute; top: 83rem; left: 134rem; font-family: "PingFang SC", var(--font); font-size: 45rem; line-height: 74rem; font-weight: 500; }
.service-title span { display: block; font-size: 50rem; }
.service-title strong { color: #0234d3; font-weight: 500; }
.service-copy { position: absolute; top: 729rem; width: 100%; text-align: center; color: white; font-family: Inter, var(--font); text-shadow: 0 2rem 12rem rgb(37 45 97 / .12); translate: 0 var(--service-copy-offset, 0px); will-change: translate; }
.service-copy > p { font-size: 24rem; font-weight: 500; line-height: 24rem; }
.service-copy h3 { margin-top: 27rem; font-size: 36rem; font-weight: 500; line-height: 24rem; white-space: nowrap; }

/* 第二板块：数字在同一圆弧上顺时针切换，内容跟随选中项。 */
.service-orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit-number { position: absolute; display: grid; place-items: center; width: 50rem; height: 50rem; padding: 0; border: 1rem solid #777; border-radius: 50%; background: transparent; color: #333; font-family: Inter, sans-serif; font-size: 30rem; line-height: 1; transform: translate(-50%, -50%); pointer-events: auto; transition: background-color .25s, color .25s, border-color .25s; touch-action: manipulation; }
.orbit-number.is-selected { background: var(--blue); color: #fff; border-color: var(--blue); }
.orbit-number:hover { background: #e4e9ff; border-color: var(--blue); color: var(--blue); }
.orbit-number.is-selected:hover { background: var(--blue); color: #fff; }
.orbit-dot { position: absolute; width: 6rem; height: 6rem; border-radius: 50%; background: #777; transform: translate(-50%, -50%); }
.orbit-dot.is-selected { background: var(--blue); }
.orbit-line { position: absolute; left: 960rem; top: 282rem; height: 167rem; border-left: 1rem solid #c2c8e0; }
.service-label { position: absolute; left: 50%; top: 463rem; min-width: 158rem; height: 41rem; padding: 0 23rem; display: flex; align-items: center; justify-content: center; gap: 12rem; border-radius: 50rem; background: var(--blue); color: white; font-size: 20rem; line-height: 37rem; transform: translateX(-50%); white-space: nowrap; }
.service-label > span:last-child { font-family: Inter, sans-serif; font-size: 28rem; }
.service-label { transition: opacity .22s, translate .35s; }
.service.is-switching .service-label { opacity: 0; translate: 0 8rem; }

.cases { height: 932rem; background: white; overflow: hidden; }
.section-title { position: absolute; top: 60rem; width: 100%; text-align: center; color: rgb(0 0 0 / .8); font-size: 45rem; line-height: 56rem; font-weight: 500; }
.section-title > span { display: block; color: var(--blue); font-size: 36rem; }
.cases-art { transform-origin: center 65%; }

.honor { height: 935rem; overflow: hidden; background: #f2f7fc; }
.honor-title { position: absolute; top: 155rem; left: 133rem; color: var(--blue); font-size: 48rem; line-height: 74rem; font-weight: 500; }
.honor-title > span { display: block; font-size: 36rem; }
.honor-description { position: absolute; left: 133rem; top: 358rem; font-family: "PingFang SC", var(--font); font-size: 21rem; line-height: 21rem; font-weight: 500; }

.partners { height: 936rem; background: #fff; }
.partners-top { position: absolute; left: 134rem; top: 107rem; width: 1652rem; display: flex; align-items: flex-start; justify-content: space-between; }
.partners-top h2 { margin-top: 4rem; padding-left: 26rem; border-left: 6rem solid var(--blue); font-family: "PingFang SC", var(--font); color: var(--ink); white-space: nowrap; }
.partners-top h2 > span { display: block; font-size: 54.047rem; line-height: 54.047rem; letter-spacing: 4.0535rem; font-weight: 500; }
.partners-top h2 strong { display: block; color: var(--blue); font-size: 56.606rem; line-height: 56.606rem; letter-spacing: .5661rem; font-weight: 500; }
.partners-top h2 em { color: #0d2345; font-style: normal; }
.metrics { display: flex; justify-content: space-between; width: 805rem; color: var(--blue); text-align: center; }
.metrics > div { width: 181rem; }
.metrics p { position: relative; padding-top: 11rem; white-space: nowrap; }
.metrics b { font-family: "PingFang SC", var(--font); font-weight: 500; font-size: 73.312rem; line-height: 73.312rem; }
.metrics sup { position: absolute; top: 0; margin-left: 2rem; font-size: 25rem; }
.metrics > div > span { display: block; margin-top: 4rem; font-size: 25rem; line-height: 42rem; }

/* 合作客户 Logo：参考视频，各行错向、匀速、无缝滚动。 */
.logo-wall { position: absolute; top: 405.75rem; left: 134rem; width: 1648rem; overflow: hidden; pointer-events: auto; }
.logo-row { height: 69rem; margin-bottom: 37rem; }
.logo-row:last-child { margin-bottom: 0; }
.logo-track { display: flex; width: max-content; animation: logo-scroll 72s linear infinite; will-change: transform; }
.logo-set { display: flex; flex-shrink: 0; gap: 28rem; padding-right: 28rem; }
.logo-tile { position: relative; display: grid; place-items: center; width: 173rem; height: 69rem; flex-shrink: 0; }
.logo-tile-bg { position: absolute; inset: 0; width: 173rem; height: 69rem; }
.partner-logo { position: relative; max-width: 115rem; max-height: 67rem; object-fit: contain; }
.logo-row.is-reversed .logo-track { animation-direction: reverse; animation-duration: 80s; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.news { height: 932rem; overflow: hidden; }
.news .section-title { top: 82rem; font-size: 48rem; line-height: 60rem; }
.news-grid { position: absolute; top: 279rem; left: 134rem; right: 134rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28rem; }
.news-card { position: relative; height: 536rem; padding: 17rem 18rem 18rem; border-radius: 20rem; background: #fff; color: #000; transition: background-color .3s, color .3s, transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-10rem); box-shadow: 0 20rem 50rem #2140d91a; }
.news-card:hover { background: rgb(33 64 217 / .8); color: white; }
.news-image { height: 287rem; overflow: hidden; border-radius: 20rem; background: var(--blue); }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:first-child .news-image img { width: 105.89%; max-width: none; height: 122%; margin-left: -2.94%; margin-top: -6.36%; }
.news-card:hover .news-image img { transform: scale(1.035); }
.news-content { padding: 29rem 12rem 0; }
.news-content h3 { font-family: Inter, var(--font); font-size: 18rem; line-height: 28rem; font-weight: 500; min-height: 56rem; }
.news-content > p { margin-top: 13rem; font-family: "PingFang SC", var(--font); font-size: 16rem; line-height: 25rem; color: rgb(0 0 0 / .5); transition: color .3s; }
.news-card:hover .news-content > p { color: white; }
.news-open { position: absolute; right: 36rem; bottom: 18rem; width: 35rem; height: 35rem; display: grid; place-items: center; border-radius: 50%; background: transparent; }
.news-card:hover .news-open { background: #fff; }
.news-open img { width: 20rem; rotate: -37deg; }
.news-open:hover { background: #eef1ff; }

.footer { height: 481rem; background: rgb(33 64 217 / .2); font-family: "PingFang SC", var(--font); color: #333; }
.footer-divider { position: absolute; left: 0; width: 1920rem; height: .5rem; pointer-events: none; }
.divider-top { top: 136rem; }
.divider-bottom { top: 416rem; }
.footer-top { height: 136rem; display: flex; align-items: flex-start; }
.footer-brand { margin: 50rem 0 0 87rem; width: 248rem; }
.footer-brand img { width: 248rem; height: 60rem; object-fit: cover; }
.footer-nav { display: flex; justify-content: space-between; width: 911rem; margin: 58rem 134rem 0 auto; font-size: 16rem; line-height: 45rem; font-weight: 700; }
.footer a:hover { color: var(--blue); }
.footer-content { display: grid; grid-template-columns: 749rem 604rem 294rem; padding: 52rem 134rem 0 139rem; height: 280rem; }
.footer h2 { margin-bottom: 8rem; color: #000; font-size: 18rem; line-height: 45rem; font-weight: 800; }
.contact p { display: flex; align-items: center; gap: 18rem; font-size: 16rem; line-height: 38rem; white-space: nowrap; }
.contact p img { width: 18rem; max-height: 21rem; object-fit: contain; }
.social { margin-left: 0; }
.social > div { display: flex; align-items: center; gap: 33rem; }
.social-button { display: grid; place-items: center; width: 58rem; height: 58rem; padding: 0; background: transparent; opacity: .8; transition: opacity .2s, transform .2s; }
.social-button:first-child img { width: 58rem; height: 58rem; border-radius: 50%; }
.social-button:last-child img { width: 44rem; height: 44rem; border-radius: 50%; }
.social-button:hover { opacity: 1; transform: translateY(-4rem); }
.social-label { display: none; }
.newsletter > p { font-size: 14rem; line-height: 45rem; white-space: nowrap; }
.newsletter form { display: flex; width: 289rem; height: 50rem; padding: 3rem 4rem 3rem 17rem; background: #fff; margin-top: 12rem; }
.newsletter input { width: 0; flex: 1; min-width: 0; border: 0; border-radius: 0; padding: 0; background: #fff; color: #333; font-size: 14rem; }
.newsletter input::placeholder { color: rgb(0 0 0 / .4); }
.newsletter button { display: grid; place-items: center; flex-shrink: 0; width: 60rem; height: 44rem; background: var(--blue); }
.newsletter button img { width: 25rem; height: 19rem; }
.newsletter .form-message { color: var(--blue); margin-top: 5rem; font-size: 13rem; line-height: 20rem; white-space: normal; }
.copyright { height: 65rem; padding: 8rem 134rem 0; display: flex; justify-content: space-between; font-size: 14rem; line-height: 38rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* 动效：尊重系统的“减少动态效果”设置。 */
@keyframes hero-enter { from { opacity: 0; transform: translateY(24rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes ambient { 0%,100% { transform: translate(0,0); } 50% { transform: translate(12rem,-8rem); } }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9rem; } }
.hero-copy h1 { animation: hero-enter .8s both; }
.hero-tags { animation: hero-enter .8s .12s both; }
.hero-copy > p { animation: hero-enter .8s .24s both; }
.hero-art > div:first-child, .hero-art > div:nth-child(2) { animation: ambient 12s ease-in-out infinite; }
.cases-art { animation: float 7s ease-in-out infinite; }
.js .reveal { opacity: 0; translate: 0 24rem; transition: opacity .7s, translate .7s; }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }
.back-top { position: fixed; z-index: 20; right: 24px; bottom: 24px; width: 40px; height: 40px; border: 1px solid #d7def7; border-radius: 50%; color: var(--blue); background: rgb(255 255 255 / .94); box-shadow: 0 4px 20px #2140d912; font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.detail-dialog { width: min(560px, calc(100% - 40px)); max-height: 80vh; padding: 38px 30px 30px; border: 1px solid #e2e7fa; border-radius: 16px; color: var(--ink); font: 16px/1.8 var(--font); box-shadow: 0 20px 80px #0c224430; }
.detail-dialog::backdrop { background: #0c224450; backdrop-filter: blur(5px); }
.detail-dialog h2 { font-size: 22px; font-weight: 500; margin-bottom: 16px; }
.detail-dialog p { white-space: pre-line; }
.dialog-close { position: absolute; top: 6px; right: 12px; background: none; font-size: 28px; color: #53607b; }

/* 窄屏改为自然排版，复杂图形仍按设计稿比例缩放。 */
@media (max-width: 767px) {
  body { font-size: 16px; -webkit-text-size-adjust: 100%; }
  section, footer { scroll-margin-top: 16px; }
  .hero { height: 620px; }
  .hero-art { inset: auto; width: 1920rem; height: 934rem; top: 150px; transform: scale(4.4); transform-origin: center center; }
  .header { top: 22px; left: 22px; right: 22px; height: 30px; justify-content: space-between; }
  .brand { display: flex; align-items: center; width: 124px; min-height: 44px; }
  .brand img { width: 124px; height: auto; }
  .header-phone { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; background: transparent; padding: 8px; }
  .menu-toggle span { width: 24px; height: 2px; background: var(--blue); transition: .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 48px; left: 0; right: 0; width: auto; margin: 0; padding: 16px 24px; border-radius: 16px; background: rgb(255 255 255 / .97); box-shadow: 0 12px 50px #2140d924; font-size: 15px; line-height: 24px; }
  .nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .nav a { padding: 10px 0; }
  .hero-copy { padding: 215px 22px 0; }
  .hero h1 { font-size: clamp(26px, 7.6vw, 44px); line-height: 1.5; white-space: nowrap; }
  .hero-tags { margin-top: 26px; gap: 8px; }
  .tag { width: 0; flex: 1; max-width: 120px; min-width: 0; height: 44px; font-size: 14px; line-height: 20px; border-radius: 30px; white-space: nowrap; }
  .tag-ai { background: #fff; }
  .hero-copy > p { max-width: 340px; margin: 30px auto 0; padding: 0; font-size: 15px; line-height: 2; letter-spacing: 4px; white-space: normal; }
  .service { height: 480px; }
  .service-art { top: auto; bottom: 0; height: 932rem; transform: scale(1.9); transform-origin: center bottom; }
  .service-colorwash { top: auto; bottom: 0; height: 932rem; transform: scale(1.9); transform-origin: center bottom; }
  .service-orbit { top: auto; bottom: 0; height: 932rem; transform: scale(1.9); transform-origin: center bottom; }
  .orbit-number { width: 23px; height: 23px; font-size: 9px; border-width: .6px; }
  .orbit-number:focus-visible { outline-width: 1px; outline-offset: 2px; }
  .service-label { top: 309px; min-width: 130px; height: 40px; padding: 0 18px; gap: 9px; font-size: 15px; line-height: 24px; border-radius: 30px; }
  .service-label > span:last-child { font-size: 21px; }
  .service-title { top: 35px; left: 24px; font-size: 22px; line-height: 1.6; }
  .service-title span { font-size: 26px; }
  .service-copy { top: auto; bottom: 16px; padding: 0 26px; }
  .service-copy > p { font-size: 13px; line-height: 20px; }
  .service-copy h3 { margin-top: 12px; font-size: clamp(16px, 4.6vw, 18px); line-height: 1.8; white-space: normal; }
  .cases { height: 370px; overflow: hidden; }
  .section-title { top: 34px; padding: 0 20px; font-size: 19px; line-height: 1.7; }
  .section-title > span { font-size: 15px; line-height: 1.8; }
  .cases-art { top: 90px; height: 932rem; transform: scale(1.2); transform-origin: center center; }
  .honor { height: 460px; }
  .honor-title { top: 35px; left: 24px; font-size: 26px; line-height: 1.6; }
  .honor-title > span { font-size: 17px; }
  .honor-description { left: 24px; right: 24px; top: 120px; font-size: 14px; line-height: 1.8; }
  .honor-art { top: 210px; height: 935rem; transform: scale(1.05); transform-origin: center top; }
  .honor-art > [data-layer="6001:114"] { transform: scaleY(3); transform-origin: top; }
  .partners { height: 640px; overflow: hidden; }
  .partners-top { left: 24px; right: 24px; top: 35px; width: auto; display: block; }
  .partners-top h2 { padding-left: 10px; border-width: 3px; }
  .partners-top h2 > span { font-size: 22px; line-height: 1.2; letter-spacing: 2px; }
  .partners-top h2 strong { font-size: 21px; line-height: 1.5; letter-spacing: 0; }
  .metrics { width: 100%; margin-top: 22px; }
  .metrics > div { width: auto; }
  .metrics p { padding-top: 8px; }
  .metrics b { font-size: clamp(26px, 7.5vw, 32px); line-height: 40px; }
  .metrics sup { font-size: 12px; margin-left: 3px; }
  .metrics > div > span { margin-top: 0; font-size: 13px; line-height: 22px; }
  .partners-art { top: 224px; left: 20px; right: 20px; bottom: auto; height: 360px; transform: none; border-radius: 16px; background: #eef2ff; box-shadow: 0 4px 15px #0c224412; overflow: hidden; }
  .partners-art > [data-layer="6058:110"] { display: none; }
  .partners-art [data-layer="6058:199"] { position: relative !important; left: auto !important; top: auto !important; width: auto !important; padding: 18px 16px 0; font-size: 14px !important; line-height: 1.7 !important; letter-spacing: 0 !important; text-align: center; white-space: normal; }
  .partners-art [data-layer="6058:199"] span { line-height: inherit !important; }
  .logo-wall { top: 78px; left: 0; width: 100%; }
  .logo-row { height: 56px; margin-bottom: 12px; }
  .logo-set { gap: 14px; padding-right: 14px; }
  .logo-tile, .logo-tile-bg { width: 136px; height: 56px; }
  .partner-logo { max-width: 100px; max-height: 44px; }
  .news { height: auto; padding: 155px 22px 42px; background: #eef4ff; }
  .news-art { height: 936rem; transform: scaleY(6); transform-origin: center top; }
  .news .section-title { top: 35px; left: 0; font-size: 21px; line-height: 1.6; }
  .news-grid { position: relative; top: auto; left: auto; right: auto; grid-template-columns: 1fr; gap: 20px; }
  .news-card { height: auto; padding: 12px 12px 54px; border-radius: 14px; }
  .news-image { height: auto; aspect-ratio: 496/287; border-radius: 10px; }
  .news-image img { height: 100%; }
  .news-content { padding: 18px 8px 0; }
  .news-content h3 { min-height: auto; font-size: 17px; line-height: 1.7; }
  .news-content > p { margin-top: 10px; font-size: 14px; line-height: 1.8; }
  .news-card { padding-bottom: 70px; }
  .news-open { right: 18px; bottom: 14px; width: 44px; height: 44px; background: #f0f3ff; }
  .news-open img { width: 22px; }
  .footer { height: auto; }
  .footer-divider { display: none; }
  .footer-top, .copyright { border-top: 1px solid rgb(33 64 217 / .2); }
  .footer-top { height: auto; padding: 26px 24px 22px; display: block; }
  .footer-brand { display: block; margin: 0 0 18px -24px; width: 225px; max-width: 100%; }
  .footer-brand img { width: 225px; height: auto; }
  .footer-nav { margin: 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 8px; font-size: 14px; line-height: 24px; }
  .footer-nav a { display: flex; align-items: center; min-height: 44px; }
  .footer-content { height: auto; padding: 26px 24px 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer h2 { font-size: 18px; line-height: 30px; margin-bottom: 14px; }
  .contact p { align-items: flex-start; gap: 12px; min-height: 44px; font-size: 15px; line-height: 26px; white-space: normal; }
  .contact p img { width: 22px; height: 24px; max-height: none; margin-top: 3px; flex-shrink: 0; }
  .contact p a { display: flex; align-items: flex-start; min-height: 44px; min-width: 0; overflow-wrap: anywhere; }
  .contact p span { min-width: 0; overflow-wrap: anywhere; }
  .social { margin-left: 0; }
  .social > div { gap: 20px; }
  .social-button { display: flex; flex-direction: column; gap: 8px; width: 88px; height: 100px; opacity: 1; }
  .social-icon { display: grid; place-items: center; width: 64px; height: 64px; background: #fff; border-radius: 16px; box-shadow: 0 2px 10px #2140d90c; }
  .social-button:first-child img { width: 60px; height: 60px; }
  .social-button:last-child img { width: 48px; height: 48px; }
  .social-label { display: block; font-size: 14px; line-height: 24px; color: #25375d; }
  .newsletter > p { font-size: 14px; line-height: 26px; white-space: normal; }
  .newsletter form { width: 100%; max-width: none; height: 52px; padding: 3px 3px 3px 14px; margin-top: 12px; border-radius: 8px; }
  .newsletter input { font-size: 16px; }
  .newsletter button { width: 50px; height: 46px; border-radius: 5px; }
  .newsletter button img { width: 25px; height: 20px; }
  .newsletter .form-message { font-size: 13px; line-height: 22px; margin-top: 8px; }
  .copyright { height: auto; flex-direction: column; gap: 8px; padding: 20px 24px; font-size: 12px; line-height: 20px; }
  .back-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
  .dialog-close { top: 4px; right: 4px; width: 44px; height: 44px; }
  button:focus-visible, a:focus-visible, input:focus-visible { outline-width: 2px; outline-offset: 3px; }
}
@media (max-width: 767px) and (hover: none) {
  .news-card:hover { background: #fff; color: #000; transform: none; box-shadow: none; }
  .news-card:hover .news-content > p { color: rgb(0 0 0 / .5); }
  .news-card:hover .news-open { background: #f0f3ff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  .service-copy { translate: none; will-change: auto; }
}
