@font-face {
    font-family: 'Gotham-Black';
    src: url('../Gotham_font/Gotham-Black.ttf') format('truetype');
}

@font-face {
    font-family: 'Gotham-Book';
    src: url('../Gotham_font/Gotham-Book.ttf') format('truetype');
}

@font-face {
    font-family: 'Gotham-Light';
    src: url('../Gotham_font/Gotham-Light.ttf') format('truetype');
}

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

body {
    font-family: 'Gotham-Book', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 0;
    z-index: 9999;
    padding: 10px;
    background: #000;
    color: #fff;
}

/* Header Structure */
#site-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 100;
}

#site-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.header-container {
    width: 100%;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo-container {
    flex-shrink: 0;
}

.site-logo-img,
.hfe-site-logo-img {
    max-width: 200px;
    height: auto;
}

.header-title-container {
    flex: 1;
}

.header-title {
    margin: 0;
    margin-top: 38px;
    font-family: 'Gotham-Light', Arial, sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.header-title .desc {
    font-family: 'Gotham-Light', Arial, sans-serif;
    font-size: 36px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-title .desc .bold {
    font-family: 'Gotham-Black', Arial, sans-serif;
    font-weight: normal;
}

.header-title span {
    font-family: 'Gotham-Black', Arial, sans-serif;
}

#zlozeny-roh {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: transparent;
}

.obrazok-zlozeny-roh {
    width: 100%;
    height: 100%;
}

header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Gotham-Black', Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #042537;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #042537;
    font-family: 'Gotham-Book', Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: #3fc1be;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3fc1be;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, #042537 0%, #3fc1be 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at bottom left, rgba(63, 193, 190, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Gotham-Light', Arial, sans-serif;
    font-size: 56px;
    font-weight: 300;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero p {
    font-family: 'Gotham-Book', Arial, sans-serif;
    font-size: 20px;
    opacity: 0.95;
    font-weight: normal;
}

.services {
    padding: 100px 0;
    background: white;
}

/* Production Layout Structure - matches Elementor grid */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-auto-flow: row;
    justify-items: stretch;
    align-items: stretch;
    gap: 20px 20px;
    row-gap: 0;
    margin: 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
    padding-bottom: 0;
}

.section-item {
    width: 100%;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
}

.section-item .sekcia1,
.section-item .sekcia2,
.section-item .sekcia3 {
    width: 100%;
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 0;
}

/* Production sekcia styles from OceanWP theme */
body.rozcestnik .sekcia1 .kontajner,
body.rozcestnik .sekcia2 .kontajner,
body.rozcestnik .sekcia3 .kontajner {
    border: 1px solid #3fc1be;
    border-radius: 0px 33px 0px 0px;
    display: contents;
}

body.rozcestnik .sekcia1 .kontajner .centered,
body.rozcestnik .sekcia2 .kontajner .centered,
body.rozcestnik .sekcia3 .kontajner .centered {
    z-index: 20;
}

body.rozcestnik .sekcia1 .kontajner .popis-sekcie,
body.rozcestnik .sekcia2 .kontajner .popis-sekcie,
body.rozcestnik .sekcia3 .kontajner .popis-sekcie {
    font-family: Gotham-Black;
    width: 270px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    line-height: 28px;
    color: rgb(63, 193, 190);
    border-radius: 0px 33px 0px 0px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(63, 193, 190);
    border-image: initial;
    padding: 8px 0px;
    background: white;
    margin: auto;
    margin-top: -30px;
    transition: all 0.3s ease;
}

/* Hover effect on sections */
body.rozcestnik .sekcia1:hover .popis-sekcie,
body.rozcestnik .sekcia2:hover .popis-sekcie,
body.rozcestnik .sekcia3:hover .popis-sekcie {
    background: rgb(63, 193, 190);
    color: white;
}

body.rozcestnik .sekcia1 .kontajner img.obrazok,
body.rozcestnik .sekcia2 .kontajner img.obrazok,
body.rozcestnik .sekcia3 .kontajner img.obrazok {
    border-radius: 0px 33px 0px 0px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    -ms-transition: all 0.6s ease;
    transition: all 0.6s ease;
    width: 100%;
    height: auto;
    aspect-ratio: 10 / 8;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

body.rozcestnik .sekcia1 .kontajner img.obrazok:hover,
body.rozcestnik .sekcia2 .kontajner img.obrazok:hover,
body.rozcestnik .sekcia3 .kontajner img.obrazok:hover {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

body.rozcestnik .sekcia1:hover .kontajner img.obrazok,
body.rozcestnik .sekcia2:hover .kontajner img.obrazok,
body.rozcestnik .sekcia3:hover .kontajner img.obrazok {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

body.rozcestnik .sekcia1:hover .kontajner .popis-sekcie,
body.rozcestnik .sekcia2:hover .kontajner .popis-sekcie,
body.rozcestnik .sekcia3:hover .kontajner .popis-sekcie {
    color: #fff !important;
    background-color: #3fc1be;
}

/* Responsive styles */
@media only screen and (min-width: 960px) and (max-width: 1280px) {
    body.rozcestnik .sekcia1 .kontajner .popis-sekcie,
    body.rozcestnik .sekcia2 .kontajner .popis-sekcie,
    body.rozcestnik .sekcia3 .kontajner .popis-sekcie {
        width: 180px;
        font-size: 18px;
        line-height: 18px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    body.rozcestnik .sekcia1 .kontajner .popis-sekcie,
    body.rozcestnik .sekcia2 .kontajner .popis-sekcie,
    body.rozcestnik .sekcia3 .kontajner .popis-sekcie {
        width: 160px;
        font-size: 16px;
        line-height: 16px;
    }
    
    .sections-grid {
        gap: 15px;
        padding: 0 20px;
    }
    
    .contact-info-section {
        padding: 40px 30px;
    }
    
    .contact-form-section {
        padding: 40px 30px;
    }
    
    .contact-info-line {
        font-size: 15px;
    }
    
    .form-title {
        font-size: 42px;
    }
}

@media only screen and (min-width: 481px) and (max-width: 767px) {
    body.rozcestnik .sekcia1 .kontajner .popis-sekcie,
    body.rozcestnik .sekcia2 .kontajner .popis-sekcie,
    body.rozcestnik .sekcia3 .kontajner .popis-sekcie {
        width: 280px;
        font-size: 20px;
        line-height: 24px;
    }
    
    body.rozcestnik .sekcia1 .kontajner,
    body.rozcestnik .sekcia2 .kontajner,
    body.rozcestnik .sekcia3 .kontajner {
        margin-bottom: 40px;
    }
    
    .contact-info-section {
        padding: 30px 20px;
    }
    
    .contact-form-section {
        padding: 30px 20px;
    }
    
    .contact-info-two-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-info-left,
    .contact-info-right {
        width: 100%;
    }
    
    .contact-info-line {
        font-size: 14px;
    }
    
    .form-title {
        font-size: 38px;
    }
}

@media only screen and (max-width: 767px) {
    #site-header-inner {
        padding: 0 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .header-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .header-inner {
        display: block;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .logo-container {
        flex-shrink: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .site-logo-img,
    .hfe-site-logo-img {
        max-width: 150px;
    }
    
    .header-title-container {
        width: 100% !important;
        flex: none !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .header-title {
        font-size: 24px;
        margin-top: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal !important;
        hyphens: auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .header-title .desc {
        font-size: 24px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal !important;
        max-width: 100%;
        display: block;
    }
    
    .sections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .contact-info-section {
        padding: 30px 20px;
    }
    
    .contact-form-section {
        padding: 30px 20px;
    }
    
    .contact-info-two-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-info-left,
    .contact-info-right {
        width: 100%;
    }
    
    .contact-info-line {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .section.certifikaty {
        padding: 30px 20px;
    }
    
    .certifikaty-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .certifikaty-container .width {
        width: 100%;
        max-width: 100%;
    }
    
    .certifikaty-container .width.stredny h2 {
        font-size: 28px;
    }
    
    .form-title {
        font-size: 32px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-field {
        margin-bottom: 15px;
    }
    
    .form-field input,
    .form-field textarea {
        font-size: 16px;
        padding: 10px 12px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 12px 30px;
        font-size: 14px;
    }
    
    body.rozcestnik .sekcia1 .kontajner .popis-sekcie,
    body.rozcestnik .sekcia2 .kontajner .popis-sekcie,
    body.rozcestnik .sekcia3 .kontajner .popis-sekcie {
        width: 225px;
        font-size: 20px;
        line-height: 24px;
    }
    
    body.rozcestnik .sekcia3 .kontajner {
        margin-bottom: 0px;
    }
}

@media only screen and (min-width: 960px) {
    .sections-grid {
        gap: 30px;
    }
}

/* Tablet landscape and medium screens */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .contact-info-section {
        padding: 40px 30px;
    }
    
    .contact-form-section {
        padding: 40px 30px;
    }
    
    .form-title {
        font-size: 44px;
    }
}

/* Large screens */
@media only screen and (min-width: 1025px) {
    .contact-info-section {
        padding: 40px 40px;
    }
    
    .contact-form-section {
        padding: 40px 40px;
    }
}


/* Header corner image */
body.rozcestnik #site-header #zlozeny-roh {
    position: absolute;
    top: 0;
    right: 0;
}

body.rozcestnik #site-header #zlozeny-roh .obrazok-zlozeny-roh {
    width: 144px;
    height: 144px;
    background: url("https://test.proficorp.sk/wp-content/uploads/2025/01/PROFICORP_WEB_RAZCESTNIK_roh_nove.png");
    background-repeat: no-repeat;
    background-size: 144px 144px;
}

@media only screen and (min-width: 959px) and (max-width: 1280px) {
    body.rozcestnik #site-header #zlozeny-roh .obrazok-zlozeny-roh {
        width: 130px;
        height: 130px;
        background-size: 130px 130px;
    }
}

@media only screen and (max-width: 959px) {
    body.rozcestnik #site-header #zlozeny-roh .obrazok-zlozeny-roh {
        width: 94px;
        height: 94px;
        background-size: 94px 94px;
    }
}

/* Legacy styles for compatibility */
.sekcia1, .sekcia2, .sekcia3 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.kontajner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.obrazok {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.popis-sekcie {
    font-family: Gotham-Black;
    width: 270px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    line-height: 28px;
    color: rgb(63, 193, 190);
    border-radius: 0px 33px 0px 0px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(63, 193, 190);
    border-image: initial;
    padding: 8px 0px;
    background: white;
}

.popis-sekcie.centered {
    text-align: center;
    z-index: 999;
    position: relative;
    margin: -32px auto 26px;
}

/* Spacer */
.spacer-container {
    width: 100%;
    padding: 20px 0;
}

.spacer {
    width: 100%;
}

.spacer-inner {
    height: 1px;
}

/* Social Icons */
.social-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
}

.social-icons-inner {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon-item {
    width: 50px;
    height: 50px;
}

.icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #3fc1be;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.icon-link:hover {
    background-color: #2fa8a5;
}

.icon-svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* Contact Info */
.contact-info-container {
    text-align: center;
    padding: 15px 0;
    font-family: 'Gotham-Book', Arial, sans-serif;
}

.contact-info-container .center {
    display: inline-block;
    margin: 0 15px;
}

.contact-info-container a {
    color: black;
    text-decoration: none;
}

.contact-info-container a:hover {
    text-decoration: underline;
}

/* Cookie Consent */
#ocn-cookie-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #3fc1be;
    color: #ffffff;
    padding: 20px;
    z-index: 1000;
    display: none;
}

#ocn-cookie-wrap.floating {
    display: block;
}

#ocn-cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.ocn-cookie-content {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
}

.ocn-cookie-content a {
    color: #ffffff;
    text-decoration: underline;
}

.ocn-btn {
    background-color: #ffffff;
    color: #3fc1be;
    border: none;
    padding: 10px 30px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.ocn-btn:hover {
    background-color: #f0f0f0;
}

/* Main Content Structure */
#main {
    min-height: calc(100vh - 200px);
}

#content-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

#primary {
    width: 100%;
}

.content-area {
    border-right: none !important;
    padding-right: 0 !important;
}

#content {
    width: 100%;
}

.single-page-article {
    width: 100%;
}

.entry {
    width: 100%;
}

.service-card {
    background: transparent;
    padding: 0;
    text-align: left;
    transition: transform 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 20px;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: #3fc1be;
}

.service-card h3 {
    font-family: 'Gotham-Light', Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #042537;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.service-card p {
    font-family: 'Gotham-Book', Arial, sans-serif;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.contact-section {
    background: white;
    padding: 80px 0;
}

.contact-info-top {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.contact-info-left,
.contact-info-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info-top strong {
    color: #333;
    font-weight: bold;
    margin-right: 5px;
}

.contact-info-top a {
    color: #333;
    text-decoration: none;
}

.contact-info-top a:hover {
    text-decoration: underline;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-title {
    font-size: 48px;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: black;
}

.form-title .bold-text {
    font-weight: bold;
    color: black;
}

.form-title .normal-text {
    font-weight: normal;
    color: #666;
}

/* Contact Form Section */
.contact-form-section {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 40px;
    font-family: 'Gotham-Book', Arial, sans-serif;
}

/* Contact Information Section (Two Columns) */
.contact-info-section {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 40px;
    text-align: center;
}

.contact-info-above-form {
    margin-bottom: 30px;
    text-align: center;
}

.contact-info-two-columns {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.contact-info-left,
.contact-info-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-info-line {
    font-family: 'Gotham-Book', Arial, sans-serif;
    font-size: 16px;
    color: black;
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-info-line strong {
    font-weight: bold;
    font-family: 'Gotham-Black', Arial, sans-serif;
}

.contact-info-line a {
    color: black;
    text-decoration: none;
}

.contact-info-line a:hover {
    text-decoration: underline;
}

.form-title {
    text-align: left;
    color: black;
    font-size: 48px;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-family: 'Gotham-Book', Arial, sans-serif;
}

.form-title .bold-text {
    font-weight: bold;
    font-family: 'Gotham-Black', Arial, sans-serif;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field.full-width {
    width: 100%;
}

.name-field {
    flex: 1;
}

.email-field {
    flex: 1;
}

.form-field label {
    display: block;
    color: black;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: 'Gotham-Book', Arial, sans-serif;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid black;
    border-radius: 0px 20px 0px 0px;
    font-family: 'Gotham-Book', Arial, sans-serif;
    font-size: 16px;
    background: #fff;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #3fc1be;
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.checkbox-field input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-field label {
    font-weight: normal;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.checkbox-field label a {
    color: #3fc1be;
    text-decoration: underline;
}

.form-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
}

.submit-btn {
    background: #3fc1be;
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 16px;
    font-family: 'Gotham-Book', Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background: #2fa8a5;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Certifikáty Section */
.section.certifikaty {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px;
    text-align: center;
}

.certifikaty-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.certifikaty-container .width {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.certifikaty-container .width.lavy,
.certifikaty-container .width.pravy {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.certifikaty-container .width.stredny {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.certifikaty-container .width img {
    max-width: 100%;
    height: auto;
    display: block;
}

.certifikaty-container .width.stredny h2 {
    font-family: 'Gotham-Black', Arial, sans-serif;
    font-size: 32px;
    text-transform: uppercase;
    color: #3fc1be;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: center;
}

.certifikaty-container .width.stredny .align-top-text {
    margin-top: 0;
}

footer {
    background: #042537;
    color: #ccc;
    padding: 50px 0;
    font-size: 14px;
    font-family: 'Gotham-Book', Arial, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    color: #3fc1be;
    margin-bottom: 15px;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-consent button {
    background: #3fc1be;
    color: white;
    border: none;
    padding: 10px 30px;
    margin-left: 20px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

.cookie-consent button:hover {
    background: #2fa09d;
}

@media (max-width: 480px) {
    #site-header-inner {
        padding: 0 15px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .header-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .header-inner {
        display: block;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .logo-container {
        flex-shrink: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .site-logo-img,
    .hfe-site-logo-img {
        max-width: 120px;
    }
    
    .header-title-container {
        width: 100% !important;
        flex: none !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .header-title {
        font-size: 20px;
        margin-top: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal !important;
        hyphens: auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .header-title .desc {
        font-size: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal !important;
        max-width: 100%;
        display: block;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-card h3 {
        font-size: 28px;
    }
    
    .contact-info-top {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-info-section {
        padding: 25px 15px;
    }
    
    .contact-form-section {
        padding: 25px 15px;
    }
    
    .contact-info-two-columns {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info-left,
    .contact-info-right {
        width: 100%;
    }
    
    .contact-info-line {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .section.certifikaty {
        padding: 30px 20px;
    }
    
    .certifikaty-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .certifikaty-container .width {
        width: 100%;
        max-width: 100%;
    }
    
    .certifikaty-container .width.stredny h2 {
        font-size: 24px;
    }
    
    .form-title {
        font-size: 28px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-field {
        margin-bottom: 12px;
    }
    
    .form-field label {
        font-size: 13px;
    }
    
    .form-field input,
    .form-field textarea {
        font-size: 15px;
        padding: 10px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .checkbox-field {
        margin-bottom: 20px;
    }
    
    .checkbox-field label {
        font-size: 13px;
    }
}


