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

body {
    font-family: 'Outfit', sans-serif;
    background: #CCD6E0;
    color: #fff;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

/* Video pozadí pouze pro header */
.header-video-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-bg-desktop,
.video-bg-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.video-bg-mobile {
    display: none;
}

@media (max-width: 768px) {
    .video-bg-desktop {
        display: none;
    }
    
    .video-bg-mobile {
        display: block;
    }
}

/* Header bloc */
.header-block {
    position: relative;
    background: transparent;
    z-index: 1000;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content {
    max-width: 1150px;
    display: flex;
    align-items: flex-start;
    padding: 0 20px;
}

.nav-left {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    margin-right: 60px;
}

.nav-right {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    margin-left: 60px;
}

.nav-link {
    color: #0A1B26;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s;
    }

.nav-link:hover {
    color: #2d6987;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    margin-top: 20px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #0A1B26;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 70px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1001;
}

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

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin: 0;
}

.mobile-nav .nav-link:last-child {
    border-bottom: none;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-symbol {
    width: 168px;
    height: 168px;
    background: url('img/logo.png') center/contain no-repeat;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -2px;
}

.logo h1 {
    color: #2d6987;
    font-size: 14px;
    margin: 0;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.logo p {
    color: #2d6987;
    font-size: 10px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* Hlavní slogán bloc */
.hero-block {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: #0A1B26;
    z-index: 5;
    padding-top: 200px;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-slogan {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.2;
}

/* Time&Money bloc - dvousloupný layout */
.time-money-block {
    display: flex;
    margin-top: 80px;
    position: relative;
    z-index: 10;
    width: 90%;
    margin-left: 0;
    background: #BCC6D0;
}

.time-money-image {
    flex: 1;
    background: url('img/Lipan_main_image 1.png') center/cover;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.time-money-content {
    flex: 1;
    padding: 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.time-money-content-wrapper {
    max-width: 500px;
    text-align: left;
}

.time-money-title {
    color: #567081;
    font-family: Outfit;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: -18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.1;
}

.time-money-heading {
    color: #0A1B26;
    font-family: Outfit;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 30px;
}

.time-money-text {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.time-money-text:last-of-type {
    margin-bottom: 15px;
}

.contact-button {
    background: #2d6987;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 0;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
    margin-top: 20px;
}

.contact-button:hover {
    background: #2c5282;
}

/* Our Loyalty sekce */
.our-loyalty-block {
    padding: 50px 60px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.our-loyalty-header {
    text-align: center;
    margin-bottom: 80px;
}

.our-loyalty-title {
    color: #567081;
    font-family: Outfit;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: -18px;
    opacity: 0.1;
}

.our-loyalty-subtitle {
    color: #0A1B26;
    font-family: Outfit;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}


/* Centrování obou řad */
.our-loyalty-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
}

.first-row-container,
.second-row-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    align-items: flex-start;
}

.first-row-container .our-loyalty-item,
.second-row-container .our-loyalty-item {
    flex: 0 1 350px;
    width: 350px;
}

.our-loyalty-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 350px;
    flex: 1;
}

.our-loyalty-item.standalone {
    justify-content: center;
    width: 100%;
    max-width: 140px;
}

.our-loyalty-item.empty {
    display: none;
}

.our-loyalty-item-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.our-loyalty-item.standalone .our-loyalty-item-image {
    width: 140px;
    height: 140px;
}

.our-loyalty-item-text {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

/* Process sekce */
.process-block {
    padding: 50px 0;
    position: relative;
    z-index: 10;
}

.process-container {
    width: 100%;
    padding: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    gap: 20px;
    align-items: stretch;
}

.process-panel {
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-panel:nth-child(1) {
    padding: 20px 40px;
    text-align: right;
}

.process-panel:nth-child(4) {
    padding: 20px 40px;
    text-align: left;
}

.process-panel:nth-child(2),
.process-panel:nth-child(3) {
    padding: 20px 15px;
    width: 250px;
}

.process-panel:nth-child(1) {
    background: #345269;
    padding: 20px 40px;
    text-align: right;
}

.process-panel:nth-child(2) {
    background: #243F54;
    text-align: center;
}

.process-panel:nth-child(3) {
    background: #1D3243;
    text-align: center;
}

.process-panel:nth-child(4) {
    background: #0E2435;
    padding: 20px 40px;
    text-align: left;
}

/* Team sekce */
.team-block {
    padding: 50px 60px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-profiles {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.team-member {
    width: 300px;
    margin: 0 -20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member:first-child {
    z-index: 2;
}

.team-member:last-child {
    z-index: 1;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.team-member-name {
    font-size: 40px;
    font-weight: 400;
    color: #333;
    text-align: center;
    margin-top: 20px;
}

.team-subtitle {
    color: #567081;
    font-family: Outfit;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 90%;
    margin-bottom: 5px;
    opacity: 0.1;
    letter-spacing: 1px;
}

.team-title {
    color: #0A1B26;
    font-family: Outfit;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 40px;
}

.team-text {
    color: #2d3748;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Story sekce */
.story-block {
    height: 500px;
    display: flex;
    position: relative;
    z-index: 10;
    margin-left: 10%;
    background: #BCC6D0;
}

.story-content {
    flex: 1;
    margin-left: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    max-width: 60%;
}

.story-faded-title {
    color: #567081;
    font-family: Outfit;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 90%;
    margin-bottom: 5px;
    opacity: 0.1;
    letter-spacing: 2px;
}

.story-main-title {
    color: #0A1B26;
    font-family: Outfit;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 40px;
}

.story-text {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    max-width: 600px;
}

.story-image {
    flex: 1;
    background: url('img/Lipan_modern_stairs.png') center/cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 400px;
}

/* New Projects sekce */
.new-projects-block {
    display: flex;
    position: relative;
    z-index: 10;
    padding: 50px 0;
}

.new-projects-visual {
    flex: 1;
    position: relative;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-projects-collage {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
}

.new-projects-image {
    position: absolute;
}

.new-projects-image-1 {
    width: 70%;
    height: 60%;
    top: 0;
    left: 0;
    background: url('img/new-projects-image-1.png') center/cover;
    z-index: 1;
}

.new-projects-image-2 {
    width: 45%;
    height: 40%;
    bottom: 20%;
    right: 1%;
    background: url('img/new-projects-image-2.png') center/cover;
    z-index: 2;
}

.new-projects-image-3 {
    width: 50%;
    height: 35%;
    bottom: 0;
    left: 15%;
    background: url('img/new-projects-image-3.png') center/cover;
    z-index: 3;
}

.new-projects-content {
    flex: 1;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

.new-projects-faded-title {
    color: #567081;
    font-family: Outfit;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: -18px;
    opacity: 0.1;
    letter-spacing: 1px;
}

.new-projects-main-title {
    color: #0A1B26;
    font-family: Outfit;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 40px;
}

.new-projects-text {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    max-width: 500px;
}

.cta-btn {
    background: #2d6987;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 0;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
    font-weight: 600;
    margin-top: 20px;
}

.cta-btn:hover {
    background: #2c5282;
}

/* Blog sekce */
.blog-block {
    padding: 50px 60px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-header {
    text-align: center;
    margin-bottom: 80px;
}

.blog-title {
    color: #567081;
    font-family: Outfit;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    opacity: 0.1;
    letter-spacing: 2px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    justify-items: center;
}

.blog-card {
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 360px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-card-content {
    padding: 30px;
}

.blog-card-title {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card-text {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card-link {
    color: #2d6987;
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-card-link:hover {
    color: #2c5282;
}

/* Contacts sekce */
.contacts-block {
    min-height: 100vh;
    padding: 50px 60px 0;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    margin: 0 auto;
    max-width: 1200px;
}

.contacts-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/business-figures-rooftop.png') center/cover;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.contacts-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.contacts-title {
    color: #567081;
    font-family: Outfit;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 -18px 0;
    opacity: 0.1;
    letter-spacing: 2px;
}

.contacts-subtitle {
    color: #0A1B26;
    font-family: Outfit;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 30px 0;
}

.contacts-email {
    color: #2d6987;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacts-email:hover {
    color: #2c5282;
}

.contacts-info {
    border-radius: 12px;
    padding: 40px 60px;
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.contacts-info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px 40px;
    align-items: start;
}

.contacts-info-label {
    color: #4a5568;
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
}

.contacts-info-value {
    color: #2d3748;
    font-size: 1rem;
    font-weight: 400;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -88px auto 0;
    position: relative;
    z-index: 20;
    width: 70%;
    max-width: 1200px;
    border-radius: 40px 40px 0 0;
    height: 88px;
}

.footer-left {
    font-size: 0.9rem;
    margin: 0 auto;
}

.footer-left a {
    color: white;
    text-decoration: underline;
}

.footer-right {
    font-size: 0.9rem;
}

.footer-right a {
    color: white;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

.process-icon {
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.process-content-wrapper {
    width: 120px;
    text-align: center;
}

.process-panel:nth-child(1) .process-content-wrapper {
    margin-left: auto;
    margin-right: 0;
}

.process-panel:nth-child(4) .process-content-wrapper {
    margin-left: 0;
    margin-right: auto;
}

.process-content-wrapper .process-icon {
    margin: 0 auto 15px auto;
}

.process-panel .process-title {
    color: white;
}

.process-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.life-experience-block {
    padding: 50px 60px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.life-experience-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
}

.life-experience-left,
.life-experience-right {
    flex: 1;
    max-width: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.life-experience-content {
    background: #BCC6D0;
    padding: 60px 60px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 840px;
    min-height: 400px;
    position: relative;
}

.life-experience-left .life-experience-content {
    grid-template-areas: 
        "content"
        "."
        "image";
}

.life-experience-right .life-experience-content {
    grid-template-areas: 
        "image"
        "."
        "content";
}

.life-experience-content-wrapper {
    max-width: 500px;
    text-align: left;
    grid-area: content;
    position: relative;
    z-index: 2;
}

.life-experience-title {
    color: #567081;
    font-family: Outfit;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 90%;
    margin-bottom: 5px;
    letter-spacing: 1px;
    opacity: 0.1;
}

.life-experience-heading {
    color: #0A1B26;
    font-family: Outfit;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 30px;
}

.life-experience-text {
    color: #000;
    font-family: Outfit;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 22px;
    margin-bottom: 15px;
}

.life-experience-list {
    color: #000;
    font-family: Outfit;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 22px;
    margin-bottom: 15px;
    list-style: none;
    padding: 0;
}

.life-experience-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0;
}

.life-experience-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2d6987;
    font-size: 1.2rem;
}

.life-experience-image {
    background: url('img/life-experience-architecture.jpg') center/cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.life-experience-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 342px;
    object-fit: cover;
    z-index: 1;
}

.life-experience-right .life-experience-image {
    left: auto;
    right: 0;
    bottom: auto;
    top: 0;
}

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }
    
    
    .nav-left, .nav-right {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .header-content {
        position: absolute;
        top: 0px;
        left: 20px;
        right: 8px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0;
    }
    
    .logo {
        margin-left: 10px;
        align-items: flex-start;
        text-align: left;
    }
    
    .logo-symbol {
        width: 120px;
        height: 120px;
        margin-bottom: 5px;
    }
    
    .logo h1 {
        color: white;
        font-size: 10px;
        font-weight: 700;
        text-shadow: none;
        margin-bottom: 2px;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }
    
    .logo p {
        color: #CCD6E0;
        font-size: 7px;
        text-shadow: none;
        margin: 0;
        line-height: 1;
    }
    
    .hamburger {
        margin-right: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero-slogan {
        font-size: 2.5rem;
    }

    .time-money-block {
        flex-direction: column;
        width: 100%;
        max-width: 100vw;
        margin: 80px 0 0 0;
        padding: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .time-money-content {
        padding: 40px 20px;
        align-items: normal;
    }

    .time-money-title {
        font-size: 52px;
    }

    .time-money-heading {
        font-size: 36px;
    }

    .time-money-text {
        font-size: 0.9rem;
    }

    .our-loyalty-block {
        padding: 80px 20px;
        width: 100%;
        max-width: 100vw;
        margin: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .our-loyalty-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .our-loyalty-item.standalone {
    justify-content: center;
    width: 100%;
    max-width: 140px;
    margin: 0 auto;
}

    .first-row-container,
    .second-row-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .our-loyalty-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        flex: 0 1 200px !important; 
        width: 200px;
        max-width: 100%;
    }

    .our-loyalty-item-text {
        order: 2;
        width: 70%;
    }

    .our-loyalty-title {
        font-size: 52px;
    }

    .our-loyalty-subtitle {
        font-size: 36px;
    }

    .life-experience-block {
        padding: 0px;
        width: 100vw;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .life-experience-container {
        flex-direction: column;
        gap: 40px;
    }

    .life-experience-left,
    .life-experience-right {
        max-width: 100%;
    }

    .life-experience-content {
        padding: 40px 30px;
        max-width: 100%;
        height: 900px;
    }

    .life-experience-title {
        font-size: 52px;
    }

    .life-experience-heading {
        font-size: 36px;
    }

    .life-experience-image {
        float: none;
        width: 100%;
        height: 200px;
        margin: 0;
        display: block;
    }

    .life-experience-text,
    .life-experience-list {
        font-size: 0.9rem;
    }

    /* Proces sekcia na mobil*/
    .process-block {
        padding: 40px 20px;
        width: 100%;
        max-width: 100vw;
        margin: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .process-container {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-panel {
        padding: 25px 20px;
        border-radius: 0;
    }

    .process-panel:nth-child(1) {
        margin-left: 0px;
    }

    .process-panel:nth-child(2), .process-panel:nth-child(3) {
        padding: 20px 15px;
        width: 100%;
    }

    .process-panel:nth-child(4) {
        margin-right: 0px;
    }

    .process-content-wrapper {
        width: 100%;
    }

    .process-icon {
        width: 80px;
        height: 80px;
    }

    /* Team sekce mobilní */
    .team-block {
        padding: 60px 20px;
        width: 100vw;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .team-subtitle {
        font-size: 52px;
    }

    .team-title {
        font-size: 36px;
    }

    .team-text {
        font-size: 1rem;
    }

    .team-member {
        width: 200px;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .team-member-name {
        font-size: 24px;
        margin-top: 15px;
    }

    /* Story sekce mobilní */
    .story-block {
        height: auto;
        min-height: 400px;
        flex-direction: column;
        width: 100vw;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .story-content {
        margin-left: 0;
        max-width: 100%;
        padding: 40px 20px;
        width: 100%;
    }

    .story-faded-title {
        font-size: 52px;
    }

    .story-main-title {
        font-size: 36px;
    }

    .story-text {
        font-size: 1rem;
    }

    .story-image {
        min-height: 300px;
        flex: none;
    }

    /* New Projects sekce mobilní */
    .new-projects-block {
        flex-direction: column;
        padding: 60px 20px;
        width: 100vw;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .new-projects-visual {
        padding: 20px;
        margin-bottom: 40px;
    }

    .new-projects-collage {
        height: 300px;
    }

    .new-projects-content {
        padding: 40px 20px;
        max-width: 100%;
        width: 100%;
    }

    .new-projects-faded-title {
        font-size: 52px;
    }

    .new-projects-main-title {
        font-size: 36px;
    }

    .new-projects-text {
        font-size: 1rem;
    }

    /* Blog sekce mobilní */
    .blog-block {
        padding: 60px 20px;
        width: 100vw;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .blog-title {
        font-size: 52px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-card-content {
        padding: 25px;
    }

    .blog-card-title {
        font-size: 1.2rem;
    }

    .blog-card-text {
        font-size: 0.9rem;
    }

    /* Contacts sekce mobilní */
    .contacts-block {
        padding: 60px 20px 0;
        width: 100vw;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .contacts-title {
        font-size: 52px;
    }

    .contacts-subtitle {
        font-size: 36px;
    }

    .contacts-email {
        font-size: 1.4rem;
    }

    .contacts-info {
        padding: 30px 20px;
        margin: 0 0 100px 0;
    }

    .contacts-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contacts-info-label {
        text-align: left;
        font-weight: 700;
    }

    .footer {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100vw;
        max-width: 100%;
        margin: -88px 0 0 0;
        box-sizing: border-box;
    }
}

/* Article Page Styles */
.article-page {
    background: #CCD6E0;
}

.article-header-container {
    background: #CCD6E0;
}

.article-header-container .header-block {
    position: relative;
}

.article-header-container .nav-link {
    color: #0A1B26;
}

.article-hero {
    width: 100%;
    max-width: 940px;
    margin: 40px auto 0;
    position: relative;
}

.article-hero-image {
    width: 100%;
    height: auto;
    display: block;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 25%);
}

.article-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 60px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-title {
    color: #0A1B26;
    font-family: Outfit;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    text-align: center;
}

.article-subtitle {
    color: #0A1B26;
    font-family: Outfit;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 40px;
    text-align: center;
}

.article-text {
    color: #2d3748;
    font-family: Outfit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.article-footer {
    position: relative;
}

@media (max-width: 768px) {
    .article-hero {
        margin: 160px auto 0;
        padding: 0 20px;
    }

    .article-hero-image {
        clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 15%);
    }

    .article-content {
        margin: 40px auto;
        padding: 0 20px;
    }

    .article-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .article-subtitle {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .article-text {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }

    .article-footer {
        margin-top: -60px;
    }
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 20px;
}

.language-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.language-link:hover {
    opacity: 0.7;
}

.flag-icon {
    width: 24px;
}

/* Mobile styles for language switcher */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
    }
    
    .flag-icon {
        width: 20px;
    }
}

/* Mobile language switcher in mobile menu */
.mobile-language-switcher {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-language-switcher .language-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mobile-language-switcher .language-link:hover {
    opacity: 0.7;
}

.mobile-language-switcher .flag-icon {
    width: 24px;
}
