/* === ZÁKLADNÉ NASTAVENIA, FONT A FARBY === */
#html_custom_template {
--orange: #ff6600;
--light-bg: #f9fafb;
--white: #ffffff;
--text-dark: #1f2937;
--text-secondary: #6b7280;
--border-color: #e5e7eb;
}

#html_custom_template body {
margin: 0;
font-family: 'Inter', sans-serif;
background-color: transparent;
color: var(--text-dark);
overflow-x: hidden;
}

#html_custom_template .showroom-section *, #html_custom_template .showroom-section *:before, #html_custom_template .showroom-section *:after {
box-sizing: border-box;
}

/* Kľúčové pre správne odsadenie zhora */
#html_custom_template .showroom-section {
font-family: 'Inter', sans-serif;
background-color: transparent;
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 40px 0;
overflow-x: hidden;
}

#html_custom_template .page-wrapper {
width: 100%;
max-width: 1300px;
margin: 0 auto;
padding: 0 20px;
overflow: hidden;
}

#html_custom_template .section-spacer { margin-top: 80px; }

/* === NADPISY === */
#html_custom_template .page-header {
text-align: center;
margin-bottom: 50px;
}
#html_custom_template .page-header h1 { font-size: clamp(2.5rem, 5vw, 3rem); font-weight: 800; color: var(--text-dark); line-height: 1.2; margin-bottom: 15px; }
#html_custom_template .page-header h1 span { color: var(--orange); }
#html_custom_template .page-header p { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--text-secondary); max-width: 700px; margin: 0 auto; line-height: 1.6; }

/* === MRIEŽKY S KARTAMI === */
#html_custom_template .wide-grid, #html_custom_template .pillars-grid {
display: flex;
flex-wrap: wrap;
gap: 32px;
}

#html_custom_template .wide-card, #html_custom_template .pillar-card {
background-color: var(--white);
border-radius: 24px;
border: 1px solid var(--border-color);
display: flex;
flex-direction: column;
text-decoration: none;
transition: transform 0.3s ease, box-shadow 0.3s ease;
flex-grow: 1;
flex-basis: 400px;
}
#html_custom_template .wide-card:hover, #html_custom_template .pillar-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Štýly pre .wide-card */
#html_custom_template .wide-card__header { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 35px; }
#html_custom_template .wide-card__icon-wrapper { width: 60px; height: 60px; background-color: #fff5eb; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
#html_custom_template .wide-card__icon-wrapper .icon { width: 32px; height: 32px; color: var(--orange); }
#html_custom_template .wide-card__title { font-size: 1.8rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; margin-top:0; }
#html_custom_template .wide-card__description { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; padding: 0 35px 30px 35px; border-bottom: 1px solid #f0f0f0; margin-bottom: 0; }
#html_custom_template .wide-card__links { list-style: none !important; padding: 15px 35px 30px 35px !important; margin: 0 !important; flex-grow: 1; }
#html_custom_template .wide-card__links li { list-style-type: none !important; background-image: none !important; padding-left: 0 !important; }
#html_custom_template .wide-card__links li a { display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 15px 0 !important; font-size: 1.05rem !important; font-weight: 500 !important; color: #3e8edd !important; text-decoration: none !important; border-bottom: 1px solid #f7f7f7; transition: color 0.2s ease, padding-left 0.2s ease; }
#html_custom_template .wide-card__links li:last-child a { border-bottom: none; }
#html_custom_template .wide-card__links li a:hover { color: var(--orange); padding-left: 10px; }
#html_custom_template .wide-card__links li a .arrow-icon { width: 22px !important; height: 22px !important; flex-shrink: 0 !important; transition: transform 0.2s ease; }
#html_custom_template .wide-card__links li a:hover .arrow-icon { transform: translateX(5px); }

/* Štýly pre .pillar-card */
#html_custom_template .pillars-section-header { text-align: center; margin-bottom: 50px; }
#html_custom_template .pillars-section-header h2 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; margin: 0 0 10px 0; letter-spacing: -0.025em; line-height: 1.2; color: #000000; }
#html_custom_template .pillars-section-header h2 span { color: var(--orange); }
#html_custom_template .pillars-section-header p { font-size: 1.15rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; line-height: 1.6; }
#html_custom_template .pillar-card { border-radius: 20px; padding: 35px; color: var(--text-dark); }
#html_custom_template .pillar-card__icon { width: 50px; height: 50px; margin-bottom: 25px; color: var(--orange); }
#html_custom_template .pillar-card__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; margin-top: 0;}
#html_custom_template .pillar-card__description { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
#html_custom_template .pillar-card__link { font-size: 1rem; font-weight: 600; color: var(--orange); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.2s ease; }
#html_custom_template .pillar-card__link:hover { gap: 12px; }
#html_custom_template .pillar-card__link svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
#html_custom_template .pillar-card__link:hover svg { transform: translateX(4px); }

/* === OSTATNÉ SEKCIE === */
#html_custom_template .brands-section { background-color: var(--white); border-radius: 24px; padding: 40px; text-align: center; border: 1px solid var(--border-color); }
#html_custom_template .brands-section h2 { font-size: 1.8rem; font-weight: 700; color: var(--text-dark); margin-top: 0; margin-bottom: 30px; }
#html_custom_template .main-brands { margin: 0 auto 30px auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; background-color: #fafafa; padding: 20px; border-radius: 16px; }
#html_custom_template .main-brands a { font-size: 1.5rem; font-weight: 600; color: var(--text-dark); text-decoration: none; padding: 10px 20px; transition: color 0.2s ease; }
#html_custom_template .main-brands a:hover { color: var(--orange); }
#html_custom_template .other-brands { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; max-width: 800px; margin: 0 auto; }

#html_custom_template .showrooms-header { text-align: center; margin-bottom: 40px; }
#html_custom_template .showrooms-header h2 { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); margin-top: 0; margin-bottom: 15px; }
#html_custom_template .showrooms-header .sub-headline { font-size: 1.5rem; color: var(--orange); font-weight: 700; line-height: 1.5; }
#html_custom_template .showrooms-header .sub-headline span { display: block; margin-top: 8px; font-weight: 400; color: var(--text-secondary); font-size: 1.15rem; }
#html_custom_template .showroom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
#html_custom_template .showroom-card { background-color: var(--white); border-radius: 24px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
#html_custom_template .showroom-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
#html_custom_template .showroom-card__image { width: 100%; height: 220px; object-fit: cover; }
#html_custom_template .showroom-card__content { padding: 25px; flex-grow: 1; }
#html_custom_template .showroom-card__title { font-size: 1.15rem; font-weight: 600; color: var(--text-dark); margin-top: 0; margin-bottom: 8px; }
#html_custom_template .showroom-card__address { font-size: 1rem; color: var(--text-secondary); line-height: 1.5; margin: 0;}

#html_custom_template .feature-block-split { background-color: var(--white); border-radius: 24px; display: flex; align-items: stretch; overflow: hidden; border: 1px solid var(--border-color); }
#html_custom_template .feature-block-split--reversed { flex-direction: row-reverse; }
#html_custom_template .feature-block-split__image { flex: 1 1 45%; min-height: 400px; }
#html_custom_template .feature-block-split__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
#html_custom_template .feature-block-split__text { flex: 1 1 55%; padding: 5%; display: flex; flex-direction: column; justify-content: center; }
#html_custom_template .feature-block-split__text h2 { font-size: 2rem; font-weight: 700; color: var(--text-dark); margin-top: 0; margin-bottom: 20px; line-height: 1.3; }
#html_custom_template .feature-block-split__text p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
#html_custom_template .feature-block-split__text p:last-child { margin-bottom: 0; }
#html_custom_template .feature-block-split__text .highlight { color: var(--orange); font-weight: 600; }

/* B2B Sekcia */
#html_custom_template .b2b-section {
background-color: var(--text-dark);
color: var(--white);
text-align: center;
padding: 60px 40px;
border-radius: 24px;
}
#html_custom_template .b2b-section h2 {
font-size: 2.2rem;
font-weight: 700;
margin-top: 0;
margin-bottom: 20px;
color: var(--white);
line-height: 1.3;
}
#html_custom_template .b2b-section p {
font-size: 1.1rem;
max-width: 650px;
margin: 0 auto 30px auto;
line-height: 1.7;
opacity: 0.9;
}
#html_custom_template .b2b-section .cta-button {
display: inline-block;
background-color: var(--orange);
color: var(--white);
font-size: 1.1rem;
font-weight: 600;
text-decoration: none;
padding: 15px 35px;
border-radius: 12px;
transition: background-color 0.3s ease, transform 0.3s ease;
}
#html_custom_template .b2b-section .cta-button:hover {
background-color: #e65c00; /* Tmavší odtieň oranžovej */
transform: translateY(-3px);
}

#html_custom_template .contact-block { background-color: var(--white); border-radius: 24px; display: flex; overflow: hidden; border: 1px solid var(--border-color); }
#html_custom_template .contact-block__image { flex: 1 1 40%; }
#html_custom_template .contact-block__image img { width: 100%; height: 100%; object-fit: cover; }
#html_custom_template .contact-block__text { flex: 1 1 60%; padding: 40px; }
#html_custom_template .contact-block__text > h2 { font-size: 2rem; font-weight: 700; margin-bottom: 5px; line-height: 1.3; }
#html_custom_template .contact-block__text > h2 span { font-size: 1.2rem; color: var(--text-secondary); font-weight: 400; display: block; margin-top: 10px; }

#html_custom_template .contact-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; margin-top: 20px; }
#html_custom_template .contact-main-item h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 5px 0; color: var(--text-dark); }
#html_custom_template .contact-main-item .phone { display: block; font-size: 1.5rem; font-weight: 700; color: var(--orange); margin-bottom: 5px; text-decoration: none;}
#html_custom_template .contact-main-item a { color: #3e8edd; text-decoration: none; }
#html_custom_template .contact-main-item a:hover { text-decoration: underline; }
#html_custom_template .contact-main-item p { font-size: 0.9rem; color: var(--text-secondary); margin: 10px 0 0 0; line-height: 1.5; }

#html_custom_template .contact-secondary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 30px; padding-top: 30px; border-top: 1px solid var(--border-color); }
#html_custom_template .contact-secondary-item h3 { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; }
#html_custom_template .contact-secondary-item a { color: #3e8edd; text-decoration: none; font-size: 1rem; }
#html_custom_template .contact-secondary-item a:hover { text-decoration: underline; }

#html_custom_template .feedback-section { border-top: 1px solid #f0f0f0; padding-top: 25px; margin-top: 25px; }
#html_custom_template .feedback-section h3 { font-size: 1.1rem; font-weight: 600; color: var(--orange); margin-top: 0; margin-bottom: 5px; }
#html_custom_template .feedback-section p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-top: 0; margin-bottom: 10px; }
#html_custom_template .feedback-section a { color: #3e8edd; font-size: 1rem; }

#html_custom_template .lang-section { display: flex !important; align-items: flex-start !important; gap: 15px !important; margin-top: 20px !important; }
#html_custom_template .lang-section img { width: 30px !important; height: auto !important; flex-shrink: 0 !important; margin-top: 3px; }
#html_custom_template .lang-section div h3 { color: var(--text-dark) !important; font-size: 1rem !important; margin-top: 0 !important; margin-bottom: 5px !important; }
#html_custom_template .lang-section div p { font-size: 0.9rem !important; color: var(--text-secondary) !important; margin-top: 0 !important; }

#html_custom_template .page-footer { text-align: center; padding: 30px 20px; margin-top: 80px; border-top: 1px solid var(--border-color); font-size: 0.9rem; color: var(--text-secondary); }
#html_custom_template .page-footer a { color: #3e8edd; text-decoration: none; }
#html_custom_template .page-footer a:hover { text-decoration: underline; }

/* === RESPONZIVITA === */
@media (max-width: 992px) {
#html_custom_template .wide-grid {
flex-direction: column;
}
#html_custom_template .feature-block-split, #html_custom_template .feature-block-split--reversed, #html_custom_template .contact-block {
flex-direction: column;
}
}
@media (max-width: 768px) {
#html_custom_template .main-brands { flex-direction: column; gap: 0; }
#html_custom_template .main-brands a { margin: 0; }
#html_custom_template .page-header h1, #html_custom_template .brands-section h2, #html_custom_template .pillars-section-header h2, #html_custom_template .showrooms-header h2, #html_custom_template .b2b-section h2 {
font-size: 1.8rem;
line-height: 1.4;
}
#html_custom_template .contact-block__text > h2 {
font-size: 1.8rem;
line-height: 1.4;
}
#html_custom_template .contact-main-grid, #html_custom_template .contact-secondary-grid {
grid-template-columns: 1fr;
}
}
