/* ============================================================
    CSS PROMĚNNÉ — barvy a písma snadno upravíte zde
============================================================ */
:root {
    --red:        #5A0000;
    --red-light:  #7a1010;
    --white:      #D9D9D9;
    --gray:       #6B6A6A;
    --gray-dark:  #2a2a2a;
    --gray-mid:   #444;
    --black:      #111;

    --font-display: 'Bebas Neue', sans-serif;
    --font-cond:    'Barlow Condensed', sans-serif;
    --font-body:    'Barlow', sans-serif;

    --transition: 0.3s ease;
    --radius: 4px;
}

/* ============================================================
    RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ============================================================
    NAVIGACE
============================================================ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
    overflow: visible;
    background: transparent;
    transition: background var(--transition), backdrop-filter var(--transition);
}

header.scrolled {
    background: rgba(17,17,17,0.92);
    backdrop-filter: blur(12px);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo svg {
    width: 145px;
    height: 145px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

nav {
    display: flex;
    gap: 10px;
}

nav a {
    font-family: var(--font-cond);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
    background: var(--red);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 2px 12px rgba(90,0,0,0.4);
}

nav a:hover {
    background: var(--red-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(90,0,0,0.55);
}

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1002;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.35s ease, opacity 0.25s ease;
}
/* Morph to × when menu is open */
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
    HERO SEKCE
============================================================ */
#domov {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
}

/* --- Video / placeholder pozadí --- */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    /* Placeholder barva dokud není video */
    background: #1c1c1c;
}

/* Až nahradíš placeholder videem, odstraň třídu .hero-video-placeholder */
.hero-video-placeholder {
    position: absolute;
    inset: 0;
    background:
    /* jemná industriální textura */
    repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.015) 0px,
        rgba(255,255,255,0.015) 1px,
        transparent 1px,
        transparent 40px
    ),
    /* základní tmavý tón */
    #1c1c1c;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Gradient přes video/placeholder: tmavá zleva → vínová zprava */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
    100deg,
    rgba(10,10,10,0.92)  0%,
    rgba(30,8,8,0.80)    45%,
    rgba(90,0,0,0.78)    100%
    );
}

/* Jemné scanlines pro hloubku */
.hero-scanlines {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0.07) 0px,
    rgba(0,0,0,0.07) 1px,
    transparent 1px,
    transparent 4px
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px 80px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-eyebrow {
    font-family: var(--font-cond);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(217,217,217,0.45);
    margin-top: 12px;
    margin-bottom: 0;
    animation: fadeUp 0.8s ease both;
}

/* Velké červené tlačítko-kapsle s názvem */
.hero-title-btn {
    display: inline-block;
    font-family: var(--font-cond);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    border: none;
    padding: 18px 52px;
    border-radius: 60px;
    box-shadow:
    0 4px 32px rgba(90,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);
    animation: fadeUp 0.9s ease 0.15s both;
    text-decoration: none;
    cursor: default;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: var(--white);
    margin-top: 28px;
    letter-spacing: 0.03em;
    max-width: 560px;
    line-height: 1.6;
    opacity: 0.9;
    animation: fadeUp 1s ease 0.3s both;
}

.hero-cta {
    display: inline-block;
    margin-top: 40px;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
    border: 1.5px solid rgba(217,217,217,0.5);
    padding: 13px 36px;
    border-radius: 50px;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    animation: fadeUp 1.1s ease 0.45s both;
}

.hero-cta:hover {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

/* Šipka dolů */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bounce 2s infinite;
}
.hero-scroll span {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    opacity: 0.6;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
    PŘEDĚLOVÁ SEKCE — BENEFITY
============================================================ */
.benefits {
    padding: 80px 48px;
    position: relative;
    overflow: hidden;
    /* Broušený kov — světlá teplá šedá, husté diagonální šrafy */
    background-color: #ccc8c2;
    background-image:
    repeating-linear-gradient(-55deg, rgba(255,255,255,0.32) 0px, rgba(255,255,255,0.32) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(55deg,  rgba(0,0,0,0.07) 0px, rgba(0,0,0,0.07) 1px, transparent 1px, transparent 6px);
}
/* Mlha nahoře — přechod z tmavé hero barvy */
.benefits::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 72px;
    background: linear-gradient(to bottom, #111 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}
/* Mlha dole — přechod do bílé sekce služeb */
.benefits::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 72px;
    background: linear-gradient(to top, #f8f6f4 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.benefits-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 64px;
}

.benefit-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 220px;
}

.check-icon {
    flex-shrink: 0;
    width: 54px; height: 54px;
    border-radius: 3px;
    background: var(--red);
    background-image: linear-gradient(135deg, #7a1010 0%, var(--red) 50%, #3d0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 2px 3px 8px rgba(0,0,0,0.3);
}

.check-icon svg {
    width: 26px; height: 26px;
    stroke: var(--white);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefit-text {
    display: flex;
    flex-direction: column;
}
.benefit-title {
    font-family: var(--font-cond);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a1a1a;
    line-height: 1.2;
    white-space: nowrap;
}

.benefit-text em {
    display: block;
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #4a4444;
    margin-top: 4px;
}

.benefits-divider {
    width: 1px; height: 60px;
    background: linear-gradient(180deg, transparent, rgba(90,0,0,0.5), transparent);
    align-self: center;
}

/* ============================================================
    SEKCE: SLUŽBY
============================================================ */
#sluzby {
    padding: 100px 48px;
    position: relative;
    background-color: #f8f6f4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cg stroke='%23c8b8a8' stroke-width='0.4' opacity='0.5'%3E%3Cline x1='100' y1='100' x2='0' y2='0'/%3E%3Cline x1='100' y1='100' x2='200' y2='0'/%3E%3Cline x1='100' y1='100' x2='0' y2='200'/%3E%3Cline x1='100' y1='100' x2='200' y2='200'/%3E%3Cline x1='100' y1='100' x2='100' y2='0'/%3E%3Cline x1='100' y1='100' x2='100' y2='200'/%3E%3Cline x1='100' y1='100' x2='0' y2='100'/%3E%3Cline x1='100' y1='100' x2='200' y2='100'/%3E%3Cline x1='100' y1='100' x2='40' y2='0'/%3E%3Cline x1='100' y1='100' x2='160' y2='0'/%3E%3Cline x1='100' y1='100' x2='0' y2='40'/%3E%3Cline x1='100' y1='100' x2='0' y2='160'/%3E%3Cline x1='100' y1='100' x2='200' y2='40'/%3E%3Cline x1='100' y1='100' x2='200' y2='160'/%3E%3Cline x1='100' y1='100' x2='40' y2='200'/%3E%3Cline x1='100' y1='100' x2='160' y2='200'/%3E%3Ccircle cx='100' cy='100' r='20' fill='none'/%3E%3Ccircle cx='100' cy='100' r='45' fill='none'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none'/%3E%3Ccircle cx='100' cy='100' r='95' fill='none'/%3E%3C/g%3E%3C/svg%3E");
}
#sluzby::before { display: none; }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    font-family: var(--font-cond);
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
}
#cenik .section-label,
#kontakt .section-label { color: rgba(220,100,100,0.9); }
#sluzby .section-label { color: var(--red); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: 0.05em;
    color: #1a1a1a;
    line-height: 1;
}
#cenik .section-title,
#kontakt .section-title { color: var(--white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    border-top: 4px solid transparent;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(90,0,0,0.14);
    border-top-color: var(--red);
    z-index: 1;
}

.service-photo {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-photo::after {
    content: 'FOTO';
    font-family: var(--font-cond);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: rgba(0,0,0,0.2);
}

.service-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, #ffffff 100%);
}

.service-body { padding: 28px 28px 36px; }

.service-num {
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(90,0,0,0.15);
    line-height: 1;
    margin-bottom: 8px;
}

.service-name {
    font-family: var(--font-cond);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.service-divider {
    width: 36px; height: 2px;
    background: var(--red);
    margin-bottom: 14px;
}

.service-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.7;
    color: #555;
}
.service-features-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.service-features-list li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #555;
    padding-left: 16px;
    position: relative;
}
.service-features-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--red);
}

/* ============================================================
    SEKCE: GALERIE
============================================================ */
#galerie {
    position: relative;
    /* Gradient: bílá (sekce služeb) → tmavá uprostřed → tmavá (slider) */
    background: linear-gradient(
    180deg,
    #f8f6f4   0%,
    #2a1010  20%,
    #1a0808  50%,
    #111     100%
    );
}

.gallery-title-block {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 48px;
}

.gallery-title-block::before,
.gallery-title-block::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(217,217,217,0.18);
}

.gallery-arc-label {
    font-family: var(--font-cond);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(220,100,100,0.9);
    white-space: nowrap;
}

.gallery-arc-sub { display: none; }

.slider-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #181414;
    background-image:
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.04)  0px, rgba(255,255,255,0.04)  2px, transparent 2px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03)  0px, rgba(255,255,255,0.03)  2px, transparent 2px, transparent 48px),
    repeating-linear-gradient(0deg,  rgba(0,0,0,0.35) 24px, rgba(0,0,0,0.35) 26px, transparent 26px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.28) 24px, rgba(0,0,0,0.28) 26px, transparent 26px, transparent 48px);
    padding: 0;
}

.slider {
    position: relative;
    width: 100%;
    padding: 32px 0;
}
.slider-track {
    display: flex;
    gap: 12px;
    animation: carousel-scroll 40s linear infinite;
    will-change: transform;
}
@keyframes carousel-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.slide-img {
    height: 280px;
    width: auto;
    display: block;
    border-radius: 4px;
    pointer-events: none;
    user-select: none;
}

/* ============================================================
    GALLERY ARROWS — hidden on desktop, shown on mobile
============================================================ */
.gallery-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(13,10,10,0.78);
    border: 2px solid var(--red);
    color: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition);
}
.gallery-arrow:hover  { background: var(--red); }
.gallery-arrow:active { background: var(--red-light); }
.gallery-arrow svg {
    width: 20px; height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.gallery-arrow-prev { left: 12px; }
.gallery-arrow-next { right: 12px; }

/* ============================================================
    SEKCE: CENÍK
============================================================ */
#cenik {
    padding: 100px 48px;
    position: relative;
    background-color: #181414;
    background-image:
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.04)  0px, rgba(255,255,255,0.04)  2px, transparent 2px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03)  0px, rgba(255,255,255,0.03)  2px, transparent 2px, transparent 48px),
    repeating-linear-gradient(0deg,  rgba(0,0,0,0.35) 24px, rgba(0,0,0,0.35) 26px, transparent 26px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.28) 24px, rgba(0,0,0,0.28) 26px, transparent 26px, transparent 48px);
}
#cenik::before { display: none; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #e8e4e0;
    border: 1px solid rgba(0,0,0,0.12);
    border-top: 3px solid rgba(90,0,0,0.35);
    border-radius: 3px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.pricing-card .pricing-btn { margin-top: auto; }
.pricing-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--red);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.pricing-card.featured {
    background: var(--red);
    border-color: var(--red);
    border-top-color: #8a1010;
}
.pricing-card.featured:hover {
    box-shadow: 0 16px 48px rgba(90,0,0,0.35);
}

.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-feature { color: var(--white) !important; }
.pricing-card.featured .pricing-unit { color: rgba(255,255,255,0.7) !important; }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.2); }

.pricing-badge {
    position: absolute;
    top: 0; right: 0;
    background: #fff;
    color: var(--red);
    font-family: var(--font-cond);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 12px;
    transform: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border-bottom-left-radius: 3px;
}

.pricing-name {
    font-family: var(--font-cond);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.pricing-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: #888;
    margin-bottom: 16px;
}
.pricing-card.featured .pricing-sub { color: rgba(255,255,255,0.6); }

.pricing-price {
    font-family: var(--font-display);
    font-size: 3.8rem;
    color: #1a1a1a;
    line-height: 1;
}

.pricing-unit {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.05em;
    margin-bottom: 28px;
    display: block;
}

.pricing-divider {
    width: 40px; height: 1px;
    background: rgba(0,0,0,0.1);
    margin: 0 auto 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-feature {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #555;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-feature::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}

.pricing-card.featured .pricing-feature::before { background: rgba(255,255,255,0.6); }
.pricing-card.featured .pricing-feature { color: rgba(255,255,255,0.85) !important; border-bottom-color: rgba(255,255,255,0.15); }

.pricing-btn {
    display: block;
    width: 100%;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    border: 2px solid currentColor;
    transition: background var(--transition), color var(--transition);
    cursor: pointer;
}

.pricing-card:not(.featured) .pricing-btn { color: var(--red); border-color: var(--red); }
.pricing-card:not(.featured) .pricing-btn:hover { background: var(--red); color: var(--white); }
.pricing-card.featured .pricing-btn { color: var(--white); background: rgba(0,0,0,0.2); }
.pricing-card.featured .pricing-btn:hover { background: rgba(0,0,0,0.4); }

/* ============================================================
    SEKCE: KONTAKT
============================================================ */
#kontakt {
    padding: 100px 48px;
    position: relative;
    background-color: #181414;
    background-image:
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.04)  0px, rgba(255,255,255,0.04)  2px, transparent 2px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03)  0px, rgba(255,255,255,0.03)  2px, transparent 2px, transparent 48px),
    repeating-linear-gradient(0deg,  rgba(0,0,0,0.35) 24px, rgba(0,0,0,0.35) 26px, transparent 26px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.28) 24px, rgba(0,0,0,0.28) 26px, transparent 26px, transparent 48px);
}
#kontakt::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, transparent, var(--red) 20%, #c03030 50%, var(--red) 80%, transparent);
}
#kontakt::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--red), #8a0000 50%, var(--red));
}

/* ============================================================
    KONTAKT — detaily a mapa
============================================================ */
/* Kontakt — full-bleed grid bez paddingu */
#kontakt {
    padding: 0 !important;
}
#kontakt::before, #kontakt::after { display: none; }

.contact-fullgrid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    min-height: 600px;
}

/* Levý panel */
.contact-panel {
    background-color: transparent;
    background-image:
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.04)  0px, rgba(255,255,255,0.04)  2px, transparent 2px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03)  0px, rgba(255,255,255,0.03)  2px, transparent 2px, transparent 48px),
    repeating-linear-gradient(0deg,  rgba(0,0,0,0.35) 24px, rgba(0,0,0,0.35) 26px, transparent 26px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.28) 24px, rgba(0,0,0,0.28) 26px, transparent 26px, transparent 48px);
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-top: 5px solid var(--red);
}

.contact-logo-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-brand { display: flex; flex-direction: column; }

.contact-brand-name { display: none; }

.contact-brand-sub {
    font-family: var(--font-cond);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px rgba(90,0,0,0.8), 1px 1px 0 var(--red);
}

.contact-rows {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-row-icon {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(90,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.contact-row-icon svg {
    width: 16px; height: 16px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-row-label {
    font-family: var(--font-cond);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 4px;
}

.contact-row-val {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.6;
}

/* Pravý panel — mapa */
.contact-map-wrap {
    position: relative;
    overflow: hidden;
}

.contact-map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ============================================================
    FOOTER
============================================================ */
footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(217,217,217,0.06);
    padding: 36px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
footer a {
    color: var(--gray);
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    color: var(--white);
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--gray);
    letter-spacing: 0.04em;
}

.footer-socials { display: flex; gap: 12px; }

.social-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(217,217,217,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.8rem;
    font-family: var(--font-cond);
    font-weight: 700;
    transition: border-color var(--transition), color var(--transition);
}

.social-link:hover {
    border-color: var(--red);
    color: var(--red);
}

/* ============================================================
    RESPONSIVITA
============================================================ */
@media (max-width: 900px) {
    header { padding: 16px 24px; }

    /* Shrink logo so it fits nicely in the 80px header on mobile */
    .logo img { height: 72px !important; width: auto !important; }
    .logo svg { width: 72px; height: 72px; }

    /* Mobile nav overlay — always in the DOM, animates in/out */
    nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(13,10,10,0.97);
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 1000;
    /* Hidden state */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.99);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
    }
    /* Decorative red line at the top of the panel */
    nav::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red) 20%, var(--red) 80%, transparent);
    }
    /* Open state */
    nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0s;
    }
    /* Links inside the overlay */
    nav.open a {
    font-family: var(--font-display);
    font-size: clamp(2rem, 9vw, 2.8rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(217,217,217,0.82);
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 16px 0;
    width: min(300px, 80vw);
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: color 0.18s ease, letter-spacing 0.18s ease;
    }
    nav.open a:last-child { border-bottom: none; }
    nav.open a:hover {
    color: var(--white);
    background: none;
    transform: none;
    box-shadow: none;
    letter-spacing: 0.12em;
    }

    .hamburger { display: flex; }

    .services-grid { grid-template-columns: 1fr; max-width: 100%; margin: 0 auto; }

    .pricing-grid { grid-template-columns: 1fr; max-width: 100%; margin: 0 auto; }

    .contact-fullgrid { grid-template-columns: 1fr; }
    .contact-map-wrap { min-height: 300px; position: relative; }

    #sluzby, #cenik { padding: 72px 24px; }

    .benefits { padding: 56px 24px; }
    .benefits-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    }
    .benefits-divider { width: 60px; height: 1px; }
    .benefit-item { min-width: unset; width: 100%; justify-content: center; }

    .gallery-title-block { padding: 22px 24px; }

    footer { padding: 28px 24px; flex-direction: column; text-align: center; }

    .gallery-arc { clip-path: ellipse(100% 100% at 50% 100%); padding: 48px 24px 40px; }
}

@media (max-width: 768px) {
    /* Recenze – jeden sloupec */
    .reviews-grid { grid-template-columns: 1fr !important; }
    .reviews-grid > * { width: 100% !important; }

    /* Recenze – reduce heavy inline side padding */
    #recenze { padding: 40px 20px !important; }

    /* Permanentka pro 2 – vertikální layout */
    .pricing-card-wide { flex-direction: column !important; gap: 24px !important; padding: 24px !important; }
    .pricing-wide-col { width: 100% !important; flex-shrink: unset !important; flex: unset !important; }

    /* Ceník – auto heights so text never overflows fixed boxes */
    #cenik [style*="height: 160px"] { height: auto !important; min-height: unset !important; }
    #cenik [style*="height: 80px"]  { height: auto !important; min-height: unset !important; }

    /* ── Ceník: center-align everything ── */
    .pricing-features { text-align: center; }
    .pricing-feature  { justify-content: center; }
    /* Override inline text-align:left on wide card columns */
    .pricing-card-wide .pricing-wide-col { text-align: center !important; }
    /* Wide card button: full-width (inline style sets width:auto) */
    .pricing-card-wide .pricing-btn { width: 100% !important; white-space: normal !important; }

    /* ── Galerie: manual arrow navigation ── */
    .gallery-arrow { display: flex; }

    /* Kill the auto-scroll, prepare for JS-driven translate */
    .slider { padding: 0; overflow: hidden; }
    .slider-track {
    animation: none !important;
    gap: 0 !important;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Each slide fills the full wrapper width */
    .slide { min-width: 100%; flex-shrink: 0; }
    .slide-img {
    width: 100%;
    height: clamp(200px, 56vw, 320px);
    object-fit: cover;
    border-radius: 0;
    }

    /* Hide the duplicate set (slides 9–16) used by the desktop loop */
    .slider-track .slide:nth-child(n+9) { display: none; }
}

@media (max-width: 600px) {
    .hero-title-btn { font-size: clamp(1.1rem, 5vw, 1.5rem); padding: 14px 28px; }
    .hero-subtitle  { font-size: 0.95rem; }
    .hero-content   { padding: 0 16px 60px; }

    .section-header { margin-bottom: 40px; }

    /* Contact panel – reduce horizontal padding so content breathes */
    .contact-panel { padding: 36px 20px; }

    /* Form submit button – full width on small screens */
    .cform-btn { align-self: stretch; text-align: center; }

    /* About – credentials wrap instead of overflow */
    .aboutme-creds { flex-wrap: wrap; gap: 20px; }

    #o-mne { padding: 60px 20px; }
}

@media (max-width: 480px) {
    /* Service detail panel – tighter padding on very small screens */
    .service-detail-hero { padding: 40px 20px 28px; }
    .service-detail-body { padding: 28px 20px 48px; }

    /* Benefit items – left-align icon+text instead of centering on tiny screens */
    .benefit-item { text-align: left; }
}

/* ============================================================
    DETAIL PANEL — přes celou obrazovku
============================================================ */
.service-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
}

.service-detail-overlay.open {
    transform: translateX(0);
    pointer-events: all;
}

.service-detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.45s ease;
    cursor: pointer;
}

.service-detail-overlay.open .service-detail-backdrop {
    opacity: 1;
}

.service-detail-panel {
    position: relative;
    margin-left: auto;
    width: min(680px, 100vw);
    height: 100%;
    background: #111;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.service-detail-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.service-detail-close:hover { background: rgba(90,0,0,0.5); }

.service-detail-hero {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 40px 36px;
    position: relative;
    background-color: #1a1a1a;
    background-image: repeating-linear-gradient(-55deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 28px);
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10,10,10,0.95) 0%, rgba(90,0,0,0.5) 100%);
}

.service-detail-label {
    position: relative;
    z-index: 1;
    font-family: var(--font-cond);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}

.service-detail-title {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: 0.04em;
    color: var(--white);
    line-height: 1;
}

.service-detail-sub {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(217,217,217,0.85);
    margin-top: 10px;
}

/* Stats bar */
.service-detail-stats {
    display: flex;
    background: var(--red);
    flex-shrink: 0;
}

.service-detail-stat {
    flex: 1;
    padding: 18px 16px;
    border-right: 1px solid rgba(0,0,0,0.2);
    text-align: center;
}
.service-detail-stat:last-child { border-right: none; }

.service-detail-stat-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    line-height: 1;
}

.service-detail-stat-lbl {
    font-family: var(--font-cond);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(217,217,217,0.85);
    margin-top: 4px;
}

.service-detail-body {
    padding: 40px 40px 60px;
    flex: 1;
    background-color: #181414;
    background-image:
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.04)  0px, rgba(255,255,255,0.04)  2px, transparent 2px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03)  0px, rgba(255,255,255,0.03)  2px, transparent 2px, transparent 48px),
    repeating-linear-gradient(0deg,  rgba(0,0,0,0.35) 24px, rgba(0,0,0,0.35) 26px, transparent 26px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.28) 24px, rgba(0,0,0,0.28) 26px, transparent 26px, transparent 48px);
}

.service-detail-perex {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(217,217,217,0.95);
    border-left: 3px solid var(--red);
    padding-left: 20px;
    margin-bottom: 40px;
}

.service-detail-photo {
    width: 100%;
    aspect-ratio: 16/7;
    background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 30px),
    linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
}
.service-detail-photo span {
    font-family: var(--font-cond);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(217,217,217,0.3);
    text-transform: uppercase;
}

.service-detail-blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.service-detail-block {
    background: #ffffff;
    border-left: 4px solid var(--red);
    border-radius: 3px;
    padding: 22px 22px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.service-detail-block h3 {
    font-family: var(--font-cond);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.service-detail-block p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.75;
    color: #333333;
}

.service-detail-cta {
    display: block;
    width: 100%;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    color: var(--white);
    background: var(--red);
    padding: 16px;
    border-radius: 50px;
    transition: background var(--transition);
    box-shadow: 0 4px 24px rgba(90,0,0,0.4);
}
.service-detail-cta:hover { background: var(--red-light); }

.service-card { cursor: pointer; }


/* ============================================================
    SEKCE: O MNĚ
============================================================ */
#o-mne {
    padding: 100px 48px;
    background-color: #f8f6f4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cg stroke='%23c8b8a8' stroke-width='0.4' opacity='0.4'%3E%3Cline x1='100' y1='100' x2='0' y2='0'/%3E%3Cline x1='100' y1='100' x2='200' y2='0'/%3E%3Cline x1='100' y1='100' x2='0' y2='200'/%3E%3Cline x1='100' y1='100' x2='200' y2='200'/%3E%3Cline x1='100' y1='100' x2='100' y2='0'/%3E%3Cline x1='100' y1='100' x2='100' y2='200'/%3E%3Cline x1='100' y1='100' x2='0' y2='100'/%3E%3Cline x1='100' y1='100' x2='200' y2='100'/%3E%3Ccircle cx='100' cy='100' r='30' fill='none'/%3E%3Ccircle cx='100' cy='100' r='60' fill='none'/%3E%3Ccircle cx='100' cy='100' r='90' fill='none'/%3E%3C/g%3E%3C/svg%3E");
    position: relative;
}

.aboutme-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

/* Foto */
.aboutme-photo {
    position: relative;
}

.aboutme-photo-inner {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #d8d4d0 0%, #c4c0bc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.aboutme-photo-inner span {
    font-family: var(--font-cond);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.25);
}

/* Dekorativní červený rámeček posunutý za fotkou */
.aboutme-photo-frame {
    position: absolute;
    bottom: -18px;
    right: -18px;
    width: 65%;
    height: 65%;
    border: 3px solid var(--red);
    z-index: 0;
}

/* Text */
.aboutme-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    letter-spacing: 0.04em;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 20px;
}

.aboutme-redline {
    width: 48px;
    height: 3px;
    background: var(--red);
    margin-bottom: 24px;
}

.aboutme-perex {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.75;
    color: #2a2a2a;
    margin-bottom: 16px;
}

.aboutme-body {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
    margin-bottom: 14px;
}

.aboutme-creds {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid rgba(90,0,0,0.15);
}

.aboutme-cred-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--red);
    line-height: 1;
}

.aboutme-cred-lbl {
    font-family: var(--font-cond);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #777;
    margin-top: 5px;
}

@media (max-width: 900px) {
    .aboutme-grid { grid-template-columns: 1fr; gap: 48px; }
    .aboutme-photo { max-width: 400px; }
    #o-mne { padding: 72px 24px; }
}




/* ============================================================
    KONTAKTNÍ FORMULÁŘ
============================================================ */
.cform-wrap {
    margin-top: 8px;
}
.cform-headline {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
}
.cform {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cform-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cform-label {
    font-family: var(--font-cond);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
}
.cform-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-bottom: 2px solid rgba(90,0,0,0.6);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s;
}
.cform-input::placeholder { color: rgba(255,255,255,0.3); }
.cform-input:focus { border-color: var(--red); background: rgba(255,255,255,0.08); }
.cform-textarea { resize: vertical; min-height: 100px; }
.cform-btn {
    margin-top: 6px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-cond);
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: none;
    padding: 13px 28px;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s, opacity 0.2s;
    align-self: flex-start;
}
.cform-btn:hover { background: #7a0000; }
.cform-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cform-status {
    font-family: var(--font-cond);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    min-height: 1.2em;
    color: var(--white);
}
.cform-status.ok  { color: #6dda8b; }
.cform-status.err { color: #ff6b6b; }
