/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Barlow', sans-serif;
    color: #2b2b2b;
    background: #fff;
    line-height: 1.6;
}
h1, h2, h3, h4, .logo, .hero-content h1 {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.5px;
}

/* ===== COLORS ===== */
:root {
    --green: #f26702;
    --green-dark: #a34304;
    --green-light: #e8f5ea;
    --anthracite: #2c2c2c;
    --anthracite-light: #3e3e3e;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-mid: #e0e0e0;
    --gray-text: #555;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--anthracite); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--anthracite);
    box-shadow: 0 2px 16px rgba(0,0,0,0.3);
    transition: background 0.3s;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
}
.logo span { color: var(--green); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
    display: block;
    padding: 10px 13px;
    color: #ccc;
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--white);
    background: rgba(58,171,74,0.15);
}
.nav-links > li > a.cta {
    background: var(--green);
    color: var(--white);
    padding: 10px 18px;
    margin-left: 18px;
}
.nav-links > li > a.cta:hover { background: var(--green-dark); }

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    /* top: calc(100% + 4px);*/
    left: 0;
    background: var(--anthracite-light);
    border-top: 3px solid var(--green);
    border-radius: 0 0 8px 8px;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 999;
}
.nav-links > li:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 9px 18px;
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.dropdown-menu a:hover {
    background: rgba(58,171,74,0.2);
    color: var(--white);
}
.dropdown-menu .section-label {
    padding: 10px 18px 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.dropdown-menu .section-label:first-child { border-top: none; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 26px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    display: none;
    background: var(--anthracite-light);
    padding: 12px 0;
    max-height: 80vh;
    overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
    display: block;
    padding: 10px 28px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
    cursor: pointer;
}
.mobile-menu a:hover { background: rgba(58,171,74,0.15); color: #fff; }
.mobile-menu .mob-label {
    padding: 12px 28px 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu .mob-cta {
    margin: 12px 28px 4px;
    display: inline-block;
    background: var(--green);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    background:
            linear-gradient(135deg, rgba(44,44,44,0.9) 0%, rgba(44,44,44,0.65) 60%, rgba(58,171,74,0.25) 100%),
            url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1800&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}
.hero-content { max-width: 820px; }
.hero-badge {
    display: inline-block;
    background: rgba(58,171,74,0.2);
    border: 1px solid var(--green);
    color: var(--green);
    padding: 6px 18px 10px 18px;
    border-radius: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-badge img {
    height: 20px;
    position: relative;
    top: 3px;
}
.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.hero-content h1 span { color: var(--green); }
.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    background: var(--green);
    color: var(--white);
    padding: 14px 34px;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(58,171,74,0.4);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(58,171,74,0.5);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 14px 34px;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.5);
    transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}
.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 64px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}
.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Barlow Condensed', sans-serif;
}

/* ===== SECTIONS COMMON ===== */
section { padding: 90px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 5px 16px;
    border-radius: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--anthracite);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.section-header h2 span { color: var(--green); }
.section-header p {
    font-size: 1.05rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}
.divider {
    width: 60px; height: 4px;
    background: var(--green);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ===== SERVICES GRID 3+3 ===== */
#sluzby { background: var(--gray-light); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    border: 1px solid var(--gray-mid);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(58,171,74,0.15);
    border-color: var(--green);
}
.service-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img .img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(44,44,44,0.6) 100%);
}
.service-card-body {
    padding: 26px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.card-fa-icon {
    width: 48px; height: 48px;
    background: var(--green-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-dark);
    font-size: 1.3rem;
}
.service-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--anthracite);
    line-height: 1.2;
}
.service-card ul {
    list-style: none;
    padding: 0;
    flex: 1;
}
.service-card ul li {
    padding: 5px 0;
    font-size: 1rem;
    color: var(--gray-text);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border-bottom: 1px solid var(--gray-light);
}
.service-card ul li:last-child { border-bottom: none; }
.service-card ul li .li-icon {
    color: var(--green);
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 5px;
}
.service-card ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
    font-weight: 500;
}
.service-card ul li a:hover { color: var(--green); }
.card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--green);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}
.card-more:hover { color: var(--green-dark); }

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,20,20,0.75);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: var(--white);
    border-radius: 16px;
    max-width: 680px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
    animation: modalIn 0.25s ease;
}
@keyframes modalIn {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-header {
    background: var(--anthracite);
    padding: 32px 36px 28px;
    border-radius: 16px 16px 0 0;
    position: relative;
}
.modal-header-top {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 12px;
}
.modal-fa-icon {
    width: 54px; height: 54px;
    background: rgba(58,171,74,0.2);
    border: 1px solid rgba(58,171,74,0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.5rem;
    flex-shrink: 0;
}
.modal-header h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: 0.5px;
}
.modal-header .modal-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.2); color: #fff; }
.modal-body {
    padding: 32px 36px 36px;
}
.modal-body p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 20px;
}
.modal-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--anthracite);
    margin-bottom: 12px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-body h4 i { color: var(--green); font-size: 0.9rem; }
.modal-list {
    list-style: none;
    margin-bottom: 20px;
}
.modal-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 6px;
    background: var(--gray-light);
    font-size: 0.9rem;
    color: var(--anthracite);
    font-weight: 500;
}
.modal-list li i {
    color: var(--green);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 3px;
}
.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}
.modal-tag-item {
    background: var(--green-light);
    color: var(--green-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.modal-cta {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.modal-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 24px;
}

/* ===== KAMERY ===== */
#kamery { background: var(--anthracite); }
#kamery .section-header h2 { color: var(--white); }
#kamery .section-tag { background: rgba(58,171,74,0.2); color: var(--green); }
#kamery .section-header p { color: rgba(255,255,255,0.6); }
.kamery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.kamery-card {
    background: var(--anthracite-light);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}
.kamery-card:hover { border-color: var(--green); transform: translateY(-4px); }
.kamery-card-img { width: 100%; height: 160px; overflow: hidden; }
.kamery-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.kamery-card:hover .kamery-card-img img { transform: scale(1.05); }
.kamery-card-body { padding: 24px; }
.kamery-card-body .card-fa-icon { background: rgba(58,171,74,0.15); color: var(--green); margin-bottom: 14px; }
.kamery-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 10px; }
.kamery-card p { color: rgba(255,255,255,0.55); font-size: 1rem; line-height: 1.6; margin-bottom: 14px; }
.kamery-card ul { list-style: none; }
.kamery-card ul li {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    padding: 5px 0;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.kamery-card ul li:last-child { border-bottom: none; }
.kamery-card ul li i { color: var(--green); font-size: 0.7rem; flex-shrink: 0; margin-top: 10px; }
.kamery-card ul li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}
.kamery-card ul li a:hover { color: var(--green); }

/* ===== AUTOMATIZACE ===== */
#automatizace { background: var(--gray-light); }
.auto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.auto-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-mid);
    transition: transform 0.25s, box-shadow 0.25s;
}
.auto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.auto-card-img { width: 100%; height: 160px; overflow: hidden; }
.auto-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.auto-card:hover .auto-card-img img { transform: scale(1.05); }
.auto-card-top {
    background: linear-gradient(135deg, var(--anthracite) 0%, var(--anthracite-light) 100%);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.auto-icon {
    width: 48px; height: 48px;
    background: rgba(58,171,74,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.3rem;
    flex-shrink: 0;
}
.auto-card-top h3 { color: var(--white); font-size: 1.2rem; font-weight: 700; }
.auto-card-top p { color: rgba(255,255,255,0.5); font-size: 0.78rem; margin-top: 2px; }
.auto-card-body { padding: 20px 24px 24px; }
.auto-card-body p { color: var(--gray-text); font-size: 1rem; line-height: 1.7; margin-bottom: 14px; }
.auto-card-body ul { list-style: none; }
.auto-card-body ul li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 1rem;
    color: var(--anthracite);
    padding: 5px 0;
    border-bottom: 1px solid var(--gray-light);
}
.auto-card-body ul li:last-child { border-bottom: none; }
.auto-card-body ul li i { color: var(--green); flex-shrink: 0; margin-top: 12px; font-size: 0.7rem; }
.auto-card-body ul li a {
    color: var(--anthracite);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
}
.auto-card-body ul li a:hover { color: var(--green); }

/* ===== JÁDROVÉ VRTÁNÍ ===== */
#vrtani { background: var(--white); }
.vrtani-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.vrtani-img-wrap { position: relative; }
.vrtani-img-wrap img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.vrtani-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--green);
    color: var(--white);
    border-radius: 12px;
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(58,171,74,0.4);
}
.vrtani-badge strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
}
.vrtani-badge span { font-size: 0.75rem; opacity: 0.9; }
.vrtani-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--anthracite);
    margin-bottom: 16px;
    line-height: 1.15;
}
.vrtani-content h2 span { color: var(--green); }
.vrtani-content > p { color: var(--gray-text); margin-bottom: 14px; line-height: 1.7; }
.vrtani-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0;
}
.feat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--gray-light);
    border-radius: 8px;
    border-left: 3px solid var(--green);
}
.feat-item .feat-fa {
    color: var(--green);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.feat-item h4 { font-size: 1.2rem; font-weight: 700; color: var(--anthracite); margin-bottom: 2px; }
.feat-item p { font-size: 0.9rem; color: var(--gray-text); margin: 0; }

/* ===== KONTAKT ===== */
#kontakt { background: var(--anthracite); }
#kontakt .section-header h2 { color: var(--white); }
#kontakt .section-tag { background: rgba(58,171,74,0.2); color: var(--green); }
#kontakt .section-header p { color: rgba(255,255,255,0.6); }
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
.kontakt-info h3, .team-section h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 24px; }
.info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.info-icon {
    width: 44px; height: 44px;
    background: rgba(58,171,74,0.15);
    border: 1px solid rgba(58,171,74,0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1rem;
    flex-shrink: 0;
}
.info-item h4 { color: rgba(255,255,255,0.5); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; font-family: 'Barlow Condensed', sans-serif; }
.info-item p, .info-item a { color: var(--white); font-size: 0.95rem; text-decoration: none; transition: color 0.2s; }
.info-item a:hover { color: var(--green); }
.kontakt-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px;
}
.kontakt-form h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    color: rgba(255,255,255,0.55);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: 'Barlow', sans-serif;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    background: rgba(58,171,74,0.08);
}
.form-group select option { background: var(--anthracite); }
.form-group textarea { height: 120px; resize: vertical; }
.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.form-submit:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ===== MAPA ===== */
#mapa { padding: 0; }
#mapa iframe { width: 100%; height: 420px; border: none; display: block; filter: grayscale(0.3); }
.map-overlay { background: var(--anthracite); padding: 28px 24px; text-align: center; }
.map-overlay p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.map-overlay strong { color: var(--green); }

/* ===== FOOTER ===== */
footer { background: #1a1a1a; padding: 60px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}
.footer-logo span { color: var(--green); }
.footer-col > p { color: rgba(255,255,255,0.4); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
    width: auto; height: 38px;
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.75rem;
    transition: background 0.2s, color 0.2s;
    padding-left: 10px;
    padding-right: 10px;
}
.social-link:hover { background: var(--green); color: var(--white); }
.footer-col h4 {
    font-family: 'Barlow Condensed', sans-serif;
    color: #ccc;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 1rem; transition: color 0.2s; cursor: pointer; }
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.28); font-size: 0.82rem; margin-bottom: 24px}
.footer-bottom a { color: var(--green); text-decoration: none; }
.green-bar { width: 100%; height: 4px; background: linear-gradient(90deg, var(--green), var(--green-dark)); }

/* Back to top */
#btt {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 46px; height: 46px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(58,171,74,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
}
#btt.show { opacity: 1; pointer-events: all; }
#btt:hover { transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid, .kamery-grid, .auto-grid { grid-template-columns: repeat(2, 1fr); }
    .vrtani-grid, .kontakt-grid { grid-template-columns: 1fr; }
    .vrtani-img-wrap { max-width: 500px; }
    .vrtani-badge { bottom: 10px; right: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .services-grid, .kamery-grid, .auto-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .vrtani-features { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .modal-body { padding: 24px 20px 28px; }
    .modal-header { padding: 24px 20px 20px; }
}
@media (max-width: 480px) {
    section { padding: 60px 16px; }
    .kontakt-form { padding: 24px 16px; }
    .modal-box { border-radius: 12px; }
}





.contact-persons {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.contact-persons h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.persons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    transition: 0.2s ease;
    opacity: 0.9;
}

.person:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.avatar img {
    width: 100%;
}

.avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.avatar svg {
    width: 100%;
    height: 100%;
}

.info .name {
    font-weight: 600;
    font-size: 15px;
    color: #222;
}

.info .role {
    font-size: 13px;
    color: #777;
}

.custom {
    position: relative;
    margin-top: -40px; /* posun do hlavičky */
    display: flex;
    justify-content: center;
    padding: 40px 10px; /* vnější odsazení */
}

.custom__inner {
    background: #ffffff;
    width: 100%;
    max-width: 1200px;
    min-height: 40vh;
    padding: 20px 40px 40px 40px;
    margin-top: -40px;
    margin-bottom: -76px;
    border-radius: 16px; /* zaoblení rohů */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}



section.custom table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    border: 1px solid #dee2e6;
}

section.custom table th {
    font-weight: 600;
    background: #f8f9fa;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
}

section.custom table td {
    padding: 12px 16px;
    border: 1px solid #dee2e6;
}

section.custom table tr:nth-child(even) {
    background: #fcfcfc;
}

section.custom table tr:hover {
    background: #f1f3f5;
}

section.custom h1,
section.custom h2,
section.custom h3,
section.custom h4,
section.custom h5,
section.custom h6 {
    margin: 24px 0 12px;
}

section.custom p {
    margin: 16px 0;
    line-height: 1.6;
}

section.custom hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid #ddd;
}

@media (max-width: 768px) {
    .custom img {
        width: 100%;
        height: auto;
        display: block;
    }
}

.galerie-wrapper {
    display: grid;
    gap: 30px;
}

.galerie-wrapper.cols-2 { grid-template-columns: repeat(2, 1fr); }
.galerie-wrapper.cols-3 { grid-template-columns: repeat(3, 1fr); }
.galerie-wrapper.cols-4 { grid-template-columns: repeat(4, 1fr); }
.galerie-wrapper.cols-5 { grid-template-columns: repeat(5, 1fr); }
.galerie-wrapper.cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Orientace */
.galerie-wrapper.orient-landscape .galerie-thumb {
    aspect-ratio: 16 / 9;
}
.galerie-wrapper.orient-square .galerie-thumb {
    aspect-ratio: 1 / 1;
}
.galerie-wrapper.orient-portrait .galerie-thumb {
    aspect-ratio: 3 / 4;
}

.galerie-thumb {
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform .2s ease;
}

.galerie-item:hover .galerie-thumb {
    transform: scale(1.03);
}

.galerie-popisek {
    margin-top: 6px;
    font-size: 14px;
}

.galerie-autor {
    font-size: 12px;
    opacity: .6;
}

/* Mobilní zobrazení – vše pod sebe */
@media (max-width: 768px) {
    .galerie-wrapper {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .galerie-item {
        width: 100%;
    }

    .galerie-thumb {
        border-radius: 4px;
    }
}
