/* OKNOTERM: wygląd strony. Klasy ot- wpisuje się w polu Klasa CSS modułu, wiersza lub sekcji Divi.
   Bez klasy moduł wraca do zwykłego wyglądu Divi i dalej działa. */

/* Fonty lokalne */
@font-face{font-family:"Archivo";src:url(fonts/archivo-latin-wdth-normal.woff2) format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Archivo";src:url(fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";src:url(fonts/inter-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";src:url(fonts/inter-latin-ext-400-normal.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";src:url(fonts/inter-latin-600-normal.woff2) format("woff2");font-weight:600 700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";src:url(fonts/inter-latin-ext-600-normal.woff2) format("woff2");font-weight:600 700;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* Zmienne globalne Divi 5: fonty i kolory z księgi znaku (wygrywają z domyślnymi) */
html:root{--et_global_heading_font:"Archivo";--et_global_body_font:"Inter";--et_global_heading_font_weight:800;--et_global_body_font_weight:400;--et_global_body_font_size:16px;--et_global_body_font_height:1.55em;--gcid-primary-color:#D9241B;--gcid-secondary-color:#383E42;--gcid-heading-color:#1D1D1B;--gcid-body-color:#1D1D1B;--gcid-link-color:#D9241B}

/* Kolory i miary z księgi znaku */
:root{
	--ot-red:#D9241B;
	--ot-red-dark:#B81D15;
	--ot-black:#1D1D1B;
	--ot-antracyt:#383E42;
	--ot-biel:#F1F0EA;
	--ot-szary:#E4E3DE;
	--ot-szary-tekst:#5B6266;
	--ot-radius:6px;
	--ot-head:"Archivo",system-ui,sans-serif;
	--ot-body:"Inter",system-ui,sans-serif;
}

/* Podstawy */
body{font-family:var(--ot-body);color:var(--ot-black);background:var(--ot-biel);-webkit-font-smoothing:antialiased}
body #page-container{background:var(--ot-biel)}
h1,h2,h3,h4,.ot-wide{font-family:var(--ot-head);font-stretch:125%;font-weight:800;text-transform:uppercase;letter-spacing:-.005em;line-height:1.05;color:inherit}
h1{font-size:clamp(30px,4.2vw,50px);line-height:1.02}
h2{font-size:clamp(26px,3vw,40px)}
h3{font-size:clamp(17px,1.6vw,22px)}
a{color:var(--ot-black)}
a:hover{color:var(--ot-red)}
:focus-visible{outline:3px solid var(--ot-red);outline-offset:2px}

/* Nadtytuł nad nagłówkiem: moduł Tekst z klasą ot-eyebrow */
.ot-eyebrow,.ot-eyebrow p{font-family:var(--ot-head);font-stretch:112%;font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--ot-red);margin-bottom:10px}

/* Przyciski: moduł Przycisk z klasą ot-btn (czerwony), ot-btn-outline (obrys), ot-btn-light (jasny) */
.ot-btn .et_pb_button,.et_pb_button.ot-btn,
.ot-btn-outline .et_pb_button,.et_pb_button.ot-btn-outline,
.ot-btn-light .et_pb_button,.et_pb_button.ot-btn-light{
	font-family:var(--ot-head)!important;font-stretch:112%;font-weight:700!important;font-size:15px!important;letter-spacing:.04em!important;text-transform:uppercase!important;
	border-radius:4px!important;padding:16px 26px!important;line-height:1.2!important;border-width:2px!important;transition:background .15s,color .15s,border-color .15s;display:inline-flex;align-items:center;gap:10px
}
.ot-btn .et_pb_button,.et_pb_button.ot-btn{background:var(--ot-red)!important;border-color:var(--ot-red)!important;color:#fff!important}
.ot-btn .et_pb_button:hover,.et_pb_button.ot-btn:hover{background:var(--ot-red-dark)!important;border-color:var(--ot-red-dark)!important}
.ot-btn-outline .et_pb_button,.et_pb_button.ot-btn-outline{background:transparent!important;border-color:var(--ot-black)!important;color:var(--ot-black)!important}
.ot-btn-outline .et_pb_button:hover,.et_pb_button.ot-btn-outline:hover{background:var(--ot-black)!important;color:#fff!important}
.ot-btn-light .et_pb_button,.et_pb_button.ot-btn-light{background:var(--ot-biel)!important;border-color:var(--ot-biel)!important;color:var(--ot-black)!important}
.ot-btn .et_pb_button:after,.ot-btn-outline .et_pb_button:after,.ot-btn-light .et_pb_button:after{display:none!important}
/* Ikona telefonu przed tekstem przycisku: dodatkowa klasa ot-tel */
.ot-tel .et_pb_button:before{content:"";display:inline-block!important;position:static!important;opacity:1!important;margin:0!important;width:18px;height:18px;background:currentColor;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center/contain no-repeat}

/* Górny pasek: sekcja z klasą ot-topbar */
.ot-topbar{background:var(--ot-black)!important;color:var(--ot-szary);font-size:13px}
.ot-topbar a{color:#fff;font-weight:600}
.ot-topbar p{padding:0}
@media (max-width:980px){.ot-topbar{display:none!important}}

/* Nagłówek: sekcja z klasą ot-header, przykleja się i zmniejsza po przewinięciu */
.ot-header{background:#fff!important;border-bottom:1px solid var(--ot-szary);position:sticky;top:0;z-index:99;transition:padding .2s}
.admin-bar .ot-header{top:32px}
.ot-header.ot-scrolled{padding-top:0!important;padding-bottom:0!important}
.ot-header .et_pb_menu__logo img{max-height:30px;width:auto}
@media (max-width:980px){.ot-header .et_pb_menu__logo img{max-height:21px}}

/* Menu: moduł Menu z klasą ot-menu */
.ot-menu .et-menu>li>a{font-family:var(--ot-head);font-stretch:112%;font-weight:600;font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:var(--ot-black)}
.ot-menu .et-menu>li.current-menu-item>a,.ot-menu .et-menu>li.current-menu-ancestor>a,.ot-menu .et-menu>li>a:hover{color:var(--ot-red)}
.ot-menu .et-menu>li.menu-item-has-children>a:after{color:currentColor}

/* Mega menu: pozycji Produkty w Wygląd, Menu dajemy klasę mega-menu (wbudowana w Divi) */
.ot-menu .et-menu .mega-menu>.sub-menu{border-top:1px solid var(--ot-szary)!important;box-shadow:0 24px 40px rgba(29,29,27,.2);padding:32px 24px 36px!important;background:#fff}
.ot-menu .et-menu .mega-menu>.sub-menu>li>a{font-family:var(--ot-head);font-stretch:125%;font-weight:800;font-size:15px;text-transform:uppercase;color:var(--ot-black)!important;padding-top:66px!important;position:relative}
.ot-menu .et-menu .mega-menu>.sub-menu>li>.sub-menu li a{font-size:14px;color:var(--ot-antracyt);padding:5px 0!important}
.ot-menu .et-menu .mega-menu>.sub-menu>li>.sub-menu li a:hover{color:var(--ot-red)}

/* Ikony pozycji menu i kafli: klasa ot-ico-nazwa na pozycji menu albo module */
[class*="ot-ico-"]>a:before{content:"";position:absolute;left:0;top:0;width:52px;height:52px;border-radius:8px;background:var(--ot-biel) center/30px no-repeat}
.ot-ico-okna>a:before{background-image:url(icons/ikona-okna.png)!important}
.ot-ico-drzwi>a:before{background-image:url(icons/ikona-drzwi.png)!important}
.ot-ico-systemy-przesuwne>a:before{background-image:url(icons/ikona-systemy-przesuwne.png)!important}
.ot-ico-oslony-okienne>a:before{background-image:url(icons/ikona-oslony-okienne.png)!important}
.ot-ico-bramy>a:before{background-image:url(icons/ikona-bramy.png)!important}
.ot-ico-moskitiery>a:before{background-image:url(icons/ikona-moskitiery.png)!important}

/* Menu mobilne Divi */
.ot-menu .et_mobile_nav_menu .mobile_nav .mobile_menu_bar:before{color:var(--ot-black);font-size:34px}
.ot-menu .et_mobile_menu{border-top:2px solid var(--ot-red)!important;padding:8px 20px 20px!important;max-height:calc(100vh - 64px);overflow-y:auto}
.ot-menu .et_mobile_menu li a{font-family:var(--ot-head);font-stretch:112%;font-weight:700;font-size:16px;text-transform:uppercase;padding:13px 0!important;border-bottom:1px solid var(--ot-szary)}
.ot-menu .et_mobile_menu li li a{font-family:var(--ot-body);font-stretch:100%;font-weight:600;text-transform:none;font-size:15px;padding:11px 0 11px 46px!important;position:relative}
.ot-menu .et_mobile_menu [class*="ot-ico-"]>a:before{width:34px;height:34px;top:5px;background-size:22px}
.ot-menu .et_mobile_menu li li li a{font-weight:400;padding-left:60px!important;border-bottom:0}

/* Slider na stronie głównej: moduł Slider z klasą ot-hero */
.ot-hero .et_pb_slide{padding:0!important}
.ot-hero .et_pb_container{height:680px!important;display:flex;align-items:flex-end;padding-bottom:56px}
.ot-hero .et_pb_slider_container_inner{width:100%}
.ot-hero .et_pb_slide_description{background:var(--ot-biel);max-width:600px;padding:44px 48px 48px!important;border-radius:var(--ot-radius);text-align:left!important;text-shadow:none!important}
.ot-hero .et_pb_slide_title{font-family:var(--ot-head);font-stretch:125%;font-weight:800;font-size:clamp(30px,4vw,48px)!important;line-height:1.02!important;text-transform:uppercase;color:var(--ot-black)!important;padding-bottom:18px!important}
.ot-hero .et_pb_slide_content{color:var(--ot-antracyt)!important;font-size:17px!important;text-shadow:none!important}
.ot-hero .et_pb_slide_content strong,.ot-hero .et_pb_slide_title em{color:var(--ot-red);font-style:normal;font-weight:inherit}
.ot-hero .et-pb-controllers a{background:#fff;width:22px;height:4px;border-radius:2px}
.ot-hero .et-pb-controllers .et-pb-active-control{background:var(--ot-red)}
@media (max-width:767px){
	.ot-hero .et_pb_container{height:auto!important;display:block;padding:0}
	.ot-hero .et_pb_slide{display:flex;flex-direction:column}
	.ot-hero .et_pb_slide_description{max-width:none;border-radius:0;padding:28px 20px 32px!important;margin-top:320px}
	.ot-hero .et_pb_slide_title{font-size:30px!important}
}

/* Pasek faktów: moduły Blurb z klasą ot-fact */
.ot-fact .et_pb_blurb_content{display:flex;gap:16px;align-items:center;max-width:none}
.ot-fact .et_pb_main_blurb_image{margin:0!important;width:40px;flex:none}
.ot-fact .et_pb_module_header{font-family:var(--ot-head);font-stretch:125%;font-weight:800;font-size:clamp(18px,2vw,28px)!important;padding:0!important;line-height:1.05}
.ot-fact .et_pb_blurb_description{font-size:14px;color:var(--ot-szary-tekst)}

/* Lista produktów z ikonami: moduł Blurb z klasą ot-prod i ot-ico-nazwa.
   Obraz modułu to zdjęcie produktu, które pojawia się po najechaniu kursorem. */
.ot-prod{border-bottom:1px solid #C9CBC8;margin:0!important;transition:background .15s}
.ot-prod:first-child{border-top:2px solid var(--ot-black)}
.ot-prod .et_pb_blurb_content{display:flex;align-items:center;gap:24px;max-width:none;padding:20px 52px 20px 64px;position:relative;min-height:92px;box-sizing:border-box}
.ot-prod .et_pb_blurb_content:before{content:"";position:absolute;left:4px;top:50%;width:40px;height:40px;transform:translateY(-50%);background:center/contain no-repeat}
.ot-prod .et_pb_blurb_content:after{content:"";position:absolute;right:8px;top:50%;width:22px;height:22px;transform:translateY(-50%);background:currentColor;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.ot-prod.ot-ico-okna .et_pb_blurb_content:before{background-image:url(icons/ikona-okna.png)}
.ot-prod.ot-ico-drzwi .et_pb_blurb_content:before{background-image:url(icons/ikona-drzwi.png)}
.ot-prod.ot-ico-systemy-przesuwne .et_pb_blurb_content:before{background-image:url(icons/ikona-systemy-przesuwne.png)}
.ot-prod.ot-ico-oslony-okienne .et_pb_blurb_content:before{background-image:url(icons/ikona-oslony-okienne.png)}
.ot-prod.ot-ico-bramy .et_pb_blurb_content:before{background-image:url(icons/ikona-bramy.png)}
.ot-prod.ot-ico-moskitiery .et_pb_blurb_content:before{background-image:url(icons/ikona-moskitiery.png)}
.ot-prod .et_pb_blurb_container{flex:1;min-width:0;padding:0!important}
.ot-prod .et_pb_module_header{font-family:var(--ot-head);font-stretch:125%;font-weight:800;font-size:clamp(18px,2vw,26px)!important;padding:0 0 2px!important;line-height:1.1}
.ot-prod .et_pb_module_header a{color:inherit}
.ot-prod .et_pb_blurb_description{font-size:14px;color:var(--ot-szary-tekst)}
.ot-prod .et_pb_main_blurb_image{order:2;margin:0!important;width:0;max-width:132px!important;overflow:hidden;transition:width .2s;flex:none}
.ot-prod .et_pb_main_blurb_image img{width:132px;height:80px;object-fit:cover;border-radius:4px;max-width:none}
.ot-prod:hover{background:#fff}
.ot-prod:hover .et_pb_module_header{color:var(--ot-red)}
@media (hover:hover) and (min-width:981px){.ot-prod:hover .et_pb_main_blurb_image{width:132px}}
@media (max-width:767px){
	.ot-prod .et_pb_blurb_content{padding:14px 36px 14px 46px;min-height:64px}
	.ot-prod .et_pb_blurb_content:before{width:30px;height:30px}
	.ot-prod .et_pb_blurb_description{display:none}
	.ot-prod .et_pb_main_blurb_image{display:none}
}

/* Karty: zdjęcie, etykiety, tytuł. Moduł Blurb z klasą ot-card (kategorie, realizacje) */
.ot-card{background:#fff;border-radius:var(--ot-radius);overflow:hidden}
.ot-card .et_pb_main_blurb_image{margin:0!important;max-width:none!important;width:100%}
.ot-card .et_pb_main_blurb_image img{width:100%;aspect-ratio:4/3;object-fit:cover}
.ot-card .et_pb_blurb_container{padding:20px 22px 24px!important;text-align:left}
.ot-card .et_pb_module_header{font-stretch:112%;font-size:18px!important;line-height:1.2}
.ot-card .et_pb_blurb_description{font-size:14px;color:var(--ot-szary-tekst)}

/* Etykieta miejscowości na zdjęciu: moduł Tekst z klasą ot-chip */
.ot-chip{display:inline-block;background:var(--ot-black);color:#fff;font-size:12px;padding:4px 10px;border-radius:4px}

/* Kroki z numeracją: moduły Blurb z klasą ot-step, numery dopisują się same */
.ot-steps{counter-reset:ot-step}
.ot-step{background:var(--ot-biel);border-radius:var(--ot-radius);padding:28px 26px 30px;counter-increment:ot-step;position:relative}
.ot-step:after{content:counter(ot-step,decimal-leading-zero);position:absolute;right:24px;top:24px;font-family:var(--ot-head);font-stretch:125%;font-weight:800;font-size:28px;color:#C9CBC8}
.ot-step .et_pb_main_blurb_image{margin:0 0 26px!important;width:40px}
.ot-step .et_pb_module_header{font-stretch:112%;font-size:18px!important}
.ot-step-dark{background:var(--ot-antracyt);color:#fff}
.ot-step-dark:after{color:var(--ot-red)}

/* Pytania i odpowiedzi: moduły Przełącznik w wierszu lub sekcji z klasą ot-faq */
.ot-faq .et_pb_toggle{background:#fff!important;border:0!important;border-bottom:1px solid var(--ot-szary)!important;border-radius:0;margin:0!important;padding:22px 56px 22px 0!important}
.ot-faq .et_pb_toggle:first-of-type{border-top:2px solid var(--ot-black)!important}
.ot-faq .et_pb_toggle_title{font-family:var(--ot-head);font-stretch:112%;font-weight:700;font-size:17px!important;text-transform:none;letter-spacing:0;line-height:1.35;color:var(--ot-black)!important;padding:0 0 0 20px!important}
.ot-faq .et_pb_toggle_title:before{content:"+"!important;font-family:var(--ot-body)!important;font-size:28px!important;color:var(--ot-red)!important;right:-40px!important;margin-top:-16px!important}
.ot-faq .et_pb_toggle_open .et_pb_toggle_title:before{content:"−"!important;display:block!important}
.ot-faq .et_pb_toggle_content{padding:12px 0 0 20px!important;font-size:16px;color:var(--ot-antracyt);max-width:760px}

/* Pas CTA nad stopką: sekcja z klasą ot-cta */
.ot-cta{background:var(--ot-red)!important;color:#fff}
.ot-cta h2,.ot-cta p,.ot-cta a{color:#fff}

/* Stopka: sekcja z klasą ot-footer */
.ot-footer{background:var(--ot-antracyt)!important;color:var(--ot-szary);font-size:15px}
.ot-footer h4,.ot-footer .et_pb_module_header{font-stretch:112%;font-size:14px!important;letter-spacing:.08em;color:#fff}
.ot-footer a{color:#fff}
.ot-footer a:hover{color:#F07A73}
.ot-footer-bottom{background:var(--ot-black)!important;color:#A3A8A6;font-size:13px}

/* Belka Zadzwoń na telefonach: sekcja z klasą ot-callbar w szablonie stopki */
.ot-callbar{display:none!important}
@media (max-width:980px){
	.ot-callbar{display:grid!important;grid-template-columns:2fr 1fr;position:fixed!important;left:0;right:0;bottom:0;z-index:9990;height:64px;padding:0!important;margin:0!important;background:var(--ot-black)!important;transform:translateY(100%);transition:transform .25s ease;width:100%!important;max-width:none!important}
	.ot-callbar .et_pb_row,.ot-callbar .et_pb_column{display:contents}
	.ot-callbar .et_pb_button_module_wrapper{margin:0!important;height:64px}
	.ot-callbar .et_pb_button{width:100%;height:64px;border-radius:0!important;justify-content:center;padding:0!important}
	body.ot-show-callbar .ot-callbar{transform:none}
	body.ot-show-callbar{padding-bottom:64px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* Dodatki */
.ot-btn-dark .et_pb_button,.et_pb_button.ot-btn-dark{font-family:var(--ot-head)!important;font-stretch:112%;font-weight:700!important;font-size:15px!important;text-transform:uppercase!important;background:var(--ot-antracyt)!important;border:0!important;color:#fff!important;border-radius:4px!important}
.ot-btn-dark .et_pb_button:after{display:none!important}
.ot-rounded img{border-radius:var(--ot-radius)}
.ot-header-cta{justify-content:center;align-items:flex-end}
.ot-cta .et_pb_button_module_wrapper{display:inline-block;margin:0 10px 10px 0}
