* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    padding-top: 90px; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    background: #ffffff;
    color: #222;
    line-height: 1.6;
}

header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10002;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    flex-shrink: 0;
}

.navbar .container {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 65px;
    padding-left: 20px;    
    padding-right: 20px; 
}

.navbar .container > a {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}

.logo-small {
    max-height: 65px;
    height: auto;
    width: auto;
}

.photo-big {
    max-height: 400px;
    width: auto;
}

.header-social {
    display: flex;
    gap: 15px;
    margin-left: 95px;
}

.header-social .social-icon svg {
    fill: #d50000;
    transition: fill 0.3s ease;
    cursor: pointer;
}

.header-social .social-icon:hover svg {
    fill: #b00000;
}

.logo-link {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}

.nav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.nav-center ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-center ul li a {
    text-decoration: none;
    color: #d50000;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-center ul li a:hover {
    color: #a30000;
}

.nav-right {
    margin-left: auto;
    margin-right: 0;
}

.nav-right ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-right ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 10px 18px;
    border-radius: 6px;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    background-color: #d50000;
    transition: background-color 0.3s;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 10001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger div {
    height: 3px;
    background-color: #d50000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open div:nth-child(2) {
    opacity: 0;
}
.hamburger.open div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.mobile-menu-overlay.active {
    display: block;
}


.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9998;
    padding: 100px 30px 30px;
    box-shadow: none;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.navbar {
    z-index: 10002;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    width: 65px;
    height: 65px;
    background-image: url('logo.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: #d50000;
    font-weight: bold;
    font-size: 1.3rem;
    text-decoration: none;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: color 0.2s;
    text-align: center;
}

.mobile-menu ul li a:hover {
    color: #a30000;
}

.mobile-menu ul li:last-child a {
    background-color: #d50000;
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    border: none;
    text-align: center;
    margin-top: 20px;
}

.mobile-menu ul li:last-child a:hover {
    background-color: #a30000;
    color: #fff;
}

/* Alternativní varianta - menu slide ze strany přes celou šířku */
.mobile-menu-fullwidth {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    padding: 80px 30px 30px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-fullwidth.active {
    display: block;
    transform: translateX(0);
}

/* Hlavní obsah */
main.content {
    flex: 1 0 auto;
    padding: 10px 0 20px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Footer */
footer.site-footer {
    flex-shrink: 0;
    background-color: #d50000;
    color: #fff;
    padding: 40px 20px;
}

footer.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-sizing: border-box;
}

/* Footer - kontakt */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1.1rem;
}

.footer-contact p {
    margin: 0;
}

.footer-contact p a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-contact p a:hover {
    color: #ffeeee;
}

/* Footer - sociální sítě */
.footer-social {
    display: flex;
    gap: 25px;
}

.footer-social a {
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ffeeee;
}

.footer-social a.instagram::before {
    content: "📸";
    margin-right: 8px;
    font-size: 1.8rem;
}

.footer-social a.facebook::before {
    content: "📘";
    margin-right: 8px;
    font-size: 1.8rem;
}

.footer-social a.linkedin::before {
    content: "🔗";
    margin-right: 8px;
    font-size: 1.8rem;
}

/* Hero sekce */
.hero {
    text-align: center;
    padding: 10px 20px;
}

.hero h1 {
    color: black;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta {
    display: inline-block;
    background: #d50000;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.cta:hover {
    background: #b00000;
}

/* About sekce */
.about {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.about h2 {
    color: #d50000;
    margin-bottom: 20px;
}

.about p {
    font-size: 1rem;
    max-width: 800px;
    margin: auto;
}

/* Reference grid */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.reference-card {
    text-decoration: none;
    color: #222;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    background: #fff;
    height: 280px;
}

.reference-card:hover {
    box-shadow: 0 6px 12px rgb(0 0 0 / 0.15);
    transform: translateY(-4px);
}

.reference-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.reference-card h3 {
    padding: 15px;
    font-size: 1.25rem;
    margin: 0;
    flex-grow: 1;
}

/* Grid pro formulář a sidebar */
.kalkulace-grid {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Formulář */
.kalkulace-form-wrapper {
    flex: 1 1 600px;
    max-width: 600px;
    background: #ffffff;
    padding: 30px 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.kalkulace-form h1 {
    font-weight: 700;
    font-size: 2.4rem;
    margin-bottom: 30px;
    color: #d50000;
    text-align: center;
}

.kalkulace-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #444;
    font-size: 1.1rem;
}

/* Řádky ve formuláři - dva inputy vedle sebe */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-row input[type="text"],
.form-row input[type="email"] {
    flex: 1;
}

.kalkulace-form input[type="text"],
.kalkulace-form input[type="email"],
.kalkulace-form input[type="file"],
.kalkulace-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.8px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    font-family: inherit;
    background-color: #fafafa;
    resize: vertical;
}

.kalkulace-form input:focus,
.kalkulace-form textarea:focus {
    border-color: #d50000;
    box-shadow: 0 0 8px rgba(213, 0, 0, 0.3);
    outline: none;
    background-color: #fff;
}

.kalkulace-form textarea {
    min-height: 120px;
    margin-bottom: 25px;
}

/* Checkbox styl */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #444;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-wrapper a {
    color: #d50000;
    text-decoration: underline;
}

.checkbox-wrapper a:hover {
    color: #b00000;
}

.kalkulace-form .btn-submit {
    display: block;
    width: 100%;
    padding: 16px 0;
    background-color: #d50000;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgb(213 0 0 / 0.6);
    transition: background-color 0.25s ease;
}

.kalkulace-form .btn-submit:hover {
    background-color: #b00000;
}

/* Tlačítko odeslat */
.btn-submit {
    display: block;
    width: 100%;
    padding: 16px 0;
    background-color: #d50000;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(213, 0, 0, 0.5);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    background-color: #b00000;
    box-shadow: 0 8px 20px rgba(176, 0, 0, 0.7);
}

/* Sidebar s fotkami */
.kalkulace-sidebar {
    flex: 0 0 320px;
    border-radius: 12px;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-sizing: border-box;
}

.kontakt-box {
    background: #fff;
    margin-top: 10px;
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontakt-box a {
    color: black;
    text-decoration: none;
}

.kontakt-box.secondary {
    background: #d50000;
    color: #fff;
    text-align: center;
    box-shadow: none;
}

.kontakt-box.secondary .cta {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 25px;
    background-color: #fff;
    color: #d50000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.kontakt-box.secondary .cta:hover {
    background-color: #f0f0f0;
}

.kontakt-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.footer-contact i {
    margin-right: 8px;
    color: #fff;
    font-size: 1.2rem;
    vertical-align: middle;
}

.custom-file-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    font-family: Arial, sans-serif;
    margin-bottom: 1.5rem;
}

.custom-file-input {
    position: absolute;
    width: 100%;
    height: 40px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    top: 0;
    left: 0;
}

.custom-file-button {
    display: inline-block;
    background-color: #d93025;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
    transition: background-color 0.3s ease;
    z-index: 1;
}

.custom-file-button:hover {
    background-color: #a8271d;
}

.custom-file-filename {
    margin-left: 12px;
    font-size: 0.9rem;
    vertical-align: middle;
    color: #555;
    user-select: none;
}

.kalkulace-icon {
    color: #d93025;
    margin-right: 8px;
    font-size: 1.2rem;
    vertical-align: middle;
}

a.download-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: #d33a3a;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

a.download-link:hover {
    background-color: #a72828;
}

.pdf-files {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    justify-content: start;
    list-style: none;
    padding: 30px 20px;
    margin: 0 auto;
    max-width: 1000px;
}

.pdf-files li {
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px;
    background: #f9f9f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.pdf-files li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pdf-files canvas {
    display: block;
    margin: 0 auto 6px auto;
    max-width: 100%;
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.pdf-files a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: block;
    font-size: 0.8rem;
    padding: 3px;
    line-height: 1.2;
}

.pdf-files a:hover {
    color: #d50000;
}

/* Obecné styly pro sekce */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero sekce - moderní design */
.hero {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: #d50000;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.cta {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta.primary {
    background: #d50000;
    color: #fff;
    box-shadow: 0 4px 15px rgba(213, 0, 0, 0.3);
}

.cta.primary:hover {
    background: #b00000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(213, 0, 0, 0.4);
}

.cta.secondary {
    background: transparent;
    color: #d50000;
    border-color: #d50000;
}

.cta.secondary:hover {
    background: #d50000;
    color: #fff;
    transform: translateY(-2px);
}

.cta.large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Hero statistiky */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d50000;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* About sekce */
.about {
    padding: 80px 0;
    background: #fff;
}

.about h2 {
    text-align: center;
    color: #d50000;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    text-align: left;
}

.about-image {
    text-align: center;
}

.placeholder-image {
  
    background: #f0f0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
    border: 2px dashed #ddd;
}

/* Benefits sekce */
.benefits {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits h2 {
    text-align: center;
    color: #d50000;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #d50000;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Services sekce */
.services {
    padding: 80px 0;
    background: #fff;
}

.services h2 {
    text-align: center;
    color: #d50000;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #d50000;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
}

.service-item h3 {
    color: #d50000;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* Certifications sekce */
.certifications {
    padding: 80px 0;
    background: #f8f9fa;
}

.certifications h2 {
    text-align: center;
    color: #d50000;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.certification-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.certification-item a {
    text-decoration: none;
    color: inherit;
}

.certification-preview {
    margin-bottom: 20px;
}

.certification-preview canvas {
    border: 1px solid #eee;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.certification-item h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.no-certifications {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 40px;
}

/* Testimonials sekce */
.testimonials {
    padding: 80px 0;
    background: #fff;
}

.testimonials h2 {
    text-align: center;
    color: #d50000;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 4rem;
    color: #d50000;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: #d50000;
    font-weight: 600;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

.testimonials-stats {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.testimonials-stats p {
    font-size: 1.2rem;
    color: #555;
}

/* FAQ sekce */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    color: #d50000;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: #d50000;
    color: #fff;
    padding: 20px 30px;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #b00000;
}

.faq-answer {
    display: none; /* Defaultně schované */
    padding: 30px;
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

.faq-item.active .faq-answer {
    display: block; /* Zobrazí se až po kliknutí */
}

/* Contact CTA sekce */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #d50000 0%, #b00000 100%);
    color: #fff;
    text-align: center;
}

.contact-cta h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.contact-cta .cta.primary {
    background: #fff;
    color: #d50000;
}

.contact-cta .cta.primary:hover {
    background: #f0f0f0;
    color: #b00000;
}

.contact-cta .cta.secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.contact-cta .cta.secondary:hover {
    background: #fff;
    color: #d50000;
}

/* Responsivita */
@media (max-width: 768px) {

    
    .about-text p {
    text-align: center;
    }
    .hero {
        padding: 60px 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-container {
        padding: 0 15px;
    }


/* Pokud chcete pevný počet sloupců na desktopu */
.pdf-files.fixed-columns {
    grid-template-columns: repeat(8, 1fr);
}

.pdf-files.fixed-columns-10 {
    grid-template-columns: repeat(10, 1fr);
}

a.zpet {
    display: inline-block;
    margin-top: 25px;
    text-decoration: none;
    color: #cc0000;
    font-weight: bold;
}

a.zpet:hover {
   text-decoration: underline;
}

/* Footer drobné */
footer.site-footer small {
    display: block;
    text-align: center;
    margin-top: 30px;
    font-weight: 600;
    color: #eee;
}
 .about-image {
    display: none;
}

.about h2 { font-size: 2rem; margin-bottom: 40px; }
  .about-text p { font-size: 1rem; line-height: 1.5; }

/* Responsivita - úprava pro zobrazení social ikon na mobilu */
@media (max-width: 480px) {

    .about-text p {
    text-align: center;
    }
     .about-image {
    display: none;
    }
    .about h2 { font-size: 1.6rem; }
    .about-text p { font-size: 0.95rem; }
    /* Ukázat hamburger menu */
    .hamburger {
        display: flex;
    }

    /* Skrýt desktop navigaci */
    .nav-center,
    .nav-right {
        display: none;
    }

    /* ZOBRAZIT header social ikony na mobilu */
    .header-social {
        display: flex;
        margin-left: 75px; /* Menší margin kvůli menší obrazovce */
        gap: 12px; /* Menší gap mezi ikonami */
    }

    /* Menší ikony na mobilu */
    .header-social .social-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Navbar */
    .navbar .container {
        position: sticky;
        top: 0; 
        z-index: 1000; 
        background-color: white; 
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Upravit pozici loga kvůli social ikonám */
    .navbar .container > a,
    .logo-link {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        display: block;
    }

    /* Upravit pozici hamburgeru kvůli social ikonám */
    .hamburger {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Alternativní layout - social ikony pod logem */
    .navbar-mobile-alt .container {
        flex-direction: column;
        align-items: center;
        padding: 10px 15px;
        min-height: auto;
    }

    .navbar-mobile-alt .logo-link {
        position: static;
        transform: none;
        margin-bottom: 10px;
    }

    .navbar-mobile-alt .header-social {
        margin-left: 0;
        justify-content: center;
    }

    .navbar-mobile-alt .hamburger {
        position: absolute;
        right: 15px;
        top: 15px;
    }

      .kalkulace-form-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
        background: #ffffff;                  /* bílý podklad */
        padding: 30px 30px;                   /* vnitřní odsazení */
        box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* stejný stín jako desktop */
        border-radius: 8px;                   /* zaoblené rohy */
        margin-top: 20px;
    }

    /* Form-row na jeden sloupec */
    .form-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    /* Inputy a textarea mají stále stejný design */
    .kalkulace-form input[type="text"],
    .kalkulace-form input[type="email"],
    .kalkulace-form input[type="file"],
    .kalkulace-form textarea {
        width: 100%;
        padding: 14px 18px;
        border: 1.8px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        font-family: inherit;
        background-color: #fafafa;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
        resize: vertical;
    }

    .kalkulace-form input:focus,
    .kalkulace-form textarea:focus {
        border-color: #d50000;
        box-shadow: 0 0 8px rgba(213, 0, 0, 0.3);
        outline: none;
        background-color: #fff;
    }

    /* Nadpis formuláře */
    .kalkulace-form h1 {
        font-size: 2rem;
        margin-bottom: 25px;
        text-align: center;
    }

}

    .btn-submit {
        font-size: 1.1rem;
        padding: 14px 0;
    }

    /* Reference grid na 1 sloupec */
    .reference-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }

    /* PDF list - zvětšení klikací plochy */
    .pdf-files li a {
        padding: 15px;
        font-size: 1.1rem;
    }

    /* Footer - center a zmenšit padding */
    footer.site-footer .container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        text-align: center;
    }

    .footer-contact,
    .footer-social {
        justify-content: center;
        gap: 15px;
    }

    /* Custom file input tlačítko */
    .custom-file-button {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 1rem;
    }

    /* Zajistit, aby celý blok byl klikací, ne jen název */
    .pdf-files li {
        cursor: pointer;
    }
    pdf-files {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        margin: 0;
        list-style: none;
    }

    .pdf-files li {
        width: 100%;
        text-align: center;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
        background: #f9f9f9;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        box-sizing: border-box;
    }

    .pdf-files li:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .pdf-files canvas {
        display: block;
        margin: 0 auto 12px auto;
        max-width: 100%;
        width: 100%;
        height: auto;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .pdf-files a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        display: block;
        font-size: 1.1rem;
        padding: 10px;
    }

    .pdf-files a:hover {
        color: #d50000;
    }

    /* Alternativně - pokud chcete zobrazit certifikáty v gridu 2x2 na mobilu */
    .pdf-files.grid-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }

    .pdf-files.grid-mobile li {
        width: 100%;
        padding: 10px;
    }

    .pdf-files.grid-mobile canvas {
        width: 100%;
        height: auto;
        margin-bottom: 8px;
    }

    .pdf-files.grid-mobile a {
        font-size: 0.9rem;
        padding: 5px;
    }

    /* Pokud máte sekci s nadpisem certifikace */
    .certifikace-section {
        padding: 20px;
        text-align: center;
    }

    .certifikace-section h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: #d50000;
    }

    /* Zajistit, aby celý blok byl klikací */
    .pdf-files li {
        cursor: pointer;
    }
 }