:root {
    color-scheme: dark;
    --bg: #0a0d10;
    --panel: #12171c;
    --panel-2: #171e24;
    --line: #29333c;
    --text: #edf3f7;
    --muted: #9aa9b4;
    --orange: #ff8a1f;
    --orange-2: #ffb15f;
    --cyan: #48d7e8;
    --green: #55d68b;
    --pink: #ff79b0;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 138, 31, .11), transparent 31rem),
        radial-gradient(circle at 92% 22%, rgba(72, 215, 232, .08), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(10,13,16,.86); backdrop-filter: blur(18px); }
.site-header__inner { width: min(1240px, calc(100% - 32px)); min-height: 74px; margin: auto; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: .1em; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #16100b; background: linear-gradient(135deg, var(--orange-2), var(--orange)); box-shadow: 0 8px 30px rgba(255,138,31,.25); }
.brand__text { font-size: .92rem; }
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav a, .language-switch a { padding: 9px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 700; transition: .2s ease; }
.site-nav a:hover, .site-nav a.is-active, .language-switch a:hover, .language-switch a.is-active { color: var(--text); background: rgba(255,255,255,.07); }
.site-nav a.is-active { box-shadow: inset 0 -2px var(--orange); }
.language-switch { display: flex; gap: 2px; padding-left: 14px; border-left: 1px solid var(--line); }
.language-switch a { padding-inline: 8px; font-size: .78rem; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--text); }

main { overflow: hidden; }
.hero { padding: 84px 0 64px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--orange-2); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 22px; font-size: clamp(2.6rem, 6.2vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.hero__lead, .page-intro { max-width: 720px; color: #c5d0d7; font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; color: #130d08; background: linear-gradient(135deg, var(--orange-2), var(--orange)); text-decoration: none; font-weight: 850; box-shadow: 0 14px 34px rgba(255,138,31,.19); transition: transform .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.035); box-shadow: none; }
.button--pink { color: #190811; background: linear-gradient(135deg, #ffadd0, var(--pink)); box-shadow: 0 14px 34px rgba(255,121,176,.18); }
.microcopy { display: flex; gap: 9px; align-items: flex-start; max-width: 620px; color: var(--muted); font-size: .88rem; }
.microcopy::before { content: ""; width: 8px; height: 8px; margin-top: .5em; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.hero__visual { position: relative; }
.hero__frame { position: relative; padding: 12px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.015)); box-shadow: var(--shadow); transform: rotate(1.25deg); }
.hero__frame img { width: 100%; aspect-ratio: 1 / .78; border-radius: 16px; object-fit: cover; }
.hero__badge { position: absolute; right: -18px; bottom: 24px; padding: 12px 15px; border: 1px solid rgba(72,215,232,.35); border-radius: 12px; color: var(--cyan); background: rgba(9,17,21,.94); font: 800 .75rem/1.2 ui-monospace, monospace; letter-spacing: .08em; }

.section { padding: 74px 0; }
.section--panel { background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); border-block: 1px solid rgba(255,255,255,.055); }
.section-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 28px; }
.section-heading h2, .page-head h1 { margin-bottom: 0; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; }
.section-heading p { max-width: 560px; margin-bottom: 2px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.service-card, .info-card, .contact-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.018)); box-shadow: 0 14px 35px rgba(0,0,0,.13); }
.service-card { min-height: 260px; display: flex; flex-direction: column; }
.service-card__number { color: var(--orange); font: 800 .8rem ui-monospace, monospace; }
.service-card h3 { margin: 46px 0 10px; font-size: 1.23rem; }
.service-card p { color: var(--muted); font-size: .92rem; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; width: fit-content; margin-top: auto; padding: 6px 9px; border-radius: 999px; color: var(--green); background: rgba(85,214,139,.09); font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill--off { color: #d6a477; background: rgba(214,164,119,.09); }
.workbench { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }
.info-card h2 { margin-bottom: 12px; font-size: clamp(1.55rem, 3vw, 2.45rem); letter-spacing: -.035em; }
.info-card p { color: var(--muted); }
.tool-line { color: var(--cyan) !important; font: 750 .9rem/1.8 ui-monospace, monospace; }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; padding: 1px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.readout__cell { padding: 22px; background: #0e1317; }
.readout__cell span { display: block; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.readout__cell strong { color: var(--cyan); font: 850 1.45rem ui-monospace, monospace; }

.page-head { padding: 72px 0 34px; text-align: center; }
.page-head .eyebrow { justify-content: center; }
.page-head .page-intro { margin: 18px auto 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 66px; }
.work-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform .2s ease, border-color .2s ease; }
.work-card:hover { transform: translateY(-4px); border-color: rgba(255,138,31,.55); }
.work-card__image { position: relative; width: 100%; padding: 0; border: 0; background: #050709; cursor: zoom-in; }
.work-card__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.work-card:hover .work-card__image img { transform: scale(1.035); }
.work-card__body { padding: 20px; }
.work-card__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--orange-2); font: 750 .72rem ui-monospace, monospace; text-transform: uppercase; }
.work-card h2 { margin-bottom: 8px; font-size: 1.18rem; }
.work-card p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.gallery-dialog { width: min(920px, calc(100% - 28px)); padding: 0; border: 1px solid var(--line); border-radius: 20px; color: var(--text); background: #0e1317; box-shadow: var(--shadow); }
.gallery-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(7px); }
.gallery-dialog__head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.gallery-dialog__head strong { font-size: .95rem; }
.dialog-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--panel-2); cursor: pointer; }
.gallery-dialog img { width: 100%; max-height: 68vh; object-fit: contain; background: #050709; }
.gallery-dialog p { margin: 0; padding: 17px 20px 22px; color: var(--muted); }
.cta-panel { display: flex; justify-content: space-between; gap: 28px; align-items: center; margin-bottom: 74px; padding: 30px; border: 1px solid rgba(255,138,31,.3); border-radius: var(--radius); background: linear-gradient(120deg, rgba(255,138,31,.11), rgba(72,215,232,.04)); }
.cta-panel h2 { margin-bottom: 4px; }
.cta-panel p { margin-bottom: 0; color: var(--muted); }

.maria-page { --orange: var(--pink); --orange-2: #ffb4d3; }
.maria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 34px; }
.maria-card { min-height: 300px; }
.maria-card .service-card__number { color: var(--pink); font-size: 1.5rem; }
.price { display: block; margin-top: auto; color: var(--pink); font-size: 1.35rem; font-weight: 900; }
.center-actions { display: flex; justify-content: center; margin: 18px 0 74px; }

.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; padding-bottom: 74px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-link { display: flex; align-items: center; gap: 14px; min-height: 74px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: var(--panel); text-decoration: none; font-weight: 800; transition: transform .2s, border-color .2s; }
.contact-link:hover { transform: translateY(-2px); border-color: rgba(72,215,232,.5); }
.contact-link span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--cyan); background: rgba(72,215,232,.09); }
.contact-card h2 { margin-bottom: 9px; }
.contact-card p { color: var(--muted); }
.contact-card__note { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem; }

.site-footer { border-top: 1px solid var(--line); background: #080a0c; }
.site-footer__inner { min-height: 120px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; color: var(--muted); font-size: .82rem; }
.site-footer strong { display: block; color: var(--text); letter-spacing: .08em; }
.site-footer span { display: block; }
.site-footer__status { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

:focus-visible { outline: 3px solid rgba(72,215,232,.7); outline-offset: 3px; }

@media (max-width: 920px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; inset: 74px 16px auto; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #10151a; box-shadow: var(--shadow); }
    .site-nav.is-open { display: grid; }
    .language-switch { margin-left: 0; }
    .hero__grid, .workbench, .contact-layout { grid-template-columns: 1fr; }
    .hero__visual { width: min(620px, 100%); }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .maria-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .shell { width: min(100% - 26px, 1180px); }
    .site-header__inner { gap: 10px; }
    .brand__text { display: none; }
    .language-switch { padding-left: 7px; }
    .hero { padding-top: 54px; }
    .hero__grid { gap: 38px; }
    .hero__badge { right: 8px; bottom: 10px; }
    .section { padding: 54px 0; }
    .section-heading { display: block; }
    .service-grid, .gallery-grid, .contact-list { grid-template-columns: 1fr; }
    .service-card { min-height: 220px; }
    .section-heading p { margin-top: 12px; }
    .cta-panel { display: block; }
    .cta-panel .button { margin-top: 18px; width: 100%; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 8px; padding-block: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
