/* style.css */
/* STUDIO DWA — původní pravidla, odstraněné přepsané duplicity. */

:root {
    --bg: #080a10;
    --fg: #eff1f8;
    --muted: #9295ab;
    --line: #ffffff20;
    --lime: #d5ff72;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse at 90% 10%, #16484535, transparent 45%),
        linear-gradient(90deg, #ffffff03 1px, transparent 1px),
        linear-gradient(#ffffff03 1px, transparent 1px);
    background-size: auto, 100px 100px, 100px 100px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button,
a,
input,
textarea {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

.wrap {
    max-width: 1440px;
    margin: auto;
    padding: 0 64px;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #080a10d9;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.nav {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 900;
}

.brand svg {
    width: 29px;
    height: 29px;
}

.brand sup {
    font-size: 9px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 1px;
    margin-left: 5px;
}

.links {
    display: flex;
    gap: 32px;
    font-size: 13px;
}

.nav-cta {
    padding: 13px 20px;
    border: 1px solid #ffffff45;
    border-radius: 30px;
    font-size: 12px;
}

.nav-cta:hover {
    background: var(--lime);
    color: var(--bg);
}

.eyebrow {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 13px var(--lime);
}

.hero {
    position: relative;
    min-height: 740px;
    padding-top: 64px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    align-items: center;
    gap: 20px;
}

.hero h1 {
    font-weight: 500;
    margin: 42px 0 28px;
    position: relative;
    z-index: 2;
}

.hero h1 em {
    font-style: normal;
    color: var(--lime);
}

.intro {
    font-size: 16px;
    color: #aaadbe;
    line-height: 1.7;
    max-width: 390px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    background: var(--lime);
    color: #10130a;
    padding: 18px 25px;
    border: 0;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
}

.btn span {
    font-size: 21px;
    font-weight: 400;
}

.actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 32px;
}

.text-link {
    font-size: 12px;
    border-bottom: 1px solid #ffffff60;
    padding-bottom: 7px;
}

.sculpture {
    height: 560px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 900px;
}

.orb-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, #955eff40, transparent 68%);
    filter: blur(15px);
}

.orb {
    width: 420px;
    height: 420px;
    position: relative;
    transform: rotate(-24deg);
    animation: float 8s ease-in-out infinite;
}

.orb svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 30px 30px #000);
}

.orbit {
    position: absolute;
    border: 1px solid #bba0ff50;
    width: 500px;
    height: 160px;
    top: 195px;
    left: 50%;
    transform: translateX(-50%) rotate(-32deg);
    border-radius: 50%;
    pointer-events: none;
}

.orbit:after {
    content: "";
    position: absolute;
    top: 12px;
    right: 82px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 20px #d5ff7290;
}

.tag {
    position: absolute;
    border: 1px solid #ffffff25;
    background: #151721c9;
    backdrop-filter: blur(12px);
    padding: 12px 15px;
    border-radius: 9px;
    font-size: 11px;
    box-shadow: 0 12px 40px #0004;
}

.tag.one {
    left: 2%;
    top: 100px;
    transform: rotate(-8deg);
}

.tag.two {
    right: 0;
    bottom: 95px;
    transform: rotate(7deg);
    color: var(--lime);
}

.coordinates {
    position: absolute;
    bottom: 26px;
    right: 0;
    font-size: 9px;
    letter-spacing: 2px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--muted);
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 24px 0;
    margin-top: 35px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--muted);
}

.hero-bottom .b {
    color: var(--lime);
}

.ticker {
    border-block: 1px solid var(--line);
    overflow: hidden;
}

.ticker-inner {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.ticker b {
    color: var(--cyan);
    font-weight: 400;
}

.section {
    padding-top: 100px;
    padding-bottom: 95px;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px;
    gap: 30px;
}

.section h2 {
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 500;
    margin: 20px 0 0;
}

.section-top p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 320px;
    margin: 0;
}

.projects {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 20px;
}

.project {
    background: transparent;
    border: 0;
    color: inherit;
    text-align: left;
    padding: 0;
    min-width: 0;
}

.project:hover .preview {
    transform: translateY(-7px);
    border-color: #ffffff70;
}

.preview {
    height: 330px;
    position: relative;
    border: 1px solid #ffffff25;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.35s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p1:before {
    content: "";
    position: absolute;
    width: 160px;
    height: 320px;
    border: 1px solid #ffffff50;
    border-radius: 90px 90px 0 0;
    transform: rotate(15deg);
    background: linear-gradient(120deg, #f8eee245, transparent);
}

.project-title {
    position: relative;
    text-align: center;
}

.p1 .project-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 35px;
    letter-spacing: 2px;
}

.project-title small {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    letter-spacing: 3px;
    margin-top: 14px;
}

.p2 {
    background: #f25b36;
    color: #401d18;
}

.p2:before,
.p2:after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border: 1px solid #60221360;
    border-radius: 50%;
    left: -60px;
    top: -50px;
}

.p2:after {
    top: auto;
    left: auto;
    right: -80px;
    bottom: -85px;
}

.p2 .project-title {
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-size: 45px;
    font-weight: bold;
    line-height: 0.85;
    transform: rotate(-7deg);
}

.p3 {
    background: repeating-linear-gradient(
        125deg,
        #151920 0,
        #151920 50px,
        #222731 51px,
        #222731 52px
    );
}

.p3 .project-title {
    font-size: 43px;
    font-style: italic;
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--lime);
    transform: rotate(-8deg);
}

.project-number {
    position: absolute;
    top: 18px;
    left: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
}

.preview-note {
    position: absolute;
    bottom: 15px;
    left: 18px;
    font-size: 9px;
    letter-spacing: 1px;
    font-family: Arial, Helvetica, sans-serif;
    opacity: 0.8;
}

.project-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-top: 19px;
    font-size: 16px;
}

.project-line span:last-child {
    border: 1px solid #ffffff35;
    border-radius: 50%;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
}

.project-meta {
    color: var(--muted);
    font-size: 11px;
    margin-top: 8px;
}

.services-section {
    border-top: 1px solid var(--line);
}

.services {
    margin-top: 40px;
}

.service {
    display: grid;
    grid-template-columns: 70px 1.1fr 1fr 40px;
    gap: 20px;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 30px 0;
}

.service:last-child {
    border-bottom: 1px solid var(--line);
}

.service-num {
    color: var(--cyan);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

.service h3 {
    font-size: 29px;
    font-weight: 400;
    letter-spacing: -1px;
    margin: 0;
}

.service p {
    font-size: 13px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0;
    max-width: 380px;
}

.service-icon {
    font-size: 25px;
    color: var(--lime);
}

.about {
    background: #75e1dc;
    color: #0a2727;
    border-radius: 24px;
    padding: 54px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 55px;
    position: relative;
    overflow: hidden;
}

.about .eyebrow {
    color: #184344;
}

.about h2 {
    font-size: 51px;
    margin-top: 25px;
}

.about p {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 0;
}

.about-note {
    border-top: 1px solid #0a272740;
    margin-top: 28px;
    padding-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

.process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 45px;
}

.process div {
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.process span {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--lime);
    font-size: 10px;
}

.process h3 {
    font-weight: 400;
    font-size: 21px;
}

.process p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.contact {
    position: relative;
    text-align: center;
    padding: 85px 20px;
    border-top: 1px solid var(--line);
    background: radial-gradient(
        ellipse at bottom,
        #16484550,
        transparent 65%
    );
}

.contact h2 {
    max-width: 850px;
    margin: 25px auto 30px;
}

.contact h2 em {
    font-weight: 400;
    color: var(--cyan);
}

.contact .eyebrow {
    justify-content: center;
}

.contact p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.contact small {
    display: block;
    margin: 18px auto 0;
    font-size: 10px;
    color: var(--muted);
    max-width: 400px;
    line-height: 1.6;
}

footer {
    padding: 26px 0;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    color: var(--muted);
}

.footer-inner .brand {
    color: var(--fg);
    font-size: 17px;
}

dialog {
    background: #141620;
    color: var(--fg);
    border: 1px solid #ffffff30;
    border-radius: 20px;
    padding: 35px;
    width: min(560px, calc(100% - 28px));
    max-height: 88vh;
    overflow: auto;
}

dialog::backdrop {
    background: #000b;
    backdrop-filter: blur(8px);
}

.modal-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.modal-head h2 {
    font-size: 26px;
    letter-spacing: -1px;
    font-weight: 400;
    margin: 0;
}

.close {
    background: none;
    border: 1px solid var(--line);
    color: var(--fg);
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

.modal-copy {
    font-size: 14px;
    line-height: 1.8;
    color: #b4b7c8;
}

.modal-label {
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 1px;
    color: var(--lime);
}

label {
    display: block;
    font-size: 12px;
    margin: 20px 0 8px;
}

input,
textarea {
    width: 100%;
    background: #080a10;
    border: 1px solid #ffffff35;
    border-radius: 8px;
    color: var(--fg);
    padding: 13px;
    font-size: 14px;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

form .btn {
    margin-top: 22px;
    width: 100%;
}

.status {
    font-size: 12px;
    line-height: 1.6;
    color: var(--lime);
    min-height: 20px;
    margin-top: 15px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 5px;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(-24deg);
    }

    50% {
        transform: translateY(-20px) rotate(-14deg);
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1050px) {
    .wrap {
        padding: 0 35px;
    }

    .orb {
        width: 340px;
        height: 340px;
    }

    .orbit {
        width: 370px;
    }

    .projects {
        gap: 15px;
    }

    .preview {
        height: 270px;
    }

    .p3 .project-title {
        font-size: 34px;
    }

    .service {
        grid-template-columns: 45px 1fr 1fr 20px;
    }

    .about {
        gap: 35px;
        padding: 40px;
    }

    .about h2 {
        font-size: 40px;
    }
}

@media (max-width: 720px) {
    .wrap {
        padding: 0 22px;
    }

    .nav {
        height: 74px;
    }

    .links {
        display: none;
    }

    .brand {
        font-size: 20px;
    }

    .brand sup {
        display: none;
    }

    .nav-cta {
        padding: 11px 14px;
        font-size: 11px;
    }

    .hero {
        padding-top: 38px;
        min-height: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        margin-top: 30px;
    }

    .intro {
        font-size: 14px;
    }

    .sculpture {
        height: 370px;
        margin-top: 10px;
    }

    .orb {
        width: 320px;
        height: 320px;
    }

    .orbit {
        width: 340px;
        height: 115px;
        top: 135px;
    }

    .tag.one {
        top: 40px;
    }

    .tag.two {
        bottom: 45px;
    }

    .coordinates {
        bottom: 5px;
    }

    .hero-bottom {
        font-size: 8px;
        gap: 20px;
        margin-top: 20px;
    }

    .ticker {
        padding: 18px 0;
    }

    .ticker-inner {
        font-size: 20px;
    }

    .section {
        padding-top: 65px;
        padding-bottom: 60px;
    }

    .section-top {
        display: block;
    }

    .section-top p {
        margin-top: 22px;
    }

    .projects {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .preview {
        height: 340px;
    }

    .p3 .project-title {
        font-size: 48px;
    }

    .service {
        grid-template-columns: 25px 1fr 20px;
        gap: 14px;
        padding: 25px 0;
    }

    .service p {
        grid-column: 2;
        grid-row: 2;
        font-size: 12px;
    }

    .service-icon {
        grid-column: 3;
        grid-row: 1;
    }

    .about {
        grid-template-columns: 1fr;
        padding: 30px 25px;
        gap: 24px;
        border-radius: 16px;
    }

    .about p {
        font-size: 14px;
    }

    .process {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .process h3 {
        margin: 15px 0;
    }

    .contact {
        padding: 65px 22px;
    }

    .footer-inner {
        flex-wrap: wrap;
        font-size: 9px;
    }

    .footer-inner .brand {
        margin-bottom: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .orb,
    .ticker-inner {
        animation: none;
    }

    .preview {
        transition: none;
    }
}

.planetarium {
    height: 560px;
    isolation: isolate;
    border-radius: 30px;
    background: radial-gradient(
        ellipse at center,
        #16484545,
        transparent 65%
    );
}

#space {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: pan-y;
    cursor: grab;
}

#space.dragging {
    cursor: grabbing;
    touch-action: none;
}

.space-label {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    color: #8ed5d2;
    display: flex;
    gap: 8px;
    align-items: center;
    pointer-events: none;
}

.space-label .dot {
    width: 4px;
    height: 4px;
}

.space-controls {
    position: absolute;
    bottom: 35px;
    right: 15px;
    display: flex;
    gap: 7px;
}

.space-controls button {
    border: 1px solid #ffffff25;
    background: #121420bb;
    backdrop-filter: blur(10px);
    color: #d9f0ed;
    border-radius: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    padding: 10px 12px;
}

.space-hint {
    position: absolute;
    bottom: 10px;
    right: 20px;
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    letter-spacing: 1px;
    pointer-events: none;
}

#planet-name {
    position: absolute;
    bottom: 45px;
    left: 15px;
    max-width: 45%;
    color: var(--lime);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
    line-height: 1.8;
    pointer-events: none;
}

@media (max-width: 720px) {
    .space-label {
        top: 0;
        left: 0;
    }

    .space-controls {
        right: 0;
    }

    .space-hint {
        right: 0;
        bottom: 3px;
    }

    #planet-name {
        left: 0;
        font-size: 8px;
    }
}

#orbit-links {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orbit-link {
    pointer-events: auto;
    position: absolute;
    transform: translate(-50%, -50%);
    border: 1px solid color-mix(
        in srgb,
        var(--planet) 55%,
        transparent
    );
    padding: 9px 12px;
    background: #11121ddc;
    backdrop-filter: blur(12px);
    color: var(--planet);
    border-radius: 25px;
    font-size: 11px;
    white-space: nowrap;
    box-shadow: 0 0 20px #0006;
    transition: background 0.2s, box-shadow 0.2s;
}

.orbit-link:hover,
.orbit-link:focus-visible {
    background: var(--planet);
    color: #101018;
    box-shadow: 0 0 30px color-mix(
        in srgb,
        var(--planet) 25%,
        transparent
    );
    z-index: 5;
}

.service-page {
    padding-top: 75px;
    padding-bottom: 100px;
    min-height: 75vh;
}

.service-page h1 {
    font-size: clamp(52px, 7vw, 100px);
    max-width: 1000px;
    margin: 35px 0;
}

.service-lead {
    font-size: 20px;
    color: #b5c7c5;
    line-height: 1.7;
    max-width: 720px;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 55px 0;
}

.service-content li {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-content li:before {
    content: "↗";
    color: var(--lime);
    margin-right: 15px;
}

.service-content p {
    color: var(--muted);
    line-height: 1.8;
}

.service-other {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 45px;
}

.service-other a {
    font-size: 12px;
    border: 1px solid var(--line);
    padding: 12px 18px;
    border-radius: 25px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 720px) {
    .planetarium {
        height: 410px;
        padding-bottom: 75px;
    }

    #space {
        height: 335px;
    }

    .space-hint {
        display: none;
    }

    .space-controls {
        bottom: 75px;
    }

    #planet-name {
        bottom: 80px;
    }

    #orbit-links {
        top: auto;
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
        pointer-events: auto;
    }

    .orbit-link {
        position: static;
        transform: none;
        text-align: center;
        font-size: 11px;
        padding: 10px 7px;
    }

    .service-page {
        padding-top: 45px;
    }

    .service-lead {
        font-size: 16px;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 30px 0;
    }

    .service-content li {
        font-size: 16px;
    }
}

.logo-crop {
    display: block;
    position: relative;
    flex-shrink: 0;
}

.logo-crop img {
    display: block;
    pointer-events: none;
}

.footer-inner .brand {
    width: auto;
}

.brand {
    letter-spacing: 0;
}

.about h2,
.about p {
    color: #0a2727;
}

.about-note {
    border-color: #0a272740;
}

.contact h2 em {
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
}

.preview.p1 {
    background:
        radial-gradient(ellipse at 60% 10%, #bdede9, #2e7e7b50),
        #406b69;
    color: #f0ffff;
}

.preview.p2 {
    background: #55e6e0;
    color: #0b3332;
}

.p2:before,
.p2:after {
    border-color: #0b333240;
    box-shadow:
        0 0 0 25px #d5ff7235,
        0 0 0 50px #d5ff7235;
}

.nav .links a:hover,
.text-link:hover {
    color: var(--cyan);
}

@media (max-width: 720px) {
    .nav {
        gap: 14px;
    }

    .footer-inner .brand {
        width: 100%;
    }

    .footer-inner .logo-crop {
        width: 180px;
        height: 55px;
    }
}

@media (max-width: 380px) {
    .nav-cta {
        padding: 10px;
        font-size: 10px;
    }
}

:root {
    --action: #66c7f9;
    --action-text: #07171e;
    --cyan: #66c7f9;
}

.btn,
.nav-cta {
    background: var(--action);
    color: var(--action-text);
    border-color: var(--action);
    font-weight: 500;
}

.btn:hover,
.nav-cta:hover {
    background: #8bd6ff;
    color: var(--action-text);
    border-color: #8bd6ff;
}

.btn:active,
.nav-cta:active {
    background: #4fb9f0;
}

.hero h1 em,
.contact h2 em,
.service-icon,
.service-num,
.process span,
.hero-bottom .b,
.modal-label {
    color: var(--action);
}

.text-link:hover,
.links a:hover {
    color: var(--action);
}

.space-controls button:hover {
    border-color: var(--action);
    color: var(--action);
}

.service-other a:hover {
    border-color: var(--action);
    color: var(--action);
}

::selection {
    background: var(--action);
    color: var(--action-text);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline-color: var(--action);
}

.hero h1,
.section h2,
.contact h2,
.service-page h1,
.service h3,
.process h3,
.modal-head h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(48px, 5.5vw, 84px);
    line-height: 1.02;
    letter-spacing: -3px;
}

.section h2 {
    line-height: 1.08;
    letter-spacing: -2px;
}

.service-page h1 {
    line-height: 1.08;
    letter-spacing: -3px;
}

.contact h2 {
    font-size: clamp(45px, 5.8vw, 82px);
    line-height: 1.08;
    letter-spacing: -3px;
}

.hero h1 em,
.contact h2 em {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #66c7f9;
    background: linear-gradient(
        110deg,
        #66c7f9 0%,
        #4794ff 30%,
        #e84d91 65%,
        #66c7f9 100%
    );
    background-size: 250% 100%;
    animation: headline-color-flow 8s ease-in-out infinite alternate;
}

.hero h1 em {
    display: inline-block;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .hero h1 em,
    .contact h2 em {
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

@keyframes headline-color-flow {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 100% 50%;
    }
}

@media (min-width: 1500px) {
    .hero h1 {
        font-size: 84px;
    }
}

@media (max-width: 1050px) {
    .hero h1 {
        letter-spacing: -2px;
    }
}

@media (max-width: 720px) {
    .hero h1 {
        font-size: clamp(34px, 9.4vw, 64px);
        letter-spacing: -1.8px;
        line-height: 1.06;
    }

    .section h2 {
        font-size: 36px;
        letter-spacing: -1.3px;
    }

    .contact h2 {
        font-size: clamp(36px, 9vw, 55px);
        letter-spacing: -1.5px;
    }

    .service-page h1 {
        font-size: clamp(38px, 10vw, 52px);
        letter-spacing: -1.6px;
    }

    .service h3 {
        font-size: 23px;
    }

    .about h2 {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero h1 em,
    .contact h2 em {
        animation: none;
        background-position: 50% 50%;
    }
}

@media (forced-colors: active) {
    .hero h1 em,
    .contact h2 em {
        background: none;
        color: CanvasText;
        -webkit-text-fill-color: CanvasText;
    }
}

h1,
.hero h1,
.service-page h1 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(62px, 6.4vw, 116px);
    line-height: 0.95;
    letter-spacing: -5px;
    font-weight: 800;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hero h1 em {
    font-family: inherit;
    font-weight: inherit;
}

.hero-grid > div {
    min-width: 0;
}

.ticker-inner {
    display: flex;
    width: max-content;
    animation: marquee-seamless 35s linear infinite;
    will-change: transform;
}

.ticker-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex: 0 0 auto;
    width: max-content;
    min-width: 100vw;
    padding-inline: 17.5px;
}

.ticker-group span,
.ticker-group b {
    flex: none;
    white-space: nowrap;
}

.ticker-gradient {
    color: #66c7f9;
    background: linear-gradient(
        110deg,
        #66c7f9 0%,
        #4794ff 30%,
        #e84d91 65%,
        #66c7f9 100%
    );
    background-size: 250% 100%;
    animation: headline-color-flow 8s ease-in-out infinite alternate;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .ticker-gradient {
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

@keyframes marquee-seamless {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-inner,
    .ticker-gradient {
        animation: none;
    }

    .ticker-gradient {
        background-position: 50% 50%;
    }

    .ticker-group:nth-child(2) {
        display: none;
    }

    .ticker-group {
        width: 100%;
        min-width: 0;
        flex-wrap: wrap;
        gap: 20px;
    }

    .ticker-inner {
        width: 100%;
    }
}

@media (forced-colors: active) {
    .ticker-gradient {
        background: none;
        color: CanvasText;
        -webkit-text-fill-color: CanvasText;
    }
}

.ticker-group span {
    position: relative;
    display: inline-block;
}

.ticker-group span::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    pointer-events: none;
    color: #66c7f9;
    white-space: nowrap;
    background: linear-gradient(
        110deg,
        #66c7f9 0%,
        #4794ff 30%,
        #e84d91 65%,
        #66c7f9 100%
    );
    background-size: 250% 100%;
    animation: headline-color-flow 8s ease-in-out infinite alternate;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ticker-group span.ticker-active::after {
    opacity: 1;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .ticker-group span::after {
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-group span::after {
        animation: none;
        transition: none;
        background-position: 50% 50%;
    }
}

@media (forced-colors: active) {
    .ticker-group span::after {
        display: none;
    }

    .ticker-group span.ticker-active {
        text-decoration: underline;
    }
}

.logo-crop {
    width: 220px;
    height: 68px;
    overflow: visible;
}

.logo-crop img {
    position: static;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    left: auto;
    top: auto;
}

.footer-inner .logo-crop {
    width: 180px;
    height: 55px;
}

@media (max-width: 720px) {
    .logo-crop {
        width: 170px;
        height: 53px;
    }
}

@media (max-width: 380px) {
    .logo-crop {
        width: 148px;
        height: 46px;
    }
}

@media (min-width: 1101px) {
    .wrap {
        max-width: 1800px;
        padding-inline: clamp(36px, 3.3vw, 64px);
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 44px;
    }

    .hero h1 {
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }
}

@media (min-width: 721px) and (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero h1 {
        overflow-wrap: normal;
        word-break: normal;
    }

    .planetarium {
        max-width: 650px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 720px) {
    .hero h1 {
        font-size: clamp(34px, 9vw, 62px);
        letter-spacing: -2px;
        overflow-wrap: normal;
        word-break: normal;
    }
}

.ticker {
    position: relative;
    width: 100%;
    margin-top: 50px;
    padding: 22px 0;
    background: #15171b;
}

.ticker-inner {
    gap: 0;
    animation-duration: 28s;
}

.ticker-group {
    gap: 28px;
    padding: 0 20px;
}

.ticker-group span {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(20px, 1.5vw, 28px);
    font-weight: 700;
    line-height: 1;
    color: #eff1f8;
}

.ticker-group b {
    color: #66c7f9;
    font-size: 14px;
    font-weight: 400;
}

.ticker-group span::after,
.ticker-group span.ticker-active::after {
    opacity: var(--gradient-opacity, 0);
    transition: opacity 0.08s linear;
}

@media (hover: hover) and (pointer: fine) {
    .ticker:hover .ticker-inner {
        animation-play-state: paused;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-inner {
        animation: none;
    }

    .ticker-group span::after {
        transition: none;
    }
}

.service-page h1 {
    background: none;
    color: #eff1f8;
    -webkit-text-fill-color: #eff1f8;
    animation: none;
}

.title-gradient {
    display: inline-block;
    background: linear-gradient(
        110deg,
        #66c7f9 0%,
        #4794ff 30%,
        #e84d91 65%,
        #66c7f9 100%
    );
    background-size: 250% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: headline-color-flow 8s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
    .service-page h1 .title-gradient {
        animation: none;
        background-position: 50% 50%;
    }
}

@media (forced-colors: active) {
    .service-page h1 .title-gradient {
        background: none;
        color: CanvasText;
        -webkit-text-fill-color: CanvasText;
    }
}

h2,
.section h2,
.modal-head h2 {
    font-weight: 600;
}

.contact h2,
.contact h2 em {
    font-weight: 800;
}

/* Mobilní planetárium — bez překrývání ovládání */

@media (max-width: 720px) {
    .sculpture.planetarium {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        padding: 0;
        gap: 16px;
    }

    .planetarium .space-label {
        position: static;
        grid-row: 1;
    }

    .planetarium #space {
        grid-row: 2;
        width: 100%;
        height: 335px;
    }

    .planetarium #planet-name {
        position: static;
        grid-row: 3;
        max-width: 100%;
        margin: 0;
    }

    .planetarium .space-controls {
        position: static;
        grid-row: 4;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .planetarium #orbit-links {
        position: static;
        grid-row: 5;
        inset: auto;
        width: 100%;
    }

    .planetarium .space-hint {
        display: none;
    }
}

/* Mobilní planetárium */
@media (max-width: 720px),
       (max-height: 500px) and (pointer: coarse) {

    .sculpture.planetarium {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 0;
        padding: 0;
        gap: 10px;
        margin-top: 10px;
        scroll-margin-top: 90px;
    }

    .planetarium .space-label {
        position: static;
        grid-row: 1;
        font-size: 9px;
        line-height: 14px;
    }

    .planetarium #space {
        grid-row: 2;
        width: 100%;
        min-width: 0;

        /* Zohledňuje šířku i dostupnou výšku displeje. */
        height: min(280px, 72vw, max(140px, calc(100vh - 260px)));
        height: min(280px, 72vw, max(140px, calc(100svh - 260px)));

        cursor: default;
        touch-action: pan-y;
    }

    .planetarium #planet-name {
        position: static;
        grid-row: 3;
        max-width: 100%;
        margin: 0;
        font-size: 8px;
        line-height: 14px;
    }

    /* Na mobilu obě ovládací tlačítka zmizí. */
    .planetarium .space-controls,
    .planetarium .space-hint {
        display: none;
    }

    /* Všech šest služeb pod planetáriem: 3 sloupce × 2 řady. */
    .planetarium #orbit-links {
        position: static;
        grid-row: 4;
        inset: auto;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 7px;
        pointer-events: auto;
    }

    .planetarium .orbit-link {
        position: static;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 44px;
        padding: 8px 5px;
        font-size: 11px;
        line-height: 16px;
        text-align: center;
    }
}

@media (max-width: 720px),
       (max-height: 500px) and (pointer: coarse) {

    .planetarium #space {
        /* JS dopočítá výšku podle šířky a sklonu oběžných drah. */
        height: var(--mobile-orbit-height, calc(60vw + 12px));
    }
}
@media (max-width: 720px),
       (max-height: 500px) and (pointer: coarse) {

    .sculpture.planetarium {
        gap: 6px;
        margin-top: 0;
    }
}


/* STUDIO DWA — footer */
.dwa-footer {
    position: relative;
    padding: 48px 0 20px;
    border-top: 0;
    color: #eff1f8;
    background: radial-gradient(ellipse at 0 0, #4794ff0c, transparent 55%), #080a10;
}
.dwa-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, #66c7f9aa, #e84d9180, transparent);
}
.dwa-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ffffff12;
}
.dwa-footer-logo { display: block; width: 210px; max-width: 65%; }
.dwa-footer-logo img { display: block; width: 100%; height: auto; }
.dwa-footer-signature { color: #a5a9ba; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.dwa-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    gap: 44px;
    padding: 44px 0 30px;
}
.dwa-footer-label {
    margin: 0 0 18px;
    color: #a5a9ba;
    font: 500 10px/1.5 Arial, sans-serif;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}
.dwa-footer-contact h2 {
    margin: 0 0 24px;
    font: 700 clamp(25px, 2.5vw, 38px)/1.2 'Montserrat', Arial, sans-serif;
    letter-spacing: -1.2px;
    text-transform: none;
}
.dwa-footer-email {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    max-width: 420px;
    min-height: 52px;
    padding-bottom: 12px;
    border-bottom: 1px solid #66c7f950;
    font-size: clamp(19px, 1.7vw, 27px);
    letter-spacing: -.6px;
}
.dwa-footer-phone { display: inline-flex; align-items: center; min-height: 48px; margin-top: 8px; font-size: 16px; color: #b8bdcd; }
.dwa-footer-nav { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.dwa-footer-nav a { display: flex; align-items: center; gap: 9px; min-height: 44px; color: #b8bdcd; font-size: 14px; }
.dwa-footer-instagram { margin-top: 8px; }
.dwa-footer-instagram svg { flex-shrink: 0; }
.dwa-footer a { transition: color .2s ease, border-color .2s ease; }
.dwa-footer a:hover, .dwa-footer a:focus-visible { color: #66c7f9; border-color: #66c7f9; }
.dwa-footer a:focus-visible { outline: 2px solid #66c7f9; outline-offset: 5px; border-radius: 3px; }
.dwa-footer-wordmark {
    padding: 12px 0 24px;
    font: 800 clamp(40px, 11.2vw, 170px)/1.05 'Montserrat', Arial, sans-serif;
    letter-spacing: -.065em;
    white-space: nowrap;
    color: #ffffff0e;
    user-select: none;
}
.dwa-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid #ffffff12; padding-top: 16px; color: #a5a9ba; font-size: 11px; }
.dwa-footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.dwa-footer-toplink { gap: 12px; }
@media (max-width: 720px) {
    .dwa-footer { padding-top: 30px; }
    .dwa-footer-top { align-items: flex-start; flex-direction: column; gap: 16px; padding-bottom: 26px; }
    .dwa-footer-logo { width: 180px; }
    .dwa-footer-signature { font-size: 9px; letter-spacing: 1.2px; }
    .dwa-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 28px; padding-top: 30px; }
    .dwa-footer-contact { grid-column: 1 / -1; }
    .dwa-footer-contact h2 { font-size: 27px; }
    .dwa-footer-email { max-width: 100%; font-size: clamp(19px, 5.5vw, 25px); }
    .dwa-footer-wordmark { font-size: 10.7vw; padding: 0 0 24px; }
    .dwa-footer-bottom { column-gap: 16px; }
    .dwa-footer-toplink { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .dwa-footer a { transition: none; }
}

/* Footer — ikony a animované odkazy */

.dwa-footer .dwa-footer-email {
    justify-content: flex-start;
    gap: 12px;
}

.dwa-footer .dwa-contact-icon {
    flex: 0 0 auto;
    color: #66c7f9;
}

.dwa-footer .dwa-footer-phone {
    gap: 12px;
}

.dwa-footer .dwa-footer-email > .dwa-footer-text {
    min-width: 0;
    flex-shrink: 1;
    color: inherit;
    font-size: inherit;
}

.dwa-footer .dwa-footer-nav a > .dwa-footer-text {
    margin-left: 0;
    color: inherit;
}

.dwa-footer .dwa-footer-toplink > .dwa-footer-text {
    display: inline-block;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    color: inherit;
    font-size: inherit;
}

.dwa-footer .dwa-footer-text {
    display: inline-block;
    transform-origin: left center;
    transition:
        transform .3s ease,
        filter .3s ease;
}

@keyframes dwa-footer-gradient {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 100% 50%;
    }
}

@media (hover: hover) and (pointer: fine) {
    .dwa-footer a:hover .dwa-footer-text {
        transform: translateY(-2px) scale(1.04);
        filter: drop-shadow(0 4px 8px #4794ff40);
    }
}

.dwa-footer a:focus-visible .dwa-footer-text {
    transform: translateY(-2px) scale(1.04);
    filter: drop-shadow(0 4px 8px #4794ff40);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .dwa-footer a:focus-visible .dwa-footer-text {
        background: linear-gradient(
            110deg,
            #66c7f9 0%,
            #4794ff 30%,
            #e84d91 65%,
            #66c7f9 100%
        );
        background-size: 250% 100%;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        animation: dwa-footer-gradient 8s ease-in-out infinite alternate;
    }

    @media (hover: hover) and (pointer: fine) {
        .dwa-footer a:hover .dwa-footer-text {
            background: linear-gradient(
                110deg,
                #66c7f9 0%,
                #4794ff 30%,
                #e84d91 65%,
                #66c7f9 100%
            );
            background-size: 250% 100%;
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
            animation: dwa-footer-gradient 8s ease-in-out infinite alternate;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .dwa-footer .dwa-footer-text,
    .dwa-footer a:hover .dwa-footer-text,
    .dwa-footer a:focus-visible .dwa-footer-text {
        transition: none;
        animation: none;
        transform: none;
    }
}
/* Typografický úvod footeru */
.dwa-footer .dwa-footer-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 28px;
}
.dwa-footer .dwa-footer-top .dwa-footer-wordmark {
    margin: 0;
    padding: 0;
    line-height: 1.05;
}
@media (max-width: 720px) {
    .dwa-footer .dwa-footer-top {
        gap: 12px;
        padding-bottom: 22px;
    }
}

/* Mobilní footer — zarovnání na střed */

@media (max-width: 720px) {
    .dwa-footer {
        text-align: center;
    }

    .dwa-footer .dwa-footer-top {
        align-items: center;
    }

    .dwa-footer .dwa-footer-email,
    .dwa-footer .dwa-footer-phone {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .dwa-footer .dwa-footer-nav {
        align-items: center;
    }

    .dwa-footer .dwa-footer-nav a {
        justify-content: center;
    }

    .dwa-footer .dwa-footer-text {
        transform-origin: center;
    }

    .dwa-footer .dwa-footer-bottom {
        justify-content: center;
        gap: 8px 20px;
    }

    .dwa-footer .dwa-footer-bottom > span {
        flex-basis: 100%;
    }

    .dwa-footer .dwa-footer-toplink {
        margin-left: 0;
    }
}

/* Wrap Studio — rozsah vývoje */

.wrap-case {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, 1fr);
    gap: clamp(32px, 5vw, 88px);
    margin-top: 60px;
    padding: 44px 0 0;
    border-top: 1px solid #ffffff20;
}

.wrap-case-label {
    margin: 0 0 22px;
    color: #a5a9ba;
    font-size: 10px;
    letter-spacing: 1.5px;
    line-height: 1.7;
}

.wrap-case h3 {
    margin: 0 0 24px;
    font:
        700 clamp(30px, 3.6vw, 52px)/1.12
        'Montserrat', Arial, sans-serif;
    letter-spacing: -1.8px;
}

.wrap-case-lead {
    max-width: 580px;
    margin: 0;
    color: #b8bdcd;
    font-size: 15px;
    line-height: 1.8;
}

.wrap-case-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 30px 0 24px;
}

.wrap-case-metrics strong {
    display: block;
    color: #66c7f9;
    font: 700 42px/1.1 'Montserrat', Arial, sans-serif;
}

.wrap-case-metrics span {
    display: block;
    margin-top: 8px;
    color: #a5a9ba;
    font-size: 11px;
    line-height: 1.5;
}

.wrap-case-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #eff1f8;
    border-bottom: 1px solid #66c7f970;
    font-size: 13px;
}

.wrap-case-link:hover {
    color: #66c7f9;
}

.wrap-case-link:focus-visible {
    outline: 2px solid #66c7f9;
    outline-offset: 4px;
}

.wrap-case-features > div {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid #ffffff14;
}

.wrap-case-features > div:first-child {
    padding-top: 0;
}

.wrap-case-number {
    flex: 0 0 24px;
    padding-top: 3px;
    color: #66c7f9;
    font-size: 11px;
}

.wrap-case-features h4 {
    margin: 0 0 9px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.wrap-case-features p {
    margin: 0;
    color: #a5a9ba;
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .wrap-case {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 720px) {
    .wrap-case {
        margin-top: 40px;
        padding-top: 30px;
    }

    .wrap-case h3 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .wrap-case-lead {
        font-size: 14px;
    }

    .wrap-case-metrics {
        gap: 12px;
    }

    .wrap-case-metrics strong {
        font-size: 36px;
    }
}

/* WRAP STUDIO — jemné zarovnání */
.wrap-case-metrics {
  max-width: 520px;
}

@media (min-width: 901px) {
  .wrap-case {
    align-items: start;
  }

  .wrap-case-features {
    padding-top: 39px;
  }
}

/* ŽIVÉ DATOVÉ POZADÍ */

body {
  isolation: isolate;
}

#dwa-data-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
  mask-image: none;
  -webkit-mask-image: none;
}

@media (max-width: 720px) {
  #dwa-data-field {
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  #dwa-data-field {
    display: none;
  }
}

/* Světlejší úvodní text pouze v hero sekci. */
#home-page .hero p.intro {
  color: #eff1f8;
}

/* Světlejší text DESIGN × TECHNOLOGIE × KREATIVITA. */
#home-page .hero .hero-bottom > span:first-child {
  color: #eff1f8;
}

/* Náhledy všech tří projektů vyplní celý rámeček. */
#projekty .reference-visual img {
  object-fit: cover;
  object-position: center;
}

/* Hlavní stránka — přehled nabídky */

#sluzby .service-summary {
    min-width: 0;
}

#sluzby .service-summary p {
    max-width: 560px;
}

#sluzby .service-summary ul {
    display: grid;
    gap: 9px;
    margin: 16px 0 0;
    padding-left: 17px;
    color: #b8bdcd;
    font-size: 13px;
    line-height: 1.7;
}

#sluzby .service-summary li::marker {
    color: #86c8f4;
}

#sluzby .service-summary strong {
    color: #eff1f8;
    font-weight: 600;
}

#sluzby .service-more {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 0;
    color: #86c8f4;
    font-size: 13px;
    line-height: 1.5;
    border-bottom: 1px solid #86c8f455;
}

#sluzby h3 a {
    display: inline-block;
    transition:
        color 0.25s,
        transform 0.25s;
}

#sluzby h3 a:hover {
    color: #86c8f4;
    transform: translateY(-2px);
}

#sluzby .service-more:hover {
    color: #eff1f8;
    border-color: #eff1f8;
}

#sluzby a:focus-visible {
    outline: 2px solid #86c8f4;
    outline-offset: 6px;
    border-radius: 3px;
}

@media (max-width: 720px) {
    #sluzby .service-summary {
        grid-column: 2;
        grid-row: 2;
    }

    #sluzby .service-summary ul {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #sluzby h3 a {
        transition: none;
    }

    #sluzby h3 a:hover {
        transform: none;
    }
}
/* cookies.css */
.dwa-cookie-banner,
.dwa-cookie-dialog {
    color: #eff1f8;
    background: #10131b;
    border: 1px solid #66c7f940;
    box-shadow: 0 20px 70px #0009;
    font-family: Arial, sans-serif;
}
.dwa-cookie-banner {
    position: fixed;
    z-index: 1000;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: min(1050px, calc(100% - 32px));
    max-height: calc(100svh - 32px);
    overflow: auto;
    padding: 24px;
    border-radius: 18px;
}
.dwa-cookie-banner[hidden] { display: none; }
.dwa-cookie-label { margin: 0 0 8px; color: #9aa4b8; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; }
.dwa-cookie-banner h2,
.dwa-cookie-dialog h2 { margin: 0 0 12px; font: 700 23px/1.2 'Montserrat', Arial, sans-serif; letter-spacing: -.6px; text-transform: none; }
.dwa-cookie-banner p:not(.dwa-cookie-label),
.dwa-cookie-dialog p:not(.dwa-cookie-label) { font-size: 13px; line-height: 1.65; color: #b8bdcd; }
.dwa-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.dwa-cookie-actions button { flex: 1 1 160px; min-height: 44px; padding: 10px 16px; border: 1px solid #66c7f970; border-radius: 8px; background: #17202b; color: #eff1f8; font-size: 13px; cursor: pointer; transition: background .2s; }
.dwa-cookie-actions button:hover { background: #24364b; }
.dwa-cookie-actions button:focus-visible,
.dwa-cookie-dialog input:focus-visible { outline: 2px solid #66c7f9; outline-offset: 3px; }
.dwa-cookie-dialog { width: min(600px, calc(100% - 28px)); max-height: calc(100svh - 28px); padding: 28px; border-radius: 18px; }
.dwa-cookie-dialog::backdrop { background: #080a10c9; backdrop-filter: blur(5px); }
.dwa-cookie-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dwa-cookie-dialog .close { flex-shrink: 0; min-width: 44px; min-height: 44px; border: 1px solid #ffffff25; border-radius: 50%; color: #eff1f8; background: transparent; font-size: 24px; cursor: pointer; }
.dwa-cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid #ffffff15; cursor: pointer; }
.dwa-cookie-option strong { display: block; font-size: 15px; font-weight: 600; }
.dwa-cookie-option small { display: block; margin-top: 6px; color: #a5a9ba; font-size: 12px; line-height: 1.5; }
.dwa-cookie-option input { appearance: none; position: relative; flex: 0 0 auto; width: 44px; height: 26px; margin: 0; border: 1px solid #ffffff30; border-radius: 30px; background: #252b38; cursor: pointer; }
.dwa-cookie-option input::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #b8bdcd; transition: transform .2s; }
.dwa-cookie-option input:checked { background: #66c7f9; border-color: #66c7f9; }
.dwa-cookie-option input:checked::before { transform: translateX(18px); background: #0b1421; }
.dwa-cookie-option input:disabled { opacity: .65; cursor: default; }
.dwa-cookie-details { margin-top: 20px; }
.dwa-cookie-details summary { display: list-item; min-height: 44px; padding-block: 12px; color: #66c7f9; font-size: 13px; cursor: pointer; }
.dwa-cookie-details a { color: #66c7f9; overflow-wrap: anywhere; }
.dwa-cookie-dialog .dwa-cookie-note { font-size: 11px; }
.dwa-cookie-dialog .dwa-cookie-note a { color: #66c7f9; overflow-wrap: anywhere; }
.dwa-footer .dwa-cookie-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.dwa-footer .dwa-cookie-open:hover { color: #66c7f9; }
.dwa-footer .dwa-cookie-open:focus-visible { outline: 2px solid #66c7f9; outline-offset: 4px; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .dwa-footer .dwa-cookie-open:hover .dwa-footer-text,
    .dwa-footer .dwa-cookie-open:focus-visible .dwa-footer-text {
        background: linear-gradient(110deg, #66c7f9, #4794ff 30%, #e84d91 65%, #66c7f9);
        background-size: 250% 100%;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        transform: translateY(-2px) scale(1.04);
        animation: dwa-footer-gradient 8s ease-in-out infinite alternate;
    }
}
@media (max-width: 480px) {
    .dwa-cookie-banner { padding: 18px; }
    .dwa-cookie-actions { gap: 8px; }
    .dwa-cookie-actions button { flex-basis: 100%; }
    .dwa-cookie-dialog { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .dwa-cookie-actions button,
    .dwa-cookie-option input::before { transition: none; }
    .dwa-footer .dwa-cookie-open:hover .dwa-footer-text,
    .dwa-footer .dwa-cookie-open:focus-visible .dwa-footer-text { animation: none; transform: none; }
}
/* Okna souhlasu podle reference */
.dwa-cookie-dialog { width: min(680px, calc(100% - 28px)); padding: 36px; }
.dwa-cookie-heading { margin-bottom: 20px; }
.dwa-cookie-dialog .dwa-cookie-label { color: #66c7f9; font-weight: 700; }
.dwa-cookie-dialog h2 { text-transform: uppercase; font-size: 25px; }
.dwa-cookie-option { padding: 24px 0; }
.dwa-cookie-option strong { text-transform: uppercase; font-size: 13px; }
.dwa-cookie-required { color: #66c7f9; white-space: nowrap; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.dwa-cookie-dialog .dwa-cookie-actions { margin-top: 28px; }
.dwa-cookie-dialog .dwa-cookie-actions button { border-radius: 28px; background: #66c7f9; color: #07171e; font-weight: 700; min-height: 52px; text-transform: uppercase; }
.dwa-cookie-dialog .dwa-cookie-actions button:hover { background: #8bd6ff; }
.dwa-cookie-info { display: block; width: 100%; min-height: 44px; margin-top: 10px; border: 0; background: transparent; color: #a5a9ba; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; }
.dwa-cookie-info:hover { color: #66c7f9; }
.dwa-cookie-info:focus-visible { outline: 2px solid #66c7f9; outline-offset: 2px; }
.dwa-cookie-information { width: min(800px, calc(100% - 28px)); }
.dwa-cookie-information h3 { margin: 26px 0 8px; font-size: 14px; text-transform: uppercase; }
.dwa-cookie-information a { color: #66c7f9; overflow-wrap: anywhere; }
body:has(.dwa-cookie-dialog[open]) { overflow: hidden; }
@media (max-width: 480px) {
    .dwa-cookie-dialog { padding: 20px; }
    .dwa-cookie-dialog h2 { font-size: 21px; }
    .dwa-cookie-option { gap: 12px; padding: 20px 0; }
    .dwa-cookie-required { font-size: 9px; }
}
