:root {
  --ink: #071426;
  --blue: #1468ff;
  --blue-deep: #061c4a;
  --cyan: #26d4ff;
  --orange: #ff781f;
  --line: #dce6f3;
  --muted: #5d6d82;
  --white: #fff;
  --surface: #f5f8fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open, body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.mouse-glow { position: fixed; z-index: 90; left: 0; top: 0; width: 42px; height: 42px; opacity: 0; pointer-events: none; border: 1px solid rgba(135,226,255,.72); border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.18), rgba(38,212,255,.08) 32%, rgba(38,212,255,.015) 58%, transparent 72%); box-shadow: 0 0 30px rgba(38,212,255,.12), inset 0 0 18px rgba(255,255,255,.08); transform: translate3d(-100px,-100px,0) translate(-50%, -50%); transition: width .24s, height .24s, border-color .24s, opacity .2s, box-shadow .24s, background .24s; will-change: transform; }
.mouse-glow::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.mouse-glow.visible { opacity: 1; }
.mouse-glow.hovering { width: 64px; height: 64px; border-color: rgba(255,255,255,.8); background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.22), rgba(255,120,31,.08) 36%, rgba(38,212,255,.04) 58%, transparent 74%); box-shadow: 0 0 34px rgba(255,255,255,.14), inset 0 0 20px rgba(255,255,255,.1); }
.mouse-reactive { position: relative; isolation: isolate; }
.mouse-reactive::before,
.mouse-reactive::after { content: ""; position: absolute; z-index: 5; inset: 0; pointer-events: none; opacity: 0; transition: opacity .22s ease, transform .24s ease; }
.mouse-reactive::before { inset: 1px; border: 1px solid rgba(255,255,255,.09); background:
  linear-gradient(135deg, rgba(255,255,255,.1), transparent 26%, transparent 74%, rgba(38,212,255,.14)),
  linear-gradient(90deg, rgba(38,212,255,.16), rgba(38,212,255,0)) left top / 42px 1px no-repeat,
  linear-gradient(180deg, rgba(38,212,255,.16), rgba(38,212,255,0)) left top / 1px 42px no-repeat;
  transform: scale(.988);
}
.mouse-reactive::after { background:
  radial-gradient(circle 200px at var(--mouse-x,50%) var(--mouse-y,50%), rgba(255,255,255,.1), rgba(38,212,255,.08) 28%, transparent 68%),
  linear-gradient(115deg, transparent 12%, rgba(255,255,255,.16) 40%, transparent 62%);
  background-size: auto, 180% 180%;
  background-position: center, var(--sweep-x,-120%) 50%;
}
.mouse-reactive.mouse-over::before,
.mouse-reactive.mouse-over::after { opacity: 1; }
.mouse-reactive.mouse-over::before { transform: scale(1); }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 112px; color: white; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 8px 30px rgba(5,25,58,.08); backdrop-filter: blur(12px); }
.nav-shell { max-width: 1240px; height: 100%; margin: auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.brand { width: 270px; height: 82px; display: flex; align-items: center; overflow: visible; }
.brand img, .footer-brand img { width: 100%; height: 100%; object-fit: contain; background: transparent; filter: brightness(1.08) saturate(1.12) contrast(1.04); }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; }
.nav-links a { position: relative; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--orange); transition: width .25s; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(255,255,255,.45); }
.scrolled .nav-cta { color: white; background: var(--blue); border-color: var(--blue); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.language-switch { display: grid; grid-template-columns: repeat(2, 36px); height: 32px; padding: 2px; border: 1px solid rgba(255,255,255,.36); background: rgba(255,255,255,.08); }
.language-switch button { min-width: 0; padding: 0; border: 0; color: inherit; background: transparent; font: 700 12px/1 Arial, sans-serif; }
.language-switch button.active { color: #071c4c; background: white; }
.scrolled .language-switch { border-color: var(--line); background: #f1f5fa; }
.scrolled .language-switch button.active { color: white; background: var(--blue); }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 9px; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 7px 0; transition: transform .25s; }

.hero { position: relative; min-height: 760px; height: 94vh; max-height: 940px; padding: 184px max(24px, calc((100vw - 1240px)/2)) 150px; display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: center; overflow: hidden; color: white; background:
  radial-gradient(circle at 76% 28%, rgba(93,134,255,.22) 0, rgba(93,134,255,0) 24%),
  radial-gradient(circle at 18% 18%, rgba(255,255,255,.08) 0, rgba(255,255,255,0) 22%),
  linear-gradient(140deg, #040814 0%, #09162d 38%, #0a2147 62%, #050b16 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(4,8,20,.72) 0%, rgba(4,8,20,.18) 42%, rgba(4,8,20,.46) 100%),
  radial-gradient(circle at 70% 50%, rgba(38,212,255,.08), transparent 28%),
  repeating-linear-gradient(90deg, transparent 0, transparent calc(14% - 1px), rgba(255,255,255,.035) 14%);
  pointer-events: none;
}
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(255,255,255,.03), transparent 18%, transparent 78%, rgba(3,10,20,.36)),
  radial-gradient(circle at 62% 62%, rgba(255,120,31,.08), transparent 16%);
  pointer-events: none;
}
.hero-particles { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 1; }
.hero-grid { position: absolute; width: 900px; height: 520px; right: -160px; bottom: -110px; border-radius: 42px; background:
  linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.01) 36%, rgba(38,212,255,.08) 82%, rgba(255,255,255,.02)),
  radial-gradient(circle at 35% 50%, rgba(255,255,255,.14), transparent 38%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 90px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.03);
  transform: rotate(-18deg);
  backdrop-filter: blur(4px);
  animation: hero-grid-drift 10s ease-in-out infinite;
}
.hero-grid::before,
.hero-grid::after { content: ""; position: absolute; inset: 14%; border-radius: 34px; }
.hero-grid::before { border: 1px solid rgba(255,255,255,.12); }
.hero-grid::after { inset: 22% 10%; background: linear-gradient(100deg, rgba(38,212,255,.18), rgba(255,255,255,0) 28%, rgba(255,255,255,.14) 54%, rgba(38,212,255,0) 84%); filter: blur(8px); }
.hero-content, .hero-visual { position: relative; z-index: 2; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--cyan); font: 700 12px/1.2 Arial, sans-serif; letter-spacing: 2.2px; }
.eyebrow span { display: inline-block; width: 34px; height: 2px; margin: 0 12px 3px 0; background: var(--orange); }
.hero h1 { margin: 0; font-size: clamp(46px, 5.3vw, 76px); line-height: 1.08; letter-spacing: 0; }
.hero-lead { max-width: 590px; margin: 22px 0 14px; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.4; font-weight: 700; }
.hero-copy { max-width: 570px; margin: 0; color: #afc1df; font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.button { min-height: 50px; padding: 0 25px; border: 0; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--blue); box-shadow: 0 12px 28px rgba(20,104,255,.25); }
.button.primary:hover { background: #2c79ff; }
.button.secondary { color: white; border: 1px solid rgba(255,255,255,.35); }
.button.secondary:hover { background: white; color: var(--ink); }
.hero-metrics { display: flex; gap: 38px; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); }
.hero-metrics div { display: flex; flex-direction: column; gap: 4px; }
.hero-metrics strong { font: 700 26px/1 Arial, sans-serif; }
.hero-metrics sup { color: var(--orange); font-size: 13px; }
.hero-metrics span { color: #8ea4c5; font-size: 12px; }
.hero-visual { min-width: 0; padding: 14px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(8,20,44,.62), rgba(7,17,34,.38)); box-shadow: 0 30px 90px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.04); transform: perspective(1200px) rotateY(-4deg); transition: opacity .7s ease, transform .18s ease-out, box-shadow .25s ease, border-color .25s ease; transform-style: preserve-3d; will-change: transform; backdrop-filter: blur(10px); }
.hero-visual:hover { border-color: rgba(255,255,255,.2); box-shadow: 0 38px 105px rgba(0,0,0,.5), 0 0 42px rgba(255,255,255,.08); }
.hero-visual::before { content: ""; position: absolute; inset: -1px; border-top: 2px solid var(--cyan); width: 22%; }
.hero-visual::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(38,212,255,.08); background:
  linear-gradient(180deg, rgba(255,255,255,.05), transparent 18%),
  linear-gradient(100deg, transparent 0, rgba(255,255,255,.16) 44%, rgba(38,212,255,.08) 52%, transparent 68%);
  background-size: auto, 240% 100%;
  background-position: center, var(--panel-scan, -140%) 0;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-visual img { width: 100%; aspect-ratio: 2/1; object-fit: cover; opacity: .92; }
.visual-label { position: absolute; z-index: 2; top: 22px; left: 24px; padding: 7px 10px; color: #aadaff; background: rgba(3,12,34,.72); font: 700 10px Arial; letter-spacing: 1.5px; }
.visual-label i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #45ffbc; box-shadow: 0 0 12px #45ffbc; }
.visual-caption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 18px; display: flex; justify-content: space-between; background: linear-gradient(90deg, rgba(3,12,34,.96), rgba(3,12,34,.55)); font-size: 12px; }
.visual-caption b { color: var(--cyan); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #7790b7; font: 700 9px Arial; letter-spacing: 2px; }
.scroll-cue span { height: 24px; width: 1px; background: var(--cyan); animation: scroll 1.8s infinite; }
@keyframes scroll { 0%,100% { transform: scaleY(.5); transform-origin: top; } 50% { transform: scaleY(1); } }
@keyframes hero-grid-drift { 0%, 100% { transform: rotate(-18deg) translate3d(0, 0, 0) scale(1); } 50% { transform: rotate(-15deg) translate3d(12px, -18px, 0) scale(1.02); } }

.trust-band { overflow: hidden; border-bottom: 1px solid var(--line); background: white; }
.trust-track { max-width: 1240px; min-height: 86px; margin: auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: #4c5a6b; font-size: 14px; white-space: nowrap; }
.trust-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.section { padding: 110px max(24px, calc((100vw - 1240px)/2)); }
.section-head { margin-bottom: 56px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.section-kicker { color: var(--blue); }
.section h2, .about h2, .contact h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.25; letter-spacing: 0; }
.section-head > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.service-list { border-top: 1px solid var(--line); }
.service-item { min-height: 162px; display: grid; grid-template-columns: 100px 1fr 240px; gap: 34px; align-items: center; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.service-item:hover { padding: 0 18px; background: var(--surface); }
.service-no { color: var(--blue); font: 700 13px Arial; }
.service-item h3 { margin: 0 0 10px; font-size: 24px; }
.service-item p { max-width: 640px; margin: 0; color: var(--muted); line-height: 1.7; }
.service-item b { color: #8090a5; font: 700 11px/1.6 Arial; letter-spacing: 1.2px; text-align: right; }

.cases { color: white; background: #05142e; }
.section-head.light > p { color: #92a6c4; }
.case-filters { margin-bottom: 34px; display: flex; gap: 6px; flex-wrap: wrap; }
.case-filters button { padding: 10px 16px; color: #8fa5c6; border: 1px solid #203b66; background: transparent; }
.case-filters button.active, .case-filters button:hover { color: white; border-color: var(--blue); background: var(--blue); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { position: relative; min-width: 0; border: 1px solid transparent; background: #0a2045; overflow: hidden; transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease, opacity .25s; }
.case-card:hover { border-color: rgba(38,212,255,.32); background: #0c2854; box-shadow: 0 12px 30px rgba(0,8,28,.24); }
.case-card.hidden { display: none; }
.case-card.case-feature { grid-column: span 2; }
.case-image { height: 270px; overflow: hidden; background: #071a3d; }
.case-feature .case-image { height: 320px; }
.case-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s; }
.case-card:hover > .case-image > img { transform: scale(1.012); }
.case-collage { padding: 22px 14px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 9px; background: radial-gradient(circle at 50% 100%, #12366f, #071a3d 68%); }
.phone-frame { position: relative; width: 100%; aspect-ratio: 1320 / 2868; padding: 5px; display: block; align-self: end; border: 1px solid #8c9299; border-radius: 20px; background: linear-gradient(115deg, #d1d4d6 0, #686f76 18%, #aeb3b7 45%, #555c63 75%, #c5c8ca 100%); box-shadow: 0 11px 20px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.38), inset 0 0 0 3px #090b0e; overflow: hidden; transform: scale(.92); transform-origin: bottom center; }
.phone-frame:nth-child(2) { z-index: 1; transform: none; border-color: #b5b9bd; box-shadow: 0 15px 27px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.46), inset 0 0 0 3px #090b0e; }
.phone-frame::before { content: ""; position: absolute; z-index: 3; top: 9px; left: 50%; width: 31%; height: 7px; border-radius: 8px; background: #030406; box-shadow: inset -4px 0 5px rgba(35,54,76,.48), 0 1px 3px rgba(0,0,0,.42); transform: translateX(-50%); }
.phone-frame::after { content: ""; position: absolute; z-index: 3; left: 50%; bottom: 8px; width: 28%; height: 2px; border-radius: 2px; background: rgba(255,255,255,.72); box-shadow: 0 0 2px rgba(0,0,0,.38); transform: translateX(-50%); }
.phone-screen { position: relative; width: 100%; height: 100%; display: block; border: 2px solid #090b0e; border-radius: 16px; background: #dfe5ea; overflow: hidden; }
.phone-screen::before { content: ""; position: absolute; z-index: 0; inset: -3px; background-image: var(--screen-image); background-position: center; background-size: cover; filter: blur(1.5px) saturate(.96); opacity: .96; transform: scale(1.02); }
.phone-screen::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(7,16,31,.1), transparent 18%, transparent 82%, rgba(7,16,31,.12)); pointer-events: none; }
.case-collage .phone-screen img { position: relative; z-index: 2; width: 100%; height: 100%; min-width: 0; border: 0; border-radius: 14px; background: transparent; object-fit: contain; object-position: center; filter: none; transform: none; }
.case-card:hover .phone-frame img { transform: none; }
.case-info { min-height: 205px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.case-info > span { color: var(--cyan); font-size: 12px; }
.case-info h3 { margin: 9px 0 12px; font-size: 24px; }
.case-info p { margin: 0; color: #9cafcc; font-size: 14px; line-height: 1.7; }
.case-info button { margin-top: auto; padding: 18px 0 0; color: white; border: 0; background: transparent; font-size: 13px; transition: color .22s ease, transform .22s ease; }
.case-card:hover .case-info button { color: var(--cyan); transform: translateX(4px); }

.process { background: var(--surface); }
.process-line { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.process-line::before { content: ""; position: absolute; top: 19px; left: 4%; right: 4%; height: 1px; background: #c9d7ea; }
.process-line article { position: relative; padding-top: 65px; }
.process-line article::before { content: ""; position: absolute; z-index: 1; top: 14px; left: 0; width: 11px; height: 11px; border: 4px solid var(--surface); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.process-line span { position: absolute; top: 0; left: 29px; color: #90a1b6; font: 700 11px Arial; }
.process-line h3 { margin: 0 0 12px; font-size: 19px; }
.process-line p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.about { padding: 120px max(24px, calc((100vw - 1240px)/2)); color: white; background: linear-gradient(110deg, #0b2861, #0a3c8d 62%, #075cb3); }
.about-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: center; }
.about .section-kicker { color: var(--cyan); }
.about-copy > p:not(.section-kicker) { margin: 30px 0; color: #b9cae3; font-size: 16px; line-height: 1.95; }
.about-values { display: flex; flex-wrap: wrap; gap: 10px; }
.about-values span { padding: 8px 12px; border-left: 2px solid var(--orange); background: rgba(0,0,0,.12); font-size: 13px; }
.about-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.15); }
.about-stat { min-height: 150px; padding: 30px 18px; display: flex; flex-direction: column; justify-content: center; background: rgba(5,24,64,.48); }
.about-stat strong { font: 700 35px Arial; }
.about-stat span { margin-top: 9px; color: #b8cce9; font-size: 12px; }
.tech-stack { grid-column: 1/-1; padding: 28px; display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; background: rgba(5,24,64,.48); }
.tech-stack span { padding: 11px 5px; color: #b8cce9; border: 1px solid rgba(255,255,255,.12); text-align: center; font: 700 11px Arial; }

.contact { padding: 120px max(24px, calc((100vw - 1240px)/2)); background: #fff; }
.contact-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.contact-copy > p:not(.section-kicker) { margin: 26px 0; color: var(--muted); line-height: 1.85; }
.contact-note { margin-top: 44px; padding: 18px 0; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-note span { color: var(--blue); font-size: 13px; }
.contact-note b { font-size: 14px; }
.project-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.project-form label { display: flex; flex-direction: column; gap: 10px; color: #46566b; font-size: 13px; }
.project-form label:nth-child(4), .project-form button, .form-hint { grid-column: 1/-1; }
.project-form input, .project-form select, .project-form textarea { width: 100%; padding: 15px 0; color: var(--ink); border: 0; border-bottom: 1px solid #becde0; border-radius: 0; outline: none; background: white; resize: vertical; }
.project-form input:focus, .project-form select:focus, .project-form textarea:focus { border-color: var(--blue); }
.project-form .button { width: 220px; margin-top: 8px; }
.project-form .button.is-submitting { opacity: .82; pointer-events: none; }
.project-form .button.is-success { background: #0c8b60; box-shadow: 0 12px 28px rgba(12,139,96,.24); }
.form-hint { margin: -12px 0 0; color: #8997a9; font-size: 12px; }
.form-hint.success { color: #0c8b60; }
.form-hint.error { color: #c53f3f; }

footer { padding: 64px max(24px, calc((100vw - 1240px)/2)) 34px; color: #8da0bf; background: #020a18; font-size: 12px; }
.footer-contact { display: grid; grid-template-columns: .72fr 1.28fr; gap: 54px; align-items: center; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-contact .section-kicker { color: var(--cyan); }
.footer-contact h2 { margin: 0; color: white; font-size: clamp(28px, 3vw, 42px); line-height: 1.24; }
.footer-contact-copy > p:not(.section-kicker) { max-width: 440px; margin: 18px 0 0; color: #9eb1d0; font-size: 15px; line-height: 1.8; }
.footer-contact-lines { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; color: #fff; font-size: 14px; }
.footer-contact-lines span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.contact-qrcodes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-qrcodes article { min-width: 0; padding: 14px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.02); }
.contact-qrcodes img { width: 100%; aspect-ratio: 1; padding: 8px; object-fit: contain; background: white; }
.contact-qrcodes span { display: block; margin-top: 12px; color: white; font-size: 14px; text-align: center; }
.footer-bottom { min-height: 118px; padding-top: 28px; display: grid; grid-template-columns: 280px 1fr auto; gap: 40px; align-items: center; }
.footer-brand { width: 270px; height: 90px; overflow: visible; }
.footer-brand img { filter: drop-shadow(0 0 16px rgba(255,150,24,.22)); }

.case-dialog { width: min(960px, calc(100% - 32px)); max-height: 88vh; padding: 0; color: var(--ink); border: 0; border-radius: 2px; box-shadow: 0 30px 100px rgba(0,0,0,.55); overflow: auto; }
.case-dialog::backdrop { background: rgba(0,8,24,.82); backdrop-filter: blur(6px); }
.dialog-close { position: fixed; z-index: 4; margin: 14px 0 0 -52px; width: 38px; height: 38px; color: white; border: 0; background: rgba(3,14,37,.72); font-size: 25px; }
.dialog-media { height: 420px; background: #061b42; }
.dialog-media img { width: 100%; height: 100%; object-fit: contain; }
.dialog-content { padding: 34px 40px 42px; }
.dialog-tag { color: var(--blue); font-size: 12px; }
.dialog-content h2 { margin: 8px 0 14px; font-size: 32px; }
.dialog-content > p { margin: 0; color: var(--muted); line-height: 1.8; }
.dialog-points { margin-top: 24px; padding-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); }
.dialog-points span { padding-left: 12px; border-left: 2px solid var(--orange); font-size: 13px; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 30px; padding: 13px 20px; color: white; background: #082250; box-shadow: 0 12px 32px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.hero-visual.reveal.visible { transform: perspective(1200px) rotateY(-4deg); }

@media (max-width: 980px) {
  .site-header { height: 92px; }
  .brand { width: 196px; height: 64px; }
  .nav-shell { padding: 0 16px; gap: 10px; }
  .header-tools { margin-left: auto; }
  .language-switch { grid-template-columns: repeat(2, 32px); height: 30px; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; top: 92px; left: 0; right: 0; bottom: 0; padding: 44px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; color: var(--ink); background: white; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: .25s; }
  .menu-open .nav-links { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { width: 100%; padding: 19px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav-links .nav-cta { margin-top: 20px; padding: 15px 20px; color: white; background: var(--blue); border: 0; text-align: center; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .hero { height: auto; min-height: 920px; padding-top: 156px; grid-template-columns: 1fr; gap: 50px; }
  .hero-visual, .hero-visual.reveal.visible { max-width: 760px; transform: none; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case-card.case-feature { grid-column: span 2; }
  .process-line { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .process-line::before { display: none; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 60px; }
  .contact-inner { max-width: 760px; }
  .footer-contact { grid-template-columns: 1fr; gap: 30px; }
  .footer-contact-lines { gap: 10px 14px; }
  .footer-bottom { grid-template-columns: 1fr 1fr; }
  .footer-bottom p:last-child { grid-column: 1/-1; }
}

@media (max-width: 760px) {
  .hero { min-height: 800px; padding: 128px 24px 48px; gap: 28px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 25px; }
  .hero-copy { font-size: 15px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .button { flex: 1; min-width: 140px; }
  .hero-metrics { gap: 18px; margin-top: 34px; padding-top: 18px; }
  .hero-metrics strong { font-size: 21px; }
  .hero-metrics span { font-size: 10px; }
  .hero-grid { width: 720px; height: 420px; right: -180px; bottom: -80px; }
  .hero-visual { padding: 7px; }
  .hero-visual img { aspect-ratio: 1.65/1; }
  .visual-caption, .scroll-cue { display: none; }
  .visual-label { top: 14px; left: 14px; }
  .trust-track { justify-content: flex-start; overflow-x: auto; }
  .section, .about, .contact { padding: 82px 24px; }
  .section h2, .about h2, .contact h2 { font-size: 34px; }
  .service-item { min-height: 0; padding: 28px 0; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
  .service-item b { grid-column: 2; text-align: left; }
  .service-item:hover { padding: 28px 12px; }
  .case-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
  .case-filters button { flex: 0 0 auto; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card.case-feature { grid-column: auto; }
  .case-image, .case-feature .case-image { height: 240px; }
  .process-line { grid-template-columns: 1fr; gap: 12px; }
  .process-line article { min-height: 128px; padding: 24px 20px 24px 72px; background: white; }
  .process-line article::before { top: 30px; left: 26px; border-color: white; }
  .process-line span { top: 29px; left: 44px; }
  .about-panel { grid-template-columns: 1fr; }
  .tech-stack { grid-column: auto; }
  .about-stat { min-height: 110px; }
  .project-form { grid-template-columns: 1fr; }
  .project-form label, .project-form label:nth-child(4), .project-form button, .form-hint { grid-column: 1; }
  .project-form .button { width: 100%; }
  footer { padding-top: 50px; }
  .contact-qrcodes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .contact-qrcodes article { padding: 10px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 15px; }
  .footer-bottom p:last-child { grid-column: auto; }
  .dialog-media { height: 260px; }
  .dialog-content { padding: 28px 24px 34px; }
  .dialog-points { grid-template-columns: 1fr; }
  .dialog-close { position: absolute; right: 10px; margin: 10px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (hover: none), (pointer: coarse) {
  .mouse-glow, .mouse-spark { display: none; }
}
