/* VORBY · визуальное обновление. Содержимое и прайс находятся в исходных файлах. */
:root {
  --bg: #080e12;
  --surface: #111c24;
  --surface-2: #152630;
  --text: #f2f7f9;
  --muted: #a1b0bb;
  --line: #293d49;
  --lime: #79f5c4;
  --dark: #062a23;
  --header-bg: #0b1319d9;
  --theme-wipe: #080e12;
  --radius: 26px;
  --container: 1280px;
  --accent-blue: #82b6ff;
  --accent-rgb: 121, 245, 196;
  --blue-rgb: 76, 146, 244;
  --glass: #101d27c9;
  --shadow: 0 22px 64px #00000024;
}
html[data-theme="light"] {
  --bg: #f7fafc;
  --surface: #ffffff;
  --surface-2: #edf4fa;
  --text: #142838;
  --muted: #586e7d;
  --line: #d7e4eb;
  --lime: #245cde;
  --dark: #ffffff;
  --header-bg: #ffffffdc;
  --theme-wipe: #f7fafc;
  --accent-blue: #245cde;
  --accent-rgb: 36, 92, 222;
  --blue-rgb: 45, 129, 221;
  --glass: #ffffffd9;
  --shadow: 0 22px 64px #1c507214;
}
html { scroll-padding-top: 110px; }
body { overflow-x: clip; }
main, .footer { position: relative; }
.container { width: min(var(--container), calc(100% - 80px)); }
.ambient-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .13; }
.ambient-orb-one { width: 55vw; height: 60vh; right: -16vw; top: -12vh; background: #43e3ac; }
.ambient-orb-two { width: 42vw; height: 65vh; left: -30vw; top: 40vh; background: #357ae6; }
.ambient-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 88px 88px; opacity: .11; mask-image: linear-gradient(#000, transparent 84%); }
html[data-theme="light"] .ambient-orb { opacity: .09; }
.page-progress { height: 3px; background: linear-gradient(90deg, var(--lime), var(--accent-blue)); box-shadow: 0 0 12px rgba(var(--accent-rgb), .45); }
.header { margin: 16px auto 0; width: min(1360px, calc(100% - 32px)); top: 16px; border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(24px); box-shadow: 0 8px 32px #00000010; }
.header-inner { height: 72px; gap: 24px; width: calc(100% - 40px); }
.brand-mark { display: none; }
.brand-name, .footer .brand { font-weight: 650; letter-spacing: -.025em; }
.nav-cube { width: 39px; height: 39px; flex-basis: 39px; filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .15)); }
.nav { gap: 26px; }
.nav a, html[data-theme="light"] .nav a { font-size: 13px; color: var(--muted); position: relative; padding: 10px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--lime); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a:hover, .nav a.active, html[data-theme="light"] .nav a:hover, html[data-theme="light"] .nav a.active { color: var(--text); }
.header-actions { gap: 22px; }
.header-contact { border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; gap: 18px; font-size: 12px; background: rgba(var(--accent-rgb), .035); }
.header-contact:hover { border-color: var(--lime); }
.theme-toggle-track { border-color: var(--line); background: #162630; }
.theme-toggle-label { font-size: 10px; min-width: 47px; }
.hero { padding-top: 38px; }
.hero-top .eyebrow { font-size: 10px; letter-spacing: .14em; }
.hero-index { font-size: 10px; opacity: .6; }
.hero-layout { grid-template-columns: 1fr 1.03fr; gap: 52px; padding: 42px 0 40px; min-height: 670px; }
.hero-content { position: relative; z-index: 4; }
.intro { font-size: 15px; margin-bottom: 25px; color: var(--muted); }
.intro [data-owner] { color: var(--text); }
.wave { color: var(--lime); font-size: 22px; }
h1 { font-size: clamp(64px, 6.8vw, 98px); line-height: 1.02; font-weight: 650; letter-spacing: -.067em; }
.rotating-line { min-width: 5.8ch; }
.hero-description { font-size: 16px; max-width: 430px; line-height: 1.8; margin-top: 28px; }
.hero-actions { margin-top: 34px; gap: 25px; }
.button { border-radius: 14px; font-size: 13px; font-weight: 600; padding: 17px 22px; gap: 30px; transition: translate .25s, background .25s, box-shadow .25s; }
.button-lime { background: var(--lime); color: var(--dark); box-shadow: 0 5px 25px rgba(var(--accent-rgb), .12); }
.button-lime:hover, html[data-theme="light"] .button-lime:hover { background: var(--lime); box-shadow: 0 10px 36px rgba(var(--accent-rgb), .26); translate: 0 -3px; }
.button > span { transition: transform .25s; }
.button:hover > span { transform: translate(3px, -3px); }
.text-link { font-size: 12px; gap: 14px; }
.hero-notes { margin-top: 28px; font-size: 11px; }
.hero-notes > span:first-child::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: 2px; box-shadow: 0 0 9px rgba(var(--accent-rgb), .4); }
.hero-visual, html[data-theme="light"] .hero-visual { width: 100%; max-width: none; min-height: 520px; aspect-ratio: 1 / 1.03; border-radius: 34px; border: 1px solid var(--line); background: radial-gradient(ellipse at 60% 28%, rgba(var(--accent-rgb), .12), transparent 56%), radial-gradient(ellipse at 24% 76%, rgba(var(--blue-rgb), .17), transparent 55%), var(--glass); box-shadow: inset 0 1px 0 #ffffff10, var(--shadow); }
.hero-visual::before { content: ''; position: absolute; inset: 1px; border-radius: 33px; border-top: 1px solid rgba(var(--accent-rgb), .3); pointer-events: none; }
.visual-grid, html[data-theme="light"] .visual-grid { opacity: .7; background-image: linear-gradient(rgba(var(--accent-rgb), .05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), .05) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(ellipse, #000, transparent 75%); }
.visual-topline, .visual-bottomline { color: var(--muted); font-size: 9px; letter-spacing: .12em; left: 26px; right: 26px; z-index: 5; }
.visual-topline { top: 24px; }
.visual-bottomline { bottom: 24px; }
.cube-atmosphere { position: absolute; inset: 0; pointer-events: none; transform: rotate(calc(var(--hero-progress, 0) * 22deg)); }
.cube-orbits { width: 100%; height: 100%; opacity: .52; animation: orbit-breathe 8s ease-in-out infinite; }
html[data-theme="light"] .cube-orbits { opacity: .32; }
.cube-glow, html[data-theme="light"] .cube-glow { inset: 24% 15%; background: radial-gradient(ellipse, rgba(var(--accent-rgb), .24), transparent 65%); filter: blur(22px); transform: scale(calc(1 + var(--hero-progress, 0) * .16)); }
.cube-shadow, html[data-theme="light"] .cube-shadow { background: rgba(var(--blue-rgb), .21); width: 50%; left: 25%; bottom: 24%; filter: blur(22px); }
.cube-caption { bottom: 13%; left: 50%; right: auto; width: max-content; max-width: calc(100% - 32px); transform: translateX(-50%); padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--glass); backdrop-filter: blur(12px); font-size: 9px; letter-spacing: .17em; white-space: nowrap; }
.cube-caption-line { background: var(--lime); width: 18px; }
.floating-tag, html[data-theme="light"] .floating-tag { z-index: 3; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 8px 24px #00000010; color: var(--text); backdrop-filter: blur(16px); font-size: 10px; border-radius: 9px; padding: 9px 12px; animation-duration: 7s; }
.hero-visual .tag-one { top: 23%; left: 6%; transform: rotate(-7deg); }
.hero-visual .tag-two { bottom: 23%; right: 5%; transform: rotate(5deg); }
.scene-particle { position: absolute; width: 6px; height: 6px; background: var(--lime); box-shadow: 0 0 18px var(--lime); border-radius: 50%; animation: particle-drift 7s ease-in-out infinite; }
.particle-one { top: 20%; right: 20%; }
.particle-two { bottom: 19%; left: 23%; width: 3px; height: 3px; animation-delay: -3s; }
.particle-three { top: 44%; left: 15%; width: 3px; height: 3px; background: var(--accent-blue); animation-delay: -5s; }
.hero-bottom { border-color: var(--line); font-size: 11px; padding: 21px 0; }
.hero-bottom a > span { color: var(--lime); }
.marquee, html[data-theme="light"] .marquee { background: rgba(var(--accent-rgb), .035); border-block-color: var(--line); padding: 20px 0; margin-top: 12px; transform: skewY(-1.2deg); }
.marquee-track > span { font-size: 18px; letter-spacing: .07em; font-weight: 500; }
.marquee i { font-size: 22px; margin-inline: 38px; }
.section { padding-top: 116px; }
h2 { font-size: clamp(38px, 4.25vw, 62px); line-height: 1.09; }
.section-heading { gap: 48px; margin-bottom: 46px; }
.section-heading .eyebrow, .faq-heading .eyebrow { font-size: 10px; letter-spacing: .14em; margin-bottom: 22px; }
.section-description { font-size: 14px; max-width: 300px; line-height: 1.8; }
.service-grid { gap: 22px; }
.service-card, html[data-theme="light"] .service-card { position: relative; overflow: hidden; padding: 30px; background: linear-gradient(145deg, rgba(var(--blue-rgb), .025), transparent 65%), var(--glass); border: 1px solid var(--line); box-shadow: inset 0 1px 0 #ffffff08, var(--shadow); }
.service-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--pointer-x, 50%) var(--pointer-y, 0%), rgba(var(--accent-rgb), .09), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.service-card:hover::before { opacity: 1; }
.service-card:hover, html[data-theme="light"] .service-card:hover { background-color: var(--glass); border-color: rgba(var(--accent-rgb), .45); transform: translateY(-6px); box-shadow: 0 18px 50px rgba(var(--blue-rgb), .08); }
.service-symbol { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid rgba(var(--accent-rgb), .16); background: rgba(var(--accent-rgb), .045); border-radius: 17px; font-size: 26px; }
.card-top { margin-bottom: 34px; }
.small-label, html[data-theme="light"] .small-label { color: var(--muted); opacity: .7; }
.service-card h3 { font-size: 31px; }
.service-card > p { font-size: 13px; line-height: 1.8; }
.service-card li { font-size: 13px; margin: 12px 0; }
.service-card li::before, html[data-theme="light"] .service-card li::before { color: var(--accent-blue); }
.card-footer { font-size: 13px; }
.card-footer > span { font-weight: 600; }
.included-strip { margin-top: 28px; background: rgba(var(--accent-rgb), .025); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; font-size: 11px; }
.included-title { font-size: 11px; }
.included-strip > div { gap: 14px 24px; }
.included-strip > div > span::before { color: var(--lime); }
/* Реальная работа: два скриншота внутри устройств. */
.featured-project { position: relative; display: grid; grid-template-columns: .85fr 1.4fr; gap: 30px; align-items: center; min-height: 560px; border: 1px solid var(--line); border-radius: 28px; margin-bottom: 44px; padding: 48px; background: radial-gradient(ellipse at 90% 90%, rgba(var(--blue-rgb), .13), transparent 60%), var(--glass); overflow: hidden; box-shadow: var(--shadow); }
.featured-info { position: relative; z-index: 3; }
.project-type { font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.project-live-dot { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 9px rgba(var(--accent-rgb), .4); }
.featured-info h3 { margin: 24px 0 20px; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.07; letter-spacing: -.045em; }
.featured-info h3 > span { color: var(--muted); }
.featured-info > p { color: var(--muted); font-size: 13px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0 36px; max-width: 310px; }
.project-tags > span { border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; color: var(--muted); font-size: 10px; }
.preview-control { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--muted); font-size: 11px; margin-top: 18px; padding: 8px 0; }
.preview-control:hover { color: var(--text); }
.preview-control-symbol { width: 14px; font-size: 12px; }
.project-devices { position: relative; padding: 28px 42px 48px 0; width: 100%; min-width: 0; perspective: 1200px; }
.desktop-device { border: 1px solid #ffffff30; border-radius: 14px; background: #eff0ee; box-shadow: 0 22px 44px #00000035; overflow: hidden; transform: rotateY(-7deg) rotateX(3deg); transition: transform 1s cubic-bezier(.2,.7,.3,1); position: relative; z-index: 1; }
.featured-project:hover .desktop-device { transform: rotateY(-2deg) rotateX(0deg); }
.browser-chrome { height: 31px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 8px/1.2 Arial, sans-serif; color: #687078; background: #f2f3f5; }
.browser-chrome > span:nth-child(2) { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.browser-dots { display: flex; gap: 4px; }
.browser-dots i { width: 5px; height: 5px; background: #c5cad0; border-radius: 50%; }
.browser-dots i:first-child { background: #e49d95; }
.browser-dots i:nth-child(2) { background: #e7cc8a; }
.browser-dots i:last-child { background: #9cbdae; }
.browser-chrome a { font-size: 16px; padding: 2px; }
.capture-viewport { height: clamp(260px, 28vw, 390px); overflow: hidden; background: #fff7f3; }
.site-capture { display: block; width: 100%; height: auto; animation: capture-tour var(--capture-duration, 32s) linear infinite; animation-play-state: paused; }
.featured-project.is-inview .site-capture { animation-play-state: running; }
.featured-project.preview-paused .site-capture { animation-play-state: paused; }
.phone-device { position: absolute; z-index: 2; width: 128px; aspect-ratio: 390 / 844; border: 5px solid #182b35; border-radius: 25px; right: 0; bottom: 6px; overflow: hidden; background: #fff9f6; box-shadow: 0 14px 28px #00000040; transform: rotate(4deg); }
.phone-device img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-island { position: absolute; width: 42px; height: 9px; top: 5px; left: calc(50% - 21px); border-radius: 8px; background: #182b35; }
.device-reflection { position: absolute; left: 15%; right: 0; height: 46px; bottom: -12px; background: rgba(var(--blue-rgb), .17); filter: blur(26px); border-radius: 50%; }
.work-grid { gap: 26px; }
.work-card { border: 1px solid var(--line); padding: 12px 12px 0; border-radius: 22px; background: var(--glass); }
.project-preview { border-radius: 13px; }
.project-meta { padding: 20px 9px 23px; }
.project-meta h3 { font-size: 23px; margin-top: 8px; }
.project-meta a { border: 1px solid var(--line); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--lime); }
.project-meta a:hover { border-color: var(--lime); background: rgba(var(--accent-rgb), .05); }
.work-card:hover .project-preview { transform: none; box-shadow: none; }
.preview-hint, html[data-theme="light"] .preview-hint { font-size: 9px; background: #132735dc; color: #f5faff; }
.live-preview-card .site-scroll { animation-play-state: paused; }
.live-preview-card.is-inview .site-scroll { animation-play-state: running; }
/* Калькулятор: контраст, аккуратные интервалы, единая палитра. */
.calculator-section, html[data-theme="light"] .calculator-section { background: linear-gradient(145deg, rgba(var(--blue-rgb), .045), rgba(var(--accent-rgb), .025)); border-block: 1px solid var(--line); padding: 90px 0; margin-top: 116px; }
.calculator-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 76px; align-items: start; }
.calculator-options legend { font-size: 17px; }
.step-badge { background: rgba(var(--accent-rgb), .06); border-color: var(--line); color: var(--lime); border-radius: 9px; }
.base-option-inner, html[data-theme="light"] .base-option-inner { border-color: var(--line); background: var(--glass); border-radius: 17px; padding: 20px; }
.base-option input:checked + .base-option-inner, html[data-theme="light"] .base-option input:checked + .base-option-inner { background: var(--lime); border-color: var(--lime); color: var(--dark); box-shadow: 0 6px 24px rgba(var(--accent-rgb), .12); }
.base-option input:checked + .base-option-inner .base-icon, .base-option input:checked + .base-option-inner > span:last-child { color: #164e41; }
html[data-theme="light"] .base-option input:checked + .base-option-inner .base-icon, html[data-theme="light"] .base-option input:checked + .base-option-inner > span:last-child { color: #e3edff; }
.base-description { line-height: 1.85; margin-top: 24px; }
.base-more, .more-button { font: 11px Arial, sans-serif; letter-spacing: .02em; padding: 10px 2px; }
.extra-option, html[data-theme="light"] .extra-option { border-color: var(--line); padding: 21px 0; column-gap: 18px; }
.extra-title { font-size: 14px; font-weight: 500; }
.extra-description { font-size: 12px; margin-top: 5px; }
.extra-option input, html[data-theme="light"] .extra-option input { border-color: var(--line); background: var(--surface); width: 23px; height: 23px; border-radius: 7px; }
.extra-option input:checked, html[data-theme="light"] .extra-option input:checked { background: var(--lime); border-color: var(--lime); }
.extra-option input:checked::after { color: var(--dark); }
.extra-price { font-size: 12px; }
.extra-actions { flex-direction: column; align-items: flex-end; gap: 2px; }
.extra-option:has(input:checked) .extra-title { color: var(--lime); }
.service-details, html[data-theme="light"] .service-details { border-color: var(--line); font-size: 12px; line-height: 1.85; }
.service-details p { margin: 12px 0; }
.estimate-card, html[data-theme="light"] .estimate-card { top: 112px; border-color: var(--line); background: radial-gradient(ellipse at 100% 0%, rgba(var(--accent-rgb), .08), transparent 65%), var(--surface); padding: 30px; box-shadow: var(--shadow); }
.estimate-card::before { content: ''; position: absolute; height: 2px; top: -1px; left: 26px; right: 26px; background: linear-gradient(90deg, transparent, var(--lime), transparent); }
.estimate-top .eyebrow { font-size: 10px; }
.estimate-card h3 { font-size: 29px; }
#estimate-total { font-size: 54px; letter-spacing: -.055em; font-weight: 600; }
.estimate-lines > div { line-height: 1.65; }
.estimate-note { font-size: 12px; }
.copy-button { font-size: 12px; padding-top: 20px; }
.reset-button { font-size: 11px; }
/* Этапы и вопросы. */
.process-grid { position: relative; gap: 28px; }
.process-grid::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--lime) calc(var(--process-progress, 0) * 100%), var(--line) 0); }
.process-step { border-top: 0; padding-top: 28px; }
.process-step > span { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: rgba(var(--accent-rgb), .035); border-radius: 12px; width: 45px; height: 45px; color: var(--lime); font-size: 13px; }
.process-step h3 { font-size: 23px; margin-top: 24px; }
.process-step p { color: var(--muted); line-height: 1.8; font-size: 13px; }
.faq-section { padding-bottom: 10px; }
.faq-list details { border-color: var(--line); }
.faq-list summary { font-size: 15px; padding: 25px 0; gap: 20px; }
.faq-list summary > span { display: grid; place-items: center; height: 28px; width: 28px; flex: 0 0 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--lime); font-size: 18px; }
.faq-list details p { line-height: 1.85; }
.contact-section { padding-top: 100px; padding-bottom: 52px; }
.contact-panel, html[data-theme="light"] .contact-panel { position: relative; color: var(--text); background: radial-gradient(ellipse at 82% 120%, rgba(var(--blue-rgb), .23), transparent 55%), radial-gradient(ellipse at 5% 0%, rgba(var(--accent-rgb), .13), transparent 55%), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 65px; }
.contact-panel::before { content: ''; pointer-events: none; position: absolute; inset: 0; border-radius: inherit; border-top: 1px solid rgba(var(--accent-rgb), .3); }
.contact-panel .eyebrow, html[data-theme="light"] .contact-panel .eyebrow { color: var(--lime); font-size: 10px; }
.contact-panel h2 > span, html[data-theme="light"] .contact-panel h2 > span { color: var(--lime); }
.contact-panel > div > p:last-child, html[data-theme="light"] .contact-panel > div > p:last-child { color: var(--muted); }
.contact-action { padding-bottom: 20px; min-width: 290px; }
.contact-action .button-dark, html[data-theme="light"] .contact-action .button-dark { background: var(--lime); color: var(--dark); box-shadow: 0 8px 30px rgba(var(--accent-rgb), .13); }
.contact-action .button-dark:hover, html[data-theme="light"] .contact-action .button-dark:hover { background: var(--lime); box-shadow: 0 10px 40px rgba(var(--accent-rgb), .25); }
.contact-phone, html[data-theme="light"] .contact-phone { color: var(--text); border-color: var(--line); padding: 18px 2px; font-size: 16px; }
.contact-phone > span, html[data-theme="light"] .contact-phone > span { color: var(--lime); }
.contact-phone:hover, html[data-theme="light"] .contact-phone:hover { color: var(--lime); border-color: var(--lime); }
.contact-action > p, html[data-theme="light"] .contact-action > p { color: var(--muted); }
.contact-star { font-size: 180px; right: -55px; bottom: -170px; color: var(--lime); opacity: .09; }
.footer { padding-bottom: 35px; font-size: 11px; }
.footer .brand { font-size: 13px; }
.toast, html[data-theme="light"] .toast { background: var(--surface); color: var(--text); border-color: var(--line); box-shadow: var(--shadow); }
.mobile-estimate.visible, html[data-theme="light"] .mobile-estimate.visible { background: var(--header-bg); border-color: var(--line); }
.copy-dialog { background: var(--surface); border-color: var(--line); }
.theme-wipe { display: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-reveal .65s cubic-bezier(.2,.7,.2,1) both; }
.theme-switching main { animation: theme-fallback .55s ease; }
.js-motion .reveal { transform: translateY(35px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.js-motion .reveal.visible { transform: none; }
.js-motion .hero-content > * { animation: hero-arrive .9s cubic-bezier(.2,.8,.2,1) both; }
.js-motion .hero-content > :nth-child(2) { animation-delay: .08s; }
.js-motion .hero-content > :nth-child(3) { animation-delay: .16s; }
.js-motion .hero-content > :nth-child(4) { animation-delay: .24s; }
.js-motion .hero-content > :nth-child(5) { animation-delay: .32s; }
.js-motion .hero-visual { animation: hero-arrive 1.2s .15s cubic-bezier(.2,.8,.2,1) both; }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes theme-reveal { from { clip-path: circle(0px at var(--theme-x, 90%) var(--theme-y, 45px)); } to { clip-path: circle(var(--theme-radius, 180vmax) at var(--theme-x, 90%) var(--theme-y, 45px)); } }
@keyframes theme-fallback { from { opacity: .6; filter: blur(2px); } to { opacity: 1; filter: none; } }
@keyframes orbit-breathe { 50% { opacity: .3; transform: scale(1.035) rotate(4deg); } }
@keyframes particle-drift { 50% { translate: 0 -14px; opacity: .4; } }
@keyframes capture-tour { 0%, 12% { transform: translateY(0); } 76%, 86% { transform: translateY(var(--capture-shift, 0px)); } 100% { transform: translateY(0); } }
@media (min-width: 1450px) { .hero-layout { gap: 76px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 48px); }
  .header-inner { width: calc(100% - 32px); gap: 18px; }
  .nav { gap: 18px; }
  .header-actions { gap: 16px; }
  .theme-toggle-label { display: none; }
  .hero-layout { gap: 30px; min-height: 610px; }
  h1 { font-size: clamp(64px, 7.5vw, 82px); }
  .hero-visual { min-height: 470px; }
  .service-card, html[data-theme="light"] .service-card { padding: 24px; }
  .featured-project { padding: 36px; grid-template-columns: .8fr 1.25fr; }
  .featured-info h3 { font-size: 38px; }
  .phone-device { width: 104px; border-radius: 21px; }
  .capture-viewport { height: 320px; }
  .calculator-layout { gap: 38px; grid-template-columns: minmax(0, 1fr) 330px; }
  .estimate-card, html[data-theme="light"] .estimate-card { padding: 25px; }
  .contact-panel, html[data-theme="light"] .contact-panel { padding: 48px; }
}
@media (max-width: 800px) {
  .header { top: 10px; margin-top: 10px; width: calc(100% - 24px); border-radius: 16px; }
  .header-inner { height: 62px; gap: 12px; }
  .header-contact { display: none; }
  .header-actions { gap: 10px; }
  .nav { top: 74px; left: -1px; right: -1px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); background: var(--header-bg) !important; backdrop-filter: blur(24px); }
  .nav a { padding: 14px 0; }
  .nav a::after { bottom: 8px; right: auto; width: 40px; }
  .brand-name { display: inline; font-size: 12px; }
  .hero { padding-top: 30px; }
  .hero-layout { grid-template-columns: 1fr; min-height: auto; gap: 35px; padding-top: 36px; }
  .hero-content { max-width: 100%; }
  h1 { font-size: clamp(62px, 10vw, 82px); }
  .hero-description { max-width: 480px; }
  .hero-visual, html[data-theme="light"] .hero-visual { min-height: 0; aspect-ratio: 1.32; max-height: 490px; border-radius: 26px; }
  .hero-visual .tag-one { top: 22%; left: 4%; }
  .hero-visual .tag-two { bottom: 24%; right: 4%; }
  .section { padding-top: 86px; }
  .section-heading { gap: 26px; }
  .service-grid { gap: 18px; }
  .service-card, html[data-theme="light"] .service-card { padding: 28px; }
  .service-card > p { min-height: 0; }
  .service-symbol { width: 48px; height: 48px; border-radius: 14px; }
  .featured-project { grid-template-columns: 1fr; gap: 22px; padding: 36px; }
  .featured-info h3 { font-size: 42px; }
  .featured-info h3 br { display: none; }
  .project-tags { max-width: none; margin: 20px 0 28px; }
  .preview-control { display: inline-flex; margin-left: 20px; }
  .project-devices { padding: 15px 50px 30px 0; }
  .capture-viewport { height: 370px; }
  .phone-device { width: 133px; }
  .work-grid { gap: 24px 18px; }
  .calculator-section, html[data-theme="light"] .calculator-section { padding: 70px 0; margin-top: 85px; }
  .calculator-layout { grid-template-columns: 1fr; gap: 30px; }
  .estimate-card, html[data-theme="light"] .estimate-card { position: static; }
  .process-grid::before { display: none; }
  .process-step { border-top: 1px solid var(--line); }
  .contact-section { padding-top: 85px; }
  .contact-panel, html[data-theme="light"] .contact-panel { padding: 42px; }
  .contact-action { min-width: 0; padding-bottom: 0; }
  .contact-star { display: none; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 24px); }
  .nav-cube { width: 33px; height: 33px; flex-basis: 33px; }
  .hero-top .eyebrow { font-size: 8px; letter-spacing: .1em; }
  .intro { font-size: 13px; margin-bottom: 23px; }
  h1 { font-size: clamp(49px, 13.5vw, 68px); }
  .hero-description { font-size: 14px; line-height: 1.8; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { font-size: 12px; padding: 16px 17px; gap: 18px; }
  .text-link { font-size: 11px; }
  .hero-notes { font-size: 9px; gap: 8px 10px; }
  .hero-notes > span + span { padding-left: 10px; }
  .hero-visual, html[data-theme="light"] .hero-visual { aspect-ratio: 1.06; }
  .floating-tag, html[data-theme="light"] .floating-tag { font-size: 8px; padding: 7px 8px; }
  .cube-caption { font-size: 8px; bottom: 12%; }
  .visual-topline, .visual-bottomline { font-size: 7px; left: 18px; right: 18px; }
  .hero-bottom { font-size: 9px; gap: 12px; }
  .hero-bottom > span { max-width: 145px; }
  .marquee-track > span { font-size: 14px; }
  .marquee { padding: 14px 0; }
  .marquee i { margin-inline: 24px; }
  .section { padding-top: 70px; }
  .section-heading { margin-bottom: 30px; gap: 20px; }
  h2 { font-size: clamp(33px, 9vw, 42px); }
  .section-heading .eyebrow, .faq-heading .eyebrow { font-size: 9px; margin-bottom: 17px; }
  .section-description { font-size: 13px; }
  .service-card, html[data-theme="light"] .service-card { display: block; padding: 26px; }
  .service-card h3 { font-size: 29px; }
  .card-top { margin-bottom: 27px; }
  .service-card li { font-size: 13px; }
  .included-strip { padding: 20px; font-size: 10px; gap: 14px; }
  .included-strip > div { gap: 8px 16px; }
  .featured-project { padding: 26px 22px; border-radius: 22px; margin-bottom: 26px; min-height: 0; }
  .featured-info h3 { font-size: 35px; }
  .project-tags { gap: 6px; margin-bottom: 22px; }
  .project-tags > span { font-size: 9px; padding: 4px 6px; }
  .featured-info .button { padding: 14px 17px; font-size: 12px; }
  .preview-control { margin-left: 12px; font-size: 9px; gap: 5px; }
  .project-devices { padding: 8px 25px 26px 0; }
  .capture-viewport { height: 247px; }
  .desktop-device { transform: none; border-radius: 9px; }
  .browser-chrome { height: 25px; padding: 0 8px; font-size: 6px; gap: 7px; }
  .browser-dots { gap: 3px; }
  .browser-dots i { width: 4px; height: 4px; }
  .phone-device { width: 87px; border: 3px solid #182b35; border-radius: 17px; right: -4px; }
  .phone-island { width: 28px; left: calc(50% - 14px); height: 6px; top: 3px; }
  .work-card { padding: 9px 9px 0; border-radius: 19px; }
  .project-meta { padding: 16px 8px 20px; }
  .project-meta h3 { font-size: 22px; }
  .project-type { font-size: 8px; }
  .calculator-section, html[data-theme="light"] .calculator-section { margin-top: 70px; padding: 55px 0; }
  .base-option-inner, html[data-theme="light"] .base-option-inner { padding: 17px 13px; min-height: 130px; border-radius: 13px; }
  .base-option strong { font-size: 13px; }
  .base-option-inner > span:last-child { font-size: 11px; }
  .base-description { font-size: 12px; }
  .extra-option, html[data-theme="light"] .extra-option { padding: 18px 0; gap: 8px; }
  .extra-selector { gap: 10px; }
  .extra-title { font-size: 12px; }
  .extra-description { font-size: 11px; }
  .extra-price { font-size: 11px; }
  .more-button { font-size: 10px; padding: 8px 0; }
  .service-details, html[data-theme="light"] .service-details { font-size: 11px; }
  .extra-option > .service-details { margin-left: 33px; }
  .estimate-card, html[data-theme="light"] .estimate-card { padding: 26px; }
  #estimate-total { font-size: 48px; }
  .process-step h3 { font-size: 19px; }
  .process-step p { font-size: 12px; }
  .faq-list summary { font-size: 13px; }
  .contact-panel, html[data-theme="light"] .contact-panel { padding: 32px 26px; }
  .contact-panel h2 { font-size: 49px; }
  .contact-panel .eyebrow { font-size: 8px; }
  .contact-action .button { font-size: 13px; }
  .contact-phone { font-size: 15px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 10px; }
  .header-actions { gap: 4px; }
  .theme-toggle-track { width: 50px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-notes > span + span { border: 0; padding-left: 0; }
  .preview-control { display: flex; margin-left: 0; margin-top: 9px; }
  .featured-info h3 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  .cube-atmosphere, .desktop-device, .featured-project:hover .desktop-device { transform: none; }
  .js-motion .reveal { opacity: 1; transform: none; }
  .site-capture { transform: none; animation: none; }
  .preview-control { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
