:root {
    --bg: #f7f3ec;
    --paper: rgba(255,255,255,.76);
    --paper-solid: #fffaf2;
    --text: #141414;
    --muted: #68605a;
    --line: rgba(20,20,20,.12);
    --accent: #bf6b3a;
    --accent-dark: #8f4426;
    --dark: #111827;
    --dark-soft: #1f2937;
    --radius-lg: 32px;
    --radius-md: 22px;
    --shadow: 0 24px 70px rgba(25, 23, 20, .12);
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 5%, rgba(191,107,58,.18), transparent 32rem),
        radial-gradient(circle at 90% 0%, rgba(17,24,39,.10), transparent 28rem),
        var(--bg);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: calc(var(--max) + 48px);
    margin: 0 auto;
    padding: 20px 24px;
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 750;
    letter-spacing: -.02em;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--dark), var(--accent));
    box-shadow: 0 14px 34px rgba(17,24,39,.18);
    font-size: 14px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.45);
}
.nav a {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    transition: .2s ease;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.75); }
.nav-toggle { display: none; }

.section-pad,
.section {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}
.section-pad { padding: 80px 0 70px; }
.section { padding: 92px 0; }
.section-narrow { max-width: 820px; text-align: center; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 88px);
}
.eyebrow,
.section-kicker,
.mini-label {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
    margin-bottom: 24px;
    font-size: clamp(46px, 7vw, 86px);
    line-height: .94;
    letter-spacing: -.075em;
}
h2 {
    margin-bottom: 18px;
    font-size: clamp(32px, 4.4vw, 58px);
    line-height: 1.02;
    letter-spacing: -.055em;
}
h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: -.025em;
}
.lead {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
}
.section-head {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(260px, .7fr);
    gap: 32px;
    align-items: end;
    margin-bottom: 32px;
}
.section-head p:last-child {
    color: var(--muted);
    margin-bottom: 0;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    color: #fff;
    background: var(--dark);
    box-shadow: 0 18px 45px rgba(17,24,39,.22);
}
.btn-primary:hover { background: #030712; }
.btn-ghost {
    border-color: var(--line);
    background: rgba(255,255,255,.45);
}
.btn-ghost.dark { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}
.trust-row span {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.42);
    color: var(--muted);
    font-size: 14px;
}

.hero-visual {
    position: relative;
    min-height: 560px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 48px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.26)),
        radial-gradient(circle at 55% 30%, rgba(191,107,58,.28), transparent 16rem),
        radial-gradient(circle at 35% 70%, rgba(17,24,39,.20), transparent 18rem);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 70px;
    border-radius: 38px;
    border: 1px dashed rgba(17,24,39,.16);
    transform: rotate(-7deg);
}
.floating-card {
    position: absolute;
    width: min(270px, 72%);
    padding: 24px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 28px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 24px 60px rgba(17,24,39,.13);
    backdrop-filter: blur(18px);
}
.floating-card strong { display: block; font-size: 28px; letter-spacing: -.04em; }
.floating-card small { color: var(--muted); }
.card-one { top: 80px; left: 44px; }
.card-two { right: 44px; bottom: 82px; }
.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(1px);
}
.orb-one { width: 180px; height: 180px; right: 72px; top: 130px; background: rgba(191,107,58,.18); }
.orb-two { width: 240px; height: 240px; left: 90px; bottom: 80px; background: rgba(17,24,39,.09); }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.service-card,
.timeline-item,
.contact-card,
.admin-panel,
.upload-box,
.admin-image-card {
    border: 1px solid rgba(255,255,255,.72);
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}
.service-card {
    min-height: 260px;
    padding: 28px;
    border-radius: var(--radius-lg);
}
.service-card p,
.timeline-item p { color: var(--muted); margin-bottom: 0; }
.icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 32px;
    border-radius: 18px;
    color: #fff;
    background: var(--dark);
    font-size: 22px;
}
.highlight-card {
    color: #fff;
    background: linear-gradient(145deg, var(--dark), var(--dark-soft));
}
.highlight-card p { color: rgba(255,255,255,.72); }
.highlight-card .icon { background: rgba(255,255,255,.14); }

.process {
    width: min(1040px, calc(100% - 40px));
}
.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.timeline-item {
    padding: 24px;
    border-radius: 28px;
}
.timeline-item span {
    display: inline-flex;
    margin-bottom: 30px;
    color: var(--accent-dark);
    font-weight: 850;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: 26px;
    overflow: hidden;
    background: #e8dfd2;
    box-shadow: 0 16px 40px rgba(17,24,39,.11);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.placeholder-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.placeholder-gallery div {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    border-radius: 28px;
    color: #fff;
    background:
        linear-gradient(180deg, transparent, rgba(0,0,0,.44)),
        radial-gradient(circle at 30% 25%, rgba(255,255,255,.42), transparent 8rem),
        linear-gradient(135deg, #1f2937, #bf6b3a);
    box-shadow: 0 16px 40px rgba(17,24,39,.12);
}
.placeholder-gallery div:nth-child(2) { background: linear-gradient(180deg, transparent, rgba(0,0,0,.44)), radial-gradient(circle at 70% 30%, rgba(255,255,255,.28), transparent 9rem), linear-gradient(135deg, #7c3f24, #d1a47d); }
.placeholder-gallery div:nth-child(3) { background: linear-gradient(180deg, transparent, rgba(0,0,0,.44)), radial-gradient(circle at 50% 35%, rgba(255,255,255,.25), transparent 9rem), linear-gradient(135deg, #111827, #566071); }
.placeholder-gallery div:nth-child(4) { background: linear-gradient(180deg, transparent, rgba(0,0,0,.44)), radial-gradient(circle at 35% 25%, rgba(255,255,255,.35), transparent 8rem), linear-gradient(135deg, #3a2b25, #bf6b3a); }
.placeholder-gallery strong { font-size: 21px; line-height: 1.2; }
.placeholder-gallery span { color: rgba(255,255,255,.76); }

.contact-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    padding: clamp(28px, 5vw, 58px);
    border-radius: 42px;
    color: #fff;
    background:
        radial-gradient(circle at 12% 20%, rgba(191,107,58,.45), transparent 22rem),
        linear-gradient(145deg, #111827, #1f2937);
}
.contact-card p { color: rgba(255,255,255,.72); max-width: 720px; }
.contact-card .section-kicker { color: #e8b896; }
.contact-actions { align-content: start; justify-content: flex-end; margin-top: 0; }
.contact-lines {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.15);
}
.contact-lines span {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: rgba(255,255,255,.78);
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 38px 0 52px;
    color: var(--muted);
    font-size: 14px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.admin-body {
    min-height: 100vh;
    background: var(--bg);
}
.admin-shell {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
}
.admin-panel {
    padding: clamp(22px, 4vw, 42px);
    border-radius: 32px;
}
.admin-topline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    color: var(--accent-dark);
    font-weight: 750;
}
.admin-muted { color: var(--muted); }
.admin-form,
.upload-box {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    padding: 22px;
    border-radius: 24px;
}
.admin-form input,
.upload-box input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.72);
    font: inherit;
}
.notice {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 16px;
    font-weight: 700;
}
.notice.error { color: #842029; background: #f8d7da; }
.notice.success { color: #0f5132; background: #d1e7dd; }
.admin-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}
.admin-image-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 22px;
}
.admin-image-card img {
    width: 112px;
    height: 90px;
    border-radius: 16px;
    object-fit: cover;
}
.admin-image-card strong {
    display: block;
    overflow-wrap: anywhere;
    margin-bottom: 8px;
    font-size: 13px;
}
.admin-image-card button {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}
code {
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(17,24,39,.08);
}

@media (max-width: 920px) {
    .hero,
    .section-head,
    .contact-card { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding-top: 52px; }
    .hero-visual { min-height: 430px; }
    .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .timeline,
    .gallery-grid,
    .placeholder-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
    .site-header { align-items: flex-start; }
    .nav-toggle {
        display: inline-flex;
        padding: 10px 13px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(255,255,255,.65);
        font: inherit;
        font-weight: 750;
    }
    .nav {
        position: absolute;
        top: 72px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: min(260px, calc(100vw - 40px));
        border-radius: 24px;
        background: rgba(255,255,255,.92);
        box-shadow: var(--shadow);
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px 14px; }
    .section-pad,
    .section { width: min(var(--max), calc(100% - 28px)); }
    .section { padding: 64px 0; }
    .cards-grid,
    .timeline,
    .gallery-grid,
    .placeholder-gallery,
    .admin-gallery { grid-template-columns: 1fr; }
    .placeholder-gallery div { min-height: 210px; }
    .hero-visual { min-height: 360px; border-radius: 34px; }
    .floating-card { padding: 18px; }
    .card-one { top: 42px; left: 24px; }
    .card-two { right: 24px; bottom: 42px; }
    .footer { flex-direction: column; }
    .admin-image-card { grid-template-columns: 88px 1fr; }
    .admin-image-card img { width: 88px; height: 78px; }
}

/* Create4u v4: logo + photographic presentation */
.logo-mark {
    overflow: hidden;
    padding: 4px;
    color: var(--text);
    background: rgba(255,255,255,.72);
    box-shadow: 0 14px 34px rgba(17,24,39,.10);
}
.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-photo {
    min-height: 590px;
    isolation: isolate;
    padding: 0;
    border: 1px solid rgba(255,255,255,.86);
    background: #e9dfd1;
}
.hero-photo::before { display: none; }
.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.36)),
        radial-gradient(circle at 74% 18%, rgba(255,255,255,.34), transparent 16rem);
    pointer-events: none;
}
.hero-photo > img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-logo-card,
.hero-photo-badge {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 26px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 22px 58px rgba(17,24,39,.18);
    backdrop-filter: blur(14px);
}
.hero-badges {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    gap: 14px;
    align-items: stretch;
}
.hero-logo-card {
    top: 24px;
    right: 24px;
    display: grid;
    place-items: center;
    width: 154px;
    min-height: 116px;
    padding: 16px;
}
.hero-logo-card img {
    max-width: 118px;
    max-height: 86px;
    object-fit: contain;
}
.hero-photo-badge {
    position: relative;
    width: 100%;
    max-width: 250px;
    padding: 21px;
}
.hero-photo-badge strong {
    display: block;
    font-size: 23px;
    line-height: 1.08;
    letter-spacing: -.035em;
}
.hero-photo-badge small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}
.badge-one,
.badge-two {
    left: auto;
    right: auto;
    bottom: auto;
    flex: 1 1 0;
}
.badge-two { max-width: 220px; }

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.showcase-card {
    position: relative;
    display: block;
    min-height: 360px;
    border-radius: 30px;
    overflow: hidden;
    background: #e8dfd2;
    box-shadow: 0 20px 52px rgba(17,24,39,.12);
}
.showcase-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    transition: transform .55s ease;
}
.showcase-card:hover img { transform: scale(1.055); }
.showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(0,0,0,.68));
}
.showcase-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 22px;
    color: #fff;
}
.showcase-caption strong {
    display: block;
    margin-bottom: 7px;
    font-size: 21px;
    line-height: 1.12;
    letter-spacing: -.025em;
}
.showcase-caption small {
    display: block;
    color: rgba(255,255,255,.78);
    line-height: 1.42;
}
.gallery-subtitle {
    margin: 44px 0 18px;
}

@media (max-width: 1100px) {
    .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-badges { right: 18px; left: 18px; bottom: 18px; gap: 12px; }
    .hero-photo-badge { max-width: none; }
}

@media (max-width: 920px) {
    .hero-photo { min-height: 500px; }
}

@media (max-width: 700px) {
    .brand { max-width: calc(100% - 88px); }
    .brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .hero-photo { min-height: 430px; }
    .hero-logo-card {
        top: 18px;
        right: 18px;
        width: 126px;
        min-height: 92px;
        padding: 12px;
        border-radius: 22px;
    }
    .hero-badges {
        left: 18px;
        right: 18px;
        bottom: 18px;
        flex-direction: column;
    }
    .hero-photo-badge {
        position: relative;
        width: auto;
        max-width: none;
        padding: 18px;
    }
    .showcase-grid { grid-template-columns: 1fr; }
    .showcase-card,
    .showcase-card img { min-height: 300px; }
}

/* Create4u v6: kategorizovaná galerie */
.category-gallery {
    margin-top: 54px;
}
.category-gallery-head {
    margin-bottom: 18px;
}
.category-gallery-head h3 {
    margin-bottom: 0;
    font-size: clamp(26px, 3.2vw, 42px);
}

.admin-form select,
.upload-box select,
.admin-inline-form select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.72);
    color: var(--text);
    font: inherit;
}
.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.52);
    cursor: pointer;
}
.check-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--dark);
}
.admin-pill {
    display: inline-flex;
    width: fit-content;
    margin: 2px 0 10px;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255,255,255,.62);
    font-size: 12px;
    font-weight: 750;
}
.admin-pill.is-main {
    color: #0f5132;
    border-color: rgba(15,81,50,.22);
    background: rgba(209,231,221,.88);
}
.admin-inline-form {
    display: grid;
    gap: 8px;
    margin: 8px 0;
}
.admin-inline-form button,
.admin-image-card button {
    width: fit-content;
}
.admin-image-card > div {
    min-width: 0;
}
@media (max-width: 700px) {
    .admin-inline-form button,
    .admin-image-card button { width: 100%; }
}
