/* Start custom CSS for html, class: .elementor-element-934003f *//* Zabezpieczenie liczenia szerokości dla wszystkich elementów */
.o12-page-wrapper, .o12-page-wrapper * {
    box-sizing: border-box;
}

/* Tło i ustawienie całej strony */
.o12-fullscreen-bg {
    min-height: 100vh;
    width: 100%;
    background: #f0f0f0 url('https://www.transparenttextures.com/patterns/cubes.png');
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    /* Usunięto overflow: hidden, aby nie psuć przyklejonego paska (sticky) */
}

.o12-page-wrapper {
    width: 100%;
    max-width: 1300px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border-radius: 2px;
}

.o12-main-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
}

/* Treść Główna */
.o12-content-area {
    flex: 2;
    padding: 60px;
    min-width: 0;
}

.o12-h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 300;
    letter-spacing: -1px;
}

.o12-divider {
    width: 60px;
    height: 4px;
    background: #c5a059;
    margin: 20px 0 40px 0;
}

.o12-p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.o12-lead {
    font-size: 1.15rem;
    color: #222;
}

/* Siatka (Grid) */
.o12-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.o12-grid-item {
    display: flex;
    align-items: flex-start;
    background: #fbfbfb;
    padding: 15px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.o12-grid-item:hover {
    border-color: #c5a059;
    transform: translateY(-3px);
}

.o12-icon {
    color: #c5a059;
    margin-right: 15px;
    font-size: 1.2rem;
}

.o12-footer-note {
    background: #1a1a1a;
    color: #fff;
    padding: 30px;
    border-left: 6px solid #c5a059;
    margin-top: 40px;
    font-style: italic;
    line-height: 1.6;
}

/* Panel Boczny (NAPRAWIONE STICKY) */
.o12-sidebar {
    flex: 1;
    background: #1a1a1a;
    min-width: 350px;
    position: relative;
}

.o12-sidebar-inner {
    padding: 60px 40px;
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
}

.o12-h2 {
    font-size: 1.8rem;
    color: #c5a059;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.o12-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 1px;
}

.o12-name {
    font-size: 2rem;
    margin: 5px 0 40px 0;
    font-weight: 400;
    color: #fff;
}

.o12-contact-links .o12-a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: 0.3s;
}

.o12-contact-links .o12-a:hover {
    color: #c5a059;
    padding-left: 5px;
}

.o12-btn-main {
    display: block;
    margin-top: 40px;
    padding: 15px 30px;
    background: #c5a059 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
    text-align: center;
}

.o12-btn-main:hover {
    background: #e0b96d !important;
    color: #fff !important;
}

/* =========================================
   RWD - NAPRAWIONE DLA URZĄDZEŃ MOBILNYCH
   ========================================= */

/* Wymuszenie łamania kolumn poniżej 950px */
@media (max-width: 950px) {
    .o12-main-container { 
        flex-direction: column !important; /* To ułoży kontakt pod tekstem */
        display: flex !important;
    }
    
    .o12-content-area { 
        width: 100% !important; 
        padding: 40px !important; 
        order: 1 !important; 
    }

    .o12-sidebar { 
        width: 100% !important; 
        min-width: 0 !important; /* Zdejmujemy sztywne 350px */
        order: 2 !important; 
    }
    
    .o12-sidebar-inner { 
        position: static !important; /* Wyłączamy sticky na telefonie */
        padding: 40px !important; 
    }
}

/* Małe tablety i duże telefony (do 768px) */
@media (max-width: 768px) {
    .o12-h1 { font-size: 2rem; }
    .o12-grid-list { grid-template-columns: 1fr; }
    .o12-name { font-size: 1.8rem; }
}

/* Smartfony (do 480px) */
@media (max-width: 480px) {
    .o12-content-area { padding: 20px !important; }
    .o12-sidebar-inner { padding: 30px 20px !important; }
    .o12-h1 { font-size: 1.6rem; }
    .o12-h2 { font-size: 1.5rem; margin-bottom: 30px; }
    .o12-lead { font-size: 1.05rem; }
    .o12-p { font-size: 0.95rem; text-align: left; } 
    .o12-footer-note { padding: 20px; font-size: 0.95rem; }
    .o12-contact-links .o12-a { font-size: 1.1rem; }
}/* End custom CSS */