@font-face { font-family: Onest; src: url('/assets/fonts/onest-cyrillic.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; src: url('/assets/fonts/onest-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1b222b;
  --muted: #56606c;
  --line: #e2e5e9;
  --accent: #ffcc1b;
  --accent-ink: #7a5c00;
  --accent-soft: #fff6d6;
  --surface: #f4f5f7;
  --night: #161b22;
  --wa: #178448;
  --wa-text: #178448;
  --bg: #fff;
  --card: #fff;
  --tile: #e9ecef;
  --track: #f0f2f4;
  --field: #cdd3db;
  --field-strong: #b1bbc6;
  --handle: #d6dade;
  --header-bg: rgb(255 255 255 / .94);
  --link: #5d4908;
  --badge-fg: #8a6900;
  --focus: #8a6900;
  --rail: #f1e1aa;
  --halo: #fff0b8;
  --radius: 10px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}
/* Night mode, switched by the breaker in the header (opt-in, remembered per visitor). */
:root[data-theme="dark"] {
  --ink: #e8ecf1;
  --muted: #9aa4b1;
  --line: #262e38;
  --accent-ink: #ffd84a;
  --accent-soft: #2c2610;
  --surface: #131820;
  --wa-text: #3fcf7f;
  --bg: #0d1116;
  --card: #171d25;
  --tile: #1d242d;
  --track: #1a2029;
  --field: #354152;
  --field-strong: #4a586b;
  --handle: #3a4350;
  --header-bg: rgb(13 17 22 / .9);
  --link: #ffd84a;
  --badge-fg: #ffcc1b;
  --focus: #ffcc1b;
  --rail: #3a3214;
  --halo: #3d3312;
  color-scheme: dark;
}
.logo-dark, [data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Onest, Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, summary, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary { cursor: pointer; -webkit-user-select: none; user-select: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero :focus-visible { outline-color: var(--accent); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 { font-size: 48px; font-weight: 650; letter-spacing: -.028em; }
h2 { font-size: 34px; font-weight: 650; letter-spacing: -.02em; }
h3 { font-size: 18px; font-weight: 600; }
svg.ph-icon { flex-shrink: 0; fill: currentColor; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 48px), 1140px); margin-inline: auto; }
.section { padding-block: 80px; }
.section-band { background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.section-heading p { max-width: 460px; color: var(--muted); }
.arrow { width: 18px; height: 18px; }
.arrow-back { transform: scaleX(-1); }
.chevron { width: 20px; height: 20px; transition: transform .2s var(--ease-out); }
details[open] > summary .chevron { transform: rotate(180deg); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 50; padding: 10px 20px; background: var(--night); color: #fff; }
.skip-link:focus { top: 12px; }

/* Header */
.utility { border-bottom: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--muted); }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.utility-contacts { display: flex; gap: 28px; }
.utility-contacts a { font-weight: 600; color: var(--ink); white-space: nowrap; }
.utility-contacts a > span { margin-right: 8px; font-weight: 400; color: var(--muted); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 14px; }
.brand { display: inline-flex; flex-shrink: 0; }
.logo-frame { display: block; width: 172px; height: 56px; }
.logo-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.social-icon { width: 22px; height: 22px; }
.social-link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); }
.menu { display: none; position: relative; }
.menu > summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--surface); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(320px, calc(100vw - 24px)); padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: 0 12px 32px rgb(20 30 40 / .16); transform-origin: top right; transition: opacity .18s var(--ease-out), transform .18s var(--ease-out); }
@starting-style { .menu[open] .menu-panel { opacity: 0; transform: scale(.96) translateY(-4px); } }
.menu-panel nav a { display: flex; align-items: center; min-height: 48px; padding-inline: 12px; border-radius: 8px; font-size: 16px; font-weight: 500; }
.menu-phones { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.menu-phones a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding-inline: 12px; border-radius: 8px; font-weight: 650; }
.menu-phones span { font-size: 13px; font-weight: 400; color: var(--muted); }

/* Buttons: one press response everywhere */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: #171d26; font-size: 16px; font-weight: 600; line-height: 1.3; transition: background-color .15s ease, border-color .15s ease, transform .14s var(--ease-out), translate .35s var(--ease-out); }
.header-cta { min-height: 44px; padding-inline: 22px; font-size: 15px; }
.button:active, .album-button:active, .service-row:active, .social-link:active, .wa-widget > summary:active, .menu > summary:active, .slider-bar button:active, .wa-actions a:active, .hero-line-wa:active { transform: scale(.97); }
.button-secondary { background: var(--card); border-color: var(--field); }
.button-ghost { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .5); color: #fff; }
.button-wa { width: 100%; background: var(--wa); border-color: var(--wa-text); color: #fff; }
.button-wa .social-icon, .wa-direct .social-icon { width: 20px; height: 20px; }
.wa-direct .social-icon { color: var(--wa-text); }

/* Hero: night photos of finished work, crossfading */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; width: min(calc(100% - 32px), 1280px); min-height: clamp(600px, 80vh, 700px); margin: 4px auto 0; overflow: hidden; border-radius: 18px; background: var(--night); color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(12 15 20 / .88) 0%, rgb(12 15 20 / .6) 40%, rgb(12 15 20 / .08) 75%), linear-gradient(0deg, rgb(12 15 20 / .7), transparent 40%), linear-gradient(180deg, rgb(12 15 20 / .45), transparent 22%); }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; }
.slider-bar { position: absolute; top: 22px; right: 22px; z-index: 1; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; border: 1px solid rgb(255 255 255 / .14); border-radius: 999px; background: rgb(16 20 26 / .55); backdrop-filter: blur(12px); font-size: 14px; }
.hero:not(.is-ready) .slider-bar { display: none; }
.slider-caption { min-width: 16em; color: rgb(255 255 255 / .92); }
.slider-dots { display: flex; margin-right: 4px; }
.slider-dots button { display: grid; place-items: center; width: 28px; height: 36px; padding: 0; border: 0; background: none; }
.slider-dots span { display: block; width: 8px; height: 4px; border-radius: 2px; background: rgb(255 255 255 / .5); transition: width .3s var(--ease-out), background-color .3s ease; }
.slider-dots [aria-current] span { width: 22px; background: var(--accent); }
.slider-step, .slider-pause { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; transition: background-color .15s ease, transform .14s var(--ease-out); }
.slider-pause svg { width: 16px; height: 16px; }
.slider-pause .play-icon, .hero.is-paused .pause-icon { display: none; }
.hero.is-paused .play-icon { display: block; }
.hero-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 720px; padding: 56px 72px 40px; }
.hero h1 { font-size: 54px; line-height: 1.06; }
.hero-description { max-width: 540px; margin-top: 20px; font-size: 18px; line-height: 1.55; color: rgb(255 255 255 / .84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 14px; color: rgb(255 255 255 / .7); }
.hero-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 24px 24px; border: 1px solid rgb(255 255 255 / .16); border-radius: 14px; background: rgb(16 20 26 / .58); backdrop-filter: blur(14px); }
.hero-line { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 18px 24px; }
.hero-line + .hero-line { border-left: 1px solid rgb(255 255 255 / .14); }
.hero-line > div { flex: 1; min-width: 0; }
.hero-line > div span { display: block; font-size: 13px; color: rgb(255 255 255 / .66); }
.hero-line > div a { font-size: 21px; font-weight: 650; white-space: nowrap; }
.hero-line-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .12); color: var(--accent); }
.hero-line:first-child .hero-line-icon { background: var(--accent); color: #171d26; }
.hero-line-icon svg { width: 22px; height: 22px; }
.hero-line-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--wa); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .15s ease, transform .14s var(--ease-out); }
.hero-line-wa .social-icon { width: 20px; height: 20px; }

/* Services: two directions, each with its own line */
.direction-tabs { display: none; }
.directions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; }
.direction { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.direction-media { display: block; height: 210px; overflow: hidden; }
.direction-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.direction-body { display: flex; flex: 1; flex-direction: column; padding: 28px 30px 26px; }
.direction h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 650; letter-spacing: -.01em; }
.direction h3 .service-icon { width: 24px; height: 24px; color: #d9a200; }
.direction-body > p { margin-top: 6px; color: var(--muted); }
.direction ul { list-style: none; margin: 20px 0 22px; padding: 0; }
.direction li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.check-icon { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; color: #b48a00; }
.service-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.direction-body > .service-more { text-decoration: underline; text-decoration-color: #d9c27a; text-underline-offset: 5px; }
.service-rows { margin: 16px -14px 10px; }
.service-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 20px; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius); transition: background-color .15s ease, transform .14s var(--ease-out); }
.service-row + .service-row { box-shadow: 0 -1px 0 var(--line); }
.service-row .service-icon { width: 26px; height: 26px; color: #d9a200; }
.service-row strong { display: block; font-weight: 600; }
.service-row > span > span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); }
.service-row .arrow { color: var(--muted); transition: transform .2s var(--ease-out); }
.direction-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.direction-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 650; white-space: nowrap; }
.direction-phone .social-icon { width: 20px; height: 20px; color: var(--muted); }
.contact-whatsapp { display: inline-flex; align-items: center; gap: 7px; color: var(--wa-text); font-size: 15px; font-weight: 600; }
.contact-whatsapp .social-icon { width: 20px; height: 20px; }

/* Works: mosaic on desktop, swipeable strip on phones */
.works { background: var(--surface); }
.album-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 270px; gap: 16px; }
.album-button { position: relative; display: block; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: var(--tile); color: #fff; text-align: left; transition: transform .14s var(--ease-out); }
.album-button:first-child { grid-row: span 2; background: var(--night); }
.album-button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.album-button[data-album="routes"] img { object-position: center 35%; }
.album-button[data-album="connections"] img { object-position: center 20%; }
.album-label { position: absolute; inset: auto 0 0; padding: 70px 20px 18px; background: linear-gradient(0deg, rgb(12 15 20 / .85), rgb(12 15 20 / 0)); }
.album-label strong { display: block; font-size: 17px; font-weight: 650; line-height: 1.3; }
.album-label span { font-size: 14px; color: rgb(255 255 255 / .8); }
.album-button:first-child .album-label { padding: 90px 28px 26px; }
.album-button:first-child .album-label strong { font-size: 24px; }

/* Approach: one connected sequence */
.approach h2 { margin-bottom: 40px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ''; position: absolute; left: 22px; right: calc((100% - 96px) / 4 - 22px); top: 21px; height: 2px; background: var(--rail); }
.steps li { position: relative; z-index: 1; min-width: 0; }
/* Each step is a light bulb on the wire: glass with the step number, a screw cap below; lit is the resting state. */
.steps span { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--accent); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c2 0 16%, var(--accent) 52%); font-weight: 650; box-shadow: 0 0 0 5px var(--halo), 0 0 26px 6px rgb(255 204 27 / .45); }
.steps span::after { content: ''; position: absolute; left: 50%; top: calc(100% - 1px); width: 16px; height: 9px; margin-left: -8px; border-radius: 2px 2px 5px 5px; background: repeating-linear-gradient(180deg, #a7b0bb 0 2px, #7b8592 2px 3px); }
/* Wire segment from this bulb to the next; the fill and its bright tip slide in via background-position. */
.steps li:not(:last-child)::before { content: ''; position: absolute; z-index: -1; left: 22px; top: 20px; width: calc(100% + 32px); height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) 0 46%, #fff8d6 49.5%, rgb(255 204 27 / 0) 50% 100%) 0 0 / 200% 100% no-repeat; filter: drop-shadow(0 0 4px rgb(255 190 30 / .9)); }
.steps h3 { margin-top: 18px; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; padding-top: 32px; }
.faq > div > p { margin-top: 12px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-block: 14px; font-size: 17px; font-weight: 600; }
.faq-list details p { max-width: 720px; padding: 0 40px 20px 0; color: var(--muted); }

/* Contact */
.contact { background: var(--surface); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
.contact-copy > p { max-width: 460px; margin-top: 14px; color: var(--muted); }
.contact-person { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 12px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.contact-copy > p + .contact-person { margin-top: 28px; }
.contact-person > div { display: flex; flex-direction: column; }
.contact-person span { font-size: 13px; color: var(--muted); }
.contact-person a[href^="tel:"] { font-size: 22px; font-weight: 650; white-space: nowrap; }
.request-form { min-width: 0; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.request-form h3 { margin-bottom: 20px; font-size: 20px; font-weight: 650; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.request-form label { display: block; margin-bottom: 6px; font-size: 14px; line-height: 1.4; }
.request-form select, .request-form textarea { display: block; width: 100%; min-height: 48px; margin: 0 0 16px; padding: 10px 12px; border: 1px solid var(--field); border-radius: 8px; background: var(--card); color: var(--ink); font-size: 15px; line-height: 1.5; }
.request-form textarea { min-height: 104px; resize: vertical; }
.request-form textarea::placeholder { color: var(--muted); }
.optional { float: right; padding-top: 1px; font-size: 12px; color: var(--muted); }
.form-note { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
#recipient { color: var(--ink); font-weight: 600; }

/* Footer */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px; padding-right: 76px; font-size: 14px; color: var(--muted); }
.footer .logo-frame { width: 136px; height: 44px; }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.footer-contacts a { color: var(--ink); }
.footer-instagram { display: inline-flex; align-items: center; gap: 7px; }
.footer-instagram .social-icon { width: 18px; height: 18px; }

/* Floating WhatsApp: a popover on desktop, a bottom sheet on phones */
.wa-widget { position: fixed; right: 28px; bottom: 28px; z-index: 40; }
.wa-widget > summary { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgb(23 132 72 / .35); transition: background-color .15s ease, transform .14s var(--ease-out); }
.wa-widget > summary .social-icon { width: 30px; height: 30px; }
.wa-scrim { display: none; }
.wa-menu { position: absolute; right: 0; bottom: 74px; z-index: 2; width: 360px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: 0 12px 32px rgb(20 30 40 / .16); transform-origin: bottom right; transition: opacity .18s var(--ease-out), transform .18s var(--ease-out); }
@starting-style { .wa-widget[open] .wa-menu { opacity: 0; transform: scale(.95) translateY(4px); } }
.wa-title { margin: 2px 4px 10px; font-size: 17px; font-weight: 650; }
.wa-line { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.wa-line + .wa-line { margin-top: 8px; }
.wa-line-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--badge-fg); }
.wa-line-icon svg { width: 18px; height: 18px; }
.wa-line-text strong { display: block; font-weight: 600; }
.wa-line-text span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); }
.wa-line-text .wa-phone { color: var(--ink); font-weight: 600; white-space: nowrap; }
.wa-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.wa-actions a { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--field); border-radius: var(--radius); font-weight: 600; transition: background-color .15s ease, transform .14s var(--ease-out); }
.wa-actions .wa-chat { border-color: var(--wa-text); background: var(--wa); color: #fff; }

/* Photo dialog */
.photo-dialog { width: fit-content; max-width: min(1100px, calc(100vw - 40px)); max-height: calc(100dvh - 32px); overflow: hidden; padding: 14px 16px 16px; border: 0; border-radius: 16px; background: #0f1318; color: #fff; transition: opacity .22s var(--ease-out), transform .22s var(--ease-out); }
.photo-dialog::backdrop { background: rgb(10 13 18 / .88); transition: opacity .22s ease; }
@starting-style { .photo-dialog[open] { opacity: 0; transform: scale(.96); } .photo-dialog[open]::backdrop { opacity: 0; } }
.photo-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; padding-left: 6px; font-size: 15px; font-weight: 600; }
.dialog-close, .photo-dialog-controls button { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; transition: background-color .15s ease, opacity .15s ease, transform .14s var(--ease-out); }
.dialog-close:active, .photo-dialog-controls button:active:not(:disabled) { transform: scale(.94); }
.close-icon { width: 22px; height: 22px; }
.photo-dialog-controls .arrow { width: 22px; height: 22px; }
.photo-dialog > img { display: block; width: auto; max-width: 100%; height: min(72dvh, 900px); margin: auto; border-radius: 8px; object-fit: contain; touch-action: pan-y pinch-zoom; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.photo-dialog-controls { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 14px; font-size: 15px; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / .8); }
.photo-dialog-controls button:disabled { opacity: .3; cursor: default; }
.modal-open { overflow: hidden; }

/* Service pages */
.service-hero { padding-block: 26px 72px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: var(--ink); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.service-badge { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--accent); color: #171d26; }
.service-badge .service-icon { width: 30px; height: 30px; }
.service-hero h1 { margin-top: 22px; }
.service-hero-copy > p { max-width: 580px; margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.service-answer { font-size: 15px !important; }
.service-answer a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.service-inputs { padding: 28px 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.service-inputs h2 { font-size: 20px; line-height: 1.3; }
.service-inputs ul { list-style: none; margin: 16px 0 22px; padding: 0; }
.service-inputs li { position: relative; margin-bottom: 10px; padding-left: 19px; font-size: 15px; }
.service-inputs li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #e4b626; }
.service-inputs h3 { padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 650; }
.service-inputs h3 + p { margin: 8px 0 18px; font-size: 15px; color: var(--muted); }
.service-link { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.service-detail h2 { margin-bottom: 28px; }
.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.included li { display: flex; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; }
.included li > span, .service-result > span { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--badge-fg); }
.included .check-icon, .service-result .check-icon { position: static; width: 18px; height: 18px; color: inherit; }
.service-result { display: flex; align-items: center; gap: 22px; margin-top: 16px; padding: 26px 28px; border-radius: 16px; background: var(--night); color: #fff; }
.service-result > span { width: 48px; height: 48px; background: var(--accent); color: #171d26; }
.service-result p { margin-top: 4px; color: rgb(255 255 255 / .8); }
.other-works { padding-top: 24px; }
.related-section { padding-bottom: 80px; }
.related-section h2 { margin-bottom: 20px; font-size: 24px; }
.related-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related-services a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; transition: background-color .15s ease; }
.related-services strong { display: block; font-weight: 600; }
.related-services a > span > span { display: block; font-size: 14px; color: var(--muted); }
.related-services .arrow { color: var(--muted); transition: transform .2s var(--ease-out); }

/* Hover only where a real pointer exists, so taps don't leave sticky states */
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover, .footer a:hover { color: var(--accent-ink); }
  .button:hover { background: #ffd84a; border-color: #ffd84a; }
  .button-secondary:hover { background: var(--surface); border-color: var(--field-strong); }
  .button-ghost:hover { background: rgb(255 255 255 / .16); border-color: #fff; }
  .button-wa:hover, .wa-widget > summary:hover, .hero-line-wa:hover, .wa-actions .wa-chat:hover { background: #116e3a; border-color: #116e3a; }
  .social-link:hover, .related-services a:hover, .service-row:hover, .menu-panel a:hover, .wa-actions a:not(.wa-chat):hover { background: var(--surface); }
  .service-row:hover .arrow, .related-services a:hover .arrow { transform: translateX(3px); }
  .slider-bar button:not(.slider-dots button):hover { background: rgb(255 255 255 / .22); }
  .direction-body > .service-more:hover { color: var(--accent-ink); }
  .album-button:hover img { transform: scale(1.03); }
  .contact-whatsapp:hover { text-decoration: underline; text-underline-offset: 3px; }
  .photo-dialog-controls button:hover:not(:disabled), .dialog-close:hover { background: rgb(255 255 255 / .2); }
}

@media (max-width: 1100px) {
  .utility-contacts a > span { display: none; }
  .header-inner { gap: 20px; }
  .main-nav { gap: 18px; font-size: 14px; }
  .logo-frame { width: 156px; height: 50px; }
  .hero-copy { padding-inline: 48px; }
  .hero h1 { font-size: 46px; }
  .hero-line { padding-inline: 18px; gap: 12px; }
  .hero-line > div a { font-size: 18px; }
  .slider-caption { min-width: 0; }
  .contact-inner, .service-hero-grid { gap: 32px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu { display: block; }
  .header-cta { white-space: nowrap; }
  .hero-lines { grid-template-columns: 1fr; }
  .hero-line + .hero-line { border-left: 0; border-top: 1px solid rgb(255 255 255 / .14); }
  .directions { grid-template-columns: 1fr; }
  .service-hero-grid { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding-block: 44px; }
  h1 { font-size: 30px; }
  h2 { font-size: 27px; }
  .section-heading { display: block; margin-bottom: 18px; }
  .section-heading p { margin-top: 8px; font-size: 15px; }

  .utility, .main-nav, .header-cta { display: none; }
  .header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: var(--header-bg); backdrop-filter: blur(10px); }
  .header-inner { width: auto; padding: 8px 12px 8px 16px; }
  .header .logo-frame { width: 128px; height: 42px; }
  .header-actions { gap: 4px; }
  .social-link { border: 0; }
  .menu { display: block; }

  .hero { width: calc(100% - 20px); min-height: 0; margin-top: 10px; border-radius: 20px; }
  .hero-media { position: relative; z-index: auto; height: 300px; }
  .hero-media::after { background: linear-gradient(180deg, rgb(22 27 34 / .3) 0%, transparent 22%, transparent 55%, var(--night) 100%); }
  .slider-bar { top: auto; right: 10px; bottom: 10px; left: 10px; gap: 4px; padding: 4px 4px 4px 12px; font-size: 13px; }
  .slider-caption { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .slider-dots { display: none; }
  .slider-step, .slider-pause { width: 40px; height: 40px; }
  .hero-copy { padding: 4px 20px 26px; }
  .hero h1 { font-size: 31px; line-height: 1.1; }
  .hero-description { margin-top: 14px; font-size: 16px; }
  .hero-actions { flex-direction: column; margin-top: 22px; gap: 10px; }
  .hero-actions .button { width: 100%; min-height: 52px; }
  .hero-note { text-align: center; font-size: 13px; }
  .hero-lines { display: none; }

  .direction-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 14px; background: var(--track); }
  .direction-tabs button { min-height: 44px; padding: 4px 6px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.2; transition: background-color .15s ease, box-shadow .15s ease, color .15s ease; }
  .direction-tabs [aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgb(20 30 40 / .12); }
  .directions[data-active="electric"] #dir-comms, .directions[data-active="comms"] #dir-electric { display: none; }
  .direction-media { height: 170px; }
  .direction-body { padding: 20px 18px 18px; }
  .direction h3 { font-size: 21px; }
  .service-rows { margin-inline: -8px; }
  .service-row { grid-template-columns: 26px minmax(0, 1fr) 18px; gap: 12px; padding: 12px 8px; }
  .direction-phone { font-size: 19px; }

  .album-grid { display: flex; gap: 12px; margin-inline: -16px; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
  .album-grid::-webkit-scrollbar { display: none; }
  .album-button, .album-button:first-child { flex: 0 0 270px; height: 340px; scroll-snap-align: start; }
  .album-button:first-child .album-label { padding: 70px 20px 18px; }
  .album-button:first-child .album-label strong { font-size: 19px; }

  .approach h2 { margin-bottom: 22px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { display: none; }
  .steps li { padding: 4px 0 20px 52px; min-height: 60px; }
  .steps li:not(:last-child)::after { content: ''; position: absolute; z-index: -2; left: 17px; top: 46px; bottom: 0; width: 2px; background: var(--rail); }
  .steps li:not(:last-child)::before { left: 16.5px; top: 46px; bottom: -4px; width: 3px; height: auto; background: linear-gradient(180deg, var(--accent) 0 46%, #fff8d6 49.5%, rgb(255 204 27 / 0) 50% 100%) 0 0 / 100% 200% no-repeat; }
  .steps span { position: absolute; left: 0; top: 0; width: 36px; height: 36px; font-size: 14px; }
  .steps span::after { width: 14px; height: 8px; margin-left: -7px; }
  .steps h3 { margin-top: 4px; font-size: 17px; }
  .steps p { margin-top: 3px; }

  .faq { grid-template-columns: 1fr; gap: 8px; }
  .faq > div > p { display: none; }
  .faq-list summary { font-size: 16px; min-height: 56px; }
  .faq-list details p { padding-right: 0; font-size: 15px; }

  .contact-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-person a[href^="tel:"] { font-size: 20px; }
  .request-form { padding: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .request-form select, .request-form textarea { min-height: 50px; font-size: 16px; }
  .footer { flex-wrap: wrap; gap: 14px; padding: 24px 0 96px; }
  .footer-contacts { order: 3; flex-direction: column; width: 100%; }

  .wa-widget { right: 16px; bottom: 18px; }
  .wa-widget > summary { width: 58px; height: 58px; }
  .wa-widget[open] .wa-scrim { display: block; position: fixed; inset: 0; background: rgb(17 22 30 / .55); transition: opacity .2s ease; }
  @starting-style { .wa-widget[open] .wa-scrim { opacity: 0; } }
  .wa-menu { position: fixed; inset: auto 0 0; width: auto; padding: 10px 16px calc(22px + env(safe-area-inset-bottom)); border: 0; border-radius: 20px 20px 0 0; transform-origin: bottom center; transition: transform .32s var(--ease-drawer); }
  .wa-menu::before { content: ''; display: block; width: 40px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: var(--handle); }
  @starting-style { .wa-widget[open] .wa-menu { opacity: 1; transform: translateY(100%); } }
  .wa-actions a { min-height: 48px; }

  .photo-dialog[open] { display: flex; flex-direction: column; width: 100vw; max-width: none; height: 100dvh; max-height: none; padding: calc(10px + env(safe-area-inset-top)) 12px calc(14px + env(safe-area-inset-bottom)); border-radius: 0; }
  .photo-dialog > img { flex: 1; min-height: 0; width: 100%; height: auto; object-fit: contain; }
  .photo-dialog-controls { gap: 36px; margin-top: 12px; }
  .photo-dialog-controls button { width: 56px; height: 56px; }

  .service-hero { padding-block: 14px 32px; }
  .breadcrumbs { margin-bottom: 14px; font-size: 13px; }
  .breadcrumbs [aria-current] { display: none; }
  .breadcrumbs span:nth-last-child(2) { display: none; }
  .service-badge { width: 52px; height: 52px; border-radius: 14px; }
  .service-hero h1 { margin-top: 16px; }
  .service-hero-copy > p { margin-top: 12px; font-size: 16px; }
  .service-answer { text-align: center; }
  .service-inputs { padding: 20px 18px; border-radius: 16px; }
  .service-detail h2 { margin-bottom: 16px; }
  .included { gap: 10px; }
  .included li { gap: 14px; padding: 16px; font-size: 15px; }
  .service-result { align-items: flex-start; gap: 14px; padding: 20px 18px; }
  .service-result > span { width: 36px; height: 36px; }
  .related-section { padding-bottom: 40px; }
  .related-section h2 { font-size: 21px; }
  .related-services { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 360px) {
  .header .logo-frame { width: 112px; height: 38px; }
  .hero h1 { font-size: 28px; }
  .slider-step, .slider-pause { width: 36px; height: 36px; }
  .album-button, .album-button:first-child { flex-basis: 240px; height: 310px; }
}
/* Motion, electricity theme. The base styles above are the finished "power on" state; everything below only
   animates toward it, and only for visitors without reduced motion. Without JS nothing is ever hidden. */
.hero-power { position: absolute; inset: 0; background: #05070a; opacity: 0; pointer-events: none; }
.slider-dots span { position: relative; overflow: hidden; }
.service-row { position: relative; }
.service-row::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .service-row:hover::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: no-preference) {
  /* 1. The night photo switches on like a lamp: one flicker, then light. The copy follows. Once per visit. */
  .power-on .hero-power { animation: power-on 1.1s linear both; }
  .power-on .hero-copy > *, .power-on .hero-lines, .power-on .slider-bar { animation: rise .6s var(--ease-out) both; }
  .power-on .hero-copy > :nth-child(1) { animation-delay: .7s; }
  .power-on .hero-copy > :nth-child(2) { animation-delay: .78s; }
  .power-on .hero-copy > :nth-child(3) { animation-delay: .86s; }
  .power-on .hero-copy > :nth-child(4) { animation-delay: .94s; }
  .power-on .hero-lines { animation-delay: 1.02s; }
  .power-on .slider-bar { animation-delay: 1.1s; }

  /* 2. Slider dot charges up over the 6s the photo stays; pausing freezes it full. */
  .slider-dots [aria-current] span { background: rgb(255 255 255 / .35); }
  .slider-dots [aria-current] span::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: charge 6s linear both; }
  .hero.is-paused .slider-dots [aria-current] span::after { animation: none; }

  /* 3. Current runs along the process line and switches each step on as it arrives. */
  /* Current runs bulb to bulb: a segment fills (.6s), the next bulb flickers on, then the next segment starts. */
  .steps li::before { transition: background-position .6s linear; }
  .steps li:nth-child(1)::before { transition-delay: .5s; }
  .steps li:nth-child(2)::before { transition-delay: 1.45s; }
  .steps li:nth-child(3)::before { transition-delay: 2.4s; }
  .steps[data-visible] span { animation: bulb-on .7s linear both; }
  .steps[data-visible] li:nth-child(1) span { animation-delay: .1s; }
  .steps[data-visible] li:nth-child(2) span { animation-delay: 1.1s; }
  .steps[data-visible] li:nth-child(3) span { animation-delay: 2.05s; }
  .steps[data-visible] li:nth-child(4) span { animation-delay: 3s; }
  .js:not(.motion-fallback) .steps:not([data-visible]) li::before { background-position: 100% 0; }
  .js:not(.motion-fallback) .steps:not([data-visible]) span { border-color: var(--line); background: var(--card); color: var(--muted); box-shadow: 0 0 0 5px rgb(0 0 0 / 0), 0 0 0 0 rgb(0 0 0 / 0); }

  /* 4. Direction cards rise in; album tiles unroll from the bottom, one after another. */
  .directions > .direction { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .directions > .direction:nth-child(2) { transition-delay: .1s; }
  .js:not(.motion-fallback) .directions:not([data-visible]) > .direction { opacity: 0; transform: translateY(16px); }
  .album-grid > .album-button { transition: clip-path .7s var(--ease-in-out), transform .14s var(--ease-out); }
  .album-grid > .album-button:nth-child(2) { transition-delay: .08s, 0s; }
  .album-grid > .album-button:nth-child(3) { transition-delay: .16s, 0s; }
  .album-grid > .album-button:nth-child(4) { transition-delay: .24s, 0s; }
  .album-grid > .album-button:nth-child(5) { transition-delay: .32s, 0s; }
  .js:not(.motion-fallback) .album-grid:not([data-visible]) > .album-button { clip-path: inset(100% 0 0 0); }
}
/* Second wave of electric effects. Elements are created by app.js only when motion is allowed. */
@property --spark { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
main { position: relative; }
.hero-light { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: overlay; background: radial-gradient(360px circle at var(--lx, 70%) var(--ly, 45%), rgb(255 236 180 / .95), rgb(255 205 110 / .45) 35%, rgb(0 0 0 / .62) 100%); transition: opacity .5s ease; }
.hero.is-lit .hero-light { opacity: 1; }
.wire { position: absolute; left: max(24px, calc(50% - 630px)); z-index: 2; width: 2px; border-radius: 1px; background: var(--line); pointer-events: none; }
.wire-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #ffd84a, #ffb000); box-shadow: 0 0 8px rgb(255 204 27 / .6); transform: scaleY(0); transform-origin: top; }
.wire-node { position: absolute; left: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 2px solid var(--line); border-radius: 50%; background: var(--card); transition: border-color .3s ease, background-color .3s ease, box-shadow .5s var(--ease-out); }
.wire-node.is-on { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px rgb(255 204 27 / .22); }
.wire-head { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff7cc; box-shadow: 0 0 0 3px rgb(255 204 27 / .5), 0 0 22px 8px rgb(255 186 30 / .55); opacity: 0; transition: opacity .3s ease; }
.wire-head.is-on { opacity: 1; }
.wire-head::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgb(255 204 27 / .7); animation: hum 1.1s var(--ease-out) infinite; }
.spark { position: fixed; z-index: 100; width: 14px; height: 2px; border-radius: 1px; background: var(--card); box-shadow: 0 0 4px 1px #ffd84a, 0 0 10px 2px rgb(255 140 0 / .85); pointer-events: none; }
h2[data-scan] { background: linear-gradient(100deg, var(--ink) 42%, #ffb000 48.5%, #fff1a8 50%, #ffb000 51.5%, var(--ink) 58%) 100% 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; transition: clip-path .8s var(--ease-in-out); }
h2[data-scan][data-visible] { animation: glint 1.5s var(--ease-in-out) .35s both; }
.js:not(.motion-fallback) h2[data-scan]:not([data-visible]) { clip-path: inset(0 100% 0 0); }
@media (max-width: 1319px) { .wire { display: none; } }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .button:not(.button-secondary, .button-ghost, .button-wa) { position: relative; }
  .button:not(.button-secondary, .button-ghost, .button-wa)::before { content: ''; position: absolute; inset: -3px; padding: 2px; border-radius: 13px; background: conic-gradient(from var(--spark), transparent 0 60%, rgb(255 160 0 / .95) 78%, #fff4b8 84%, transparent 89%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; pointer-events: none; transition: opacity .2s ease; animation: spark-run 1.1s linear infinite paused; }
  .button:not(.button-secondary, .button-ghost, .button-wa):hover::before { opacity: 1; animation-play-state: running; }
  .power-on .hero-actions .button:first-child:not(:hover)::before { animation: spark-intro 2.2s linear 1.5s both; }
}
/* Breaker switch: lever up = lights on (day), lever down = night. */
.breaker { position: relative; display: grid; justify-items: center; flex-shrink: 0; width: 30px; height: 44px; padding: 5px 0; border: 1px solid var(--field); border-radius: 7px; background: var(--surface); box-shadow: inset 0 1px 2px rgb(0 0 0 / .08); transition: transform .14s var(--ease-out); }
.breaker::before { content: ''; position: absolute; left: 50%; top: 5px; bottom: 5px; width: 12px; margin-left: -6px; border-radius: 3px; background: var(--track); box-shadow: inset 0 0 0 1px var(--line); }
.breaker-lever { position: relative; width: 14px; height: 18px; border-radius: 3px; background: var(--accent); box-shadow: 0 1px 2px rgb(0 0 0 / .25), inset 0 -2px 0 rgb(0 0 0 / .14), 0 0 10px rgb(255 204 27 / .45); transition: transform .28s var(--ease-out), background-color .2s ease, box-shadow .2s ease; }
.breaker[aria-checked="true"] .breaker-lever { transform: translateY(14px); background: #8b95a3; box-shadow: 0 1px 2px rgb(0 0 0 / .35), inset 0 -2px 0 rgb(0 0 0 / .2); }
.breaker:active { transform: scale(.94); }
.blackout { position: fixed; inset: 0; z-index: 300; background: #05070a; pointer-events: none; }
.steps span { color: #171d26; }
.button-secondary { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  /* The current reaches the form: its WhatsApp button flashes and a spark runs around it. */
  .button-wa.is-charged { position: relative; animation: charged 1.4s var(--ease-out); }
  .button-wa.is-charged::before { content: ''; position: absolute; inset: -3px; padding: 2px; border-radius: 13px; background: conic-gradient(from var(--spark), transparent 0 60%, rgb(110 255 170 / .95) 78%, #eafff2 84%, transparent 89%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: spark-intro 2.2s linear both; }
}
@keyframes charged { from { box-shadow: 0 0 0 0 rgb(23 132 72 / .6); } to { box-shadow: 0 0 0 20px rgb(23 132 72 / 0); } }
@keyframes spark-run { to { --spark: 360deg; } }
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .js:not(.motion-fallback) .steps:not([data-visible]) li::before { background-position: 0 100%; }
}
/* 404: a burnt-out bulb that now and then tries to light. */
.not-found { display: grid; justify-items: start; gap: 14px; padding-block: 72px 88px; }
.not-found > p:not(.not-found-code) { max-width: 520px; color: var(--muted); font-size: 18px; }
.not-found-code { color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.not-found-bulb { position: relative; width: 128px; height: 128px; margin-bottom: 40px; border: 3px solid var(--line); border-radius: 50%; background: var(--card); }
.not-found-bulb::after { content: ''; position: absolute; left: 50%; top: calc(100% - 2px); width: 44px; height: 26px; margin-left: -22px; border-radius: 4px 4px 12px 12px; background: repeating-linear-gradient(180deg, #a7b0bb 0 5px, #7b8592 5px 8px); }
@media (max-width: 760px) { .not-found-bulb { width: 104px; height: 104px; margin-bottom: 34px; } .not-found-bulb::after { width: 36px; height: 22px; margin-left: -18px; } }
@media (prefers-reduced-motion: no-preference) { .not-found-bulb { animation: dying 5s linear infinite; } }
@keyframes dying {
  0%, 82%, 87%, 100% { background: var(--card); border-color: var(--line); box-shadow: none; }
  84% { background: #ffd84a; border-color: var(--accent); box-shadow: 0 0 52px 14px rgb(255 204 27 / .45); }
}
/* A bulb catching current: off, a flash, a stutter, then steady light. */
@keyframes bulb-on {
  0% { border-color: var(--line); background: var(--card); color: var(--muted); box-shadow: 0 0 0 5px rgb(0 0 0 / 0), 0 0 0 0 rgb(255 204 27 / 0); }
  18% { border-color: var(--accent); background: radial-gradient(circle at 35% 30%, #fff6c2 0 16%, var(--accent) 52%); color: #171d26; box-shadow: 0 0 0 5px var(--halo), 0 0 30px 8px rgb(255 204 27 / .6); }
  30% { border-color: #c9a227; background: #d9b440; color: #171d26; box-shadow: 0 0 0 5px var(--halo), 0 0 0 0 rgb(255 204 27 / 0); }
  46%, 100% { border-color: var(--accent); background: radial-gradient(circle at 35% 30%, #fff6c2 0 16%, var(--accent) 52%); color: #171d26; box-shadow: 0 0 0 5px var(--halo), 0 0 26px 6px rgb(255 204 27 / .45); }
}
@keyframes spark-intro { 0% { opacity: 0; --spark: 0deg; } 10%, 85% { opacity: 1; } 100% { opacity: 0; --spark: 720deg; } }
@keyframes glint { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes hum { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(1.6); } }

@keyframes power-on {
  0%, 14% { opacity: .92; }
  20% { opacity: .4; }
  28% { opacity: .78; animation-timing-function: cubic-bezier(.23, 1, .32, 1); }
  100% { opacity: 0; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes charge { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-property: opacity, background-color, color !important; }
  .slide { transition: none !important; }
  .button:active, .album-button:active, .service-row:active, .social-link:active, .wa-widget > summary:active, .menu > summary:active, .slider-bar button:active, .wa-actions a:active, .hero-line-wa:active { transform: none; }
}
