/* Kancelaria Lewandowski - styl przepisany z motywu WordPress my_theme_2021 + ustawień Elementora. */
@font-face{font-family:'Lato';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/lato-300-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Lato';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/lato-300-latin.woff2) format('woff2');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:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/lato-400-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/lato-400-latin.woff2) format('woff2');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:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/lato-700-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/lato-700-latin.woff2) format('woff2');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:'Lato';font-style:normal;font-weight:900;font-display:swap;src:url(/fonts/lato-900-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Lato';font-style:normal;font-weight:900;font-display:swap;src:url(/fonts/lato-900-latin.woff2) format('woff2');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:'Marcellus';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/marcellus-400-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Marcellus';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/marcellus-400-latin.woff2) format('woff2');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}

:root {
  --primary: #E8BF6B;
  --primary-hover: #EDB84C;
  --secondary: #323848;
  --text: #1B1B1B;
  --light: #EAEDF0;
  --nav-bg: #1C2637;
  --grid-outer: 1440px;
  --grid-navigation: 1280px;
  --grid-inner: 1200px;
  --serif: "Marcellus", serif;
  --sans: "Lato", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  overflow-y: scroll;
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: normal;
  color: var(--text);
  margin: 0;
  line-height: 1;
}

p { margin: 0; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: all .3s; cursor: pointer; }
a:hover { color: var(--primary); }
button { font-family: inherit; }

.ico { height: 1em; width: auto; fill: currentColor; display: inline-block; flex: none; }

.wrap { max-width: var(--grid-inner); margin: 0 auto; width: calc(100% - 32px); }
.wrap.medium { max-width: var(--grid-navigation); }
.only-mobile { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sekcje: padding boczny 16px jak w motywie, kontener 1200px */
.section { position: relative; padding-left: 16px; padding-right: 16px; }
.container { max-width: var(--grid-inner); margin: 0 auto; position: relative; }

/* Nagłówek sekcji: nadtytuł (Lato) + tytuł (Marcellus) */
.eyebrow {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title { font-size: 35px; line-height: 44px; margin-bottom: 70px; }
.center { text-align: center; }
.light, .light .eyebrow, .light .section-title { color: #fff; }

/* Przyciski (Elementor kit) */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  line-height: 14px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--secondary);
  background-color: var(--primary);
  border: 0;
  border-radius: 2px;
  padding: 18px 40px;
  cursor: pointer;
  transition: all .3s;
}
.btn:hover, .btn:focus { color: var(--secondary); background-color: var(--primary-hover); }
.btn-dark, .btn-dark:hover, .btn-dark:focus { color: #fff; background-color: var(--secondary); font-weight: 600; }
.btn-plain, .btn-plain:hover, .btn-plain:focus { color: var(--secondary); background: transparent; font-size: 16px; font-weight: 700; text-transform: none; }
.btn-outline { background: none; padding: 17px 40px; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover, .btn-outline:focus { background: var(--primary); color: var(--secondary); }

.link-underline {
  position: relative;
  display: inline-block;
  color: var(--text);
  padding: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transition: width .3s;
}
.link-underline:hover { color: var(--text); }
.link-underline:hover::after { width: 0; }

/* MASTHEAD */
#page { min-height: 100vh; display: flex; flex-direction: column; word-break: break-word; }
#content { flex: 1; margin-top: 127px; }

#masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 127px;
  background-color: var(--nav-bg);
  transition: background .3s, height .3s;
  overflow: hidden;
  z-index: 2;
}
#masthead .masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--grid-navigation);
}
.page-home #masthead { background-color: transparent; }
.page-home #content { margin-top: 0; }
body.scrolled #masthead, body.menu-opened #masthead, body.modal-opened #masthead { background-color: var(--nav-bg); }

.site-branding-wrapper { display: flex; align-items: center; }
.site-branding { display: flex; align-items: center; }
.site-logo-link { display: flex; min-width: 45px; }
.site-logo-link img { height: 78px; width: auto; }
.site-branding-info {
  margin-left: 40px;
  padding-left: 16px;
  color: #fff;
  border-left: 1px solid #fff;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 24px;
}

#hamburger {
  display: none;
  margin-left: auto;
  width: 25px;
  height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}
#hamburger span, #hamburger span::before, #hamburger span::after {
  position: absolute;
  left: 0;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: transform .3s, top .3s, opacity .3s;
}
#hamburger span { top: 12px; }
#hamburger span::before, #hamburger span::after { content: ''; }
#hamburger span::before { top: -6px; }
#hamburger span::after { top: -12px; }
#hamburger.is-active span { top: 6px; transform: rotate(-45deg); }
#hamburger.is-active span::before { top: 0; opacity: 0; }
#hamburger.is-active span::after { top: 0; transform: rotate(-90deg); }

#primary-menu-list { list-style: none; display: flex; padding: 0; margin: 0; }
#primary-menu-list li:not(:last-child) { margin-right: 40px; }
#primary-menu-list a {
  color: #fff;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  text-transform: uppercase;
}
#primary-menu-list a:hover,
.page-home #primary-menu-list a[data-page="home"],
.page-o-nas #primary-menu-list a[data-page="o-nas"],
.page-faq #primary-menu-list a[data-page="faq"],
.page-kontakt #primary-menu-list a[data-page="kontakt"] { color: var(--primary); }

/* FOOTER */
#colophon {
  background-color: var(--nav-bg);
  padding: 80px 16px;
  color: #fff;
  z-index: 1;
  font-size: 16px;
  line-height: 27px;
}
#colophon a { color: #fff; }
#colophon .wrap { max-width: var(--grid-navigation); }
#colophon .footer-logo { height: 105px; width: auto; }
.site-footer-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 16px;
  padding-bottom: 60px;
  margin-bottom: 16px;
  border-bottom: 1px solid #fff;
}
.footer-title {
  color: #fff;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  margin: 0 0 16px;
  padding-top: 19px; /* w oryginale tytuł zaczynał się od pustej linii (white-space: pre-line) */
}
.info-row { display: flex; }
.info-row .ico { margin-top: 6px; width: 16px; height: 16px; }
.info-row p, .info-row a { margin-left: 16px; }
.powered-by { display: flex; font-weight: 400; font-size: 14px; line-height: 17px; }
.powered-by .ico { width: 5px; height: 5px; margin: 6px 16px; }

/* HERO (strona główna) */
.hero {
  display: flex;
  align-items: center;
  min-height: 726px;
  background: url(/img/hero.jpg) center center / cover no-repeat;
  text-align: center;
  color: #fff;
}
.hero .container { width: 100%; padding: 10px; }
.hero .eyebrow { color: #fff; }
.hero-title { color: #fff; font-size: 45px; line-height: 56px; margin-bottom: 54px; }

/* O NAS (strona główna) */
#o-nas { padding-right: 0; }
#o-nas > .container { max-width: var(--grid-outer); display: flex; align-items: center; }
#o-nas .left-column { width: 50%; max-width: 678px; margin-right: auto; padding: 40px 80px; }
#o-nas .right-column { width: 50%; }
#o-nas .right-column img { width: 100%; }
.text-block p:not(:last-child) { margin-bottom: 27px; }
#o-nas .text-block { margin-bottom: 30px; }

/* ZAKRES USŁUG */
.services { background-color: var(--light); padding-top: 80px; padding-bottom: 80px; }
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 634px;
  background-color: var(--secondary);
}
.services > .container { min-height: 474px; }
.range-of-service-element { display: flex; align-items: flex-start; }
.range-of-service-element:not(:last-child) { margin-bottom: 37px; }
.range-image { position: relative; display: flex; flex: none; }
.range-image img { max-height: 500px; object-fit: cover; }
.range-image h5 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 400;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 0 48px;
  font-size: 45px;
  line-height: 1.33;
}
.range-list {
  flex: 1;
  background-color: #fff;
  box-shadow: 0 12px 16px rgba(25, 48, 82, .1);
  margin-top: 40px;
  padding: 44px 48px;
}
.range-list > div:not(:last-child) { margin-bottom: 24px; }
.range-name { font-weight: 600; font-size: 20px; line-height: 24px; margin-bottom: 8px; }
.range-desc { font-weight: 300; font-size: 16px; line-height: 19px; }
.range-of-service-element.left .range-list { margin-left: -16px; }
.range-of-service-element.right .range-list { margin-right: -16px; }

/* ZESPÓŁ (strona główna) */
.team-section { background-color: var(--secondary); padding-top: 80px; padding-bottom: 80px; }
.team {
  display: flex;
  margin: 0 auto 64px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}
.team::-webkit-scrollbar { display: none; }
.team-element { display: flex; flex-direction: column; width: 310px; margin-right: 14px; flex: none; scroll-snap-align: start; color: #fff; }
.team-element:hover { color: #fff; }
.team-thumb { position: relative; display: flex; }
.team-thumb-content {
  position: absolute;
  inset: 0;
  background-color: rgba(33, 39, 51, .8);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .3s;
}
.team-thumb-content strong { font-weight: 700; }
.team-info { background-color: #212733; padding: 16px 24px; text-align: center; flex: 1; }
.team-info-name { margin: 0 0 8px; color: #fff; font-size: 26px; line-height: 33px; text-transform: uppercase; }
.team-info-position { color: #fff; font-weight: 300; font-size: 18px; line-height: 22px; }
@media (min-width: 768px) { .team-element:hover .team-thumb-content { opacity: 1; } }

/* POLECENIA */
.testimonials-section { background-color: #fff; padding-top: 80px; padding-bottom: 80px; }
.testimonials-section .section-title { margin-bottom: 32px; position: relative; z-index: 1; }
.testimonials { position: relative; max-width: 960px; margin: 0 auto; }
.testimonials-quote { position: absolute; top: -129px; left: -6vw; }
.slider { overflow: hidden; position: relative; }
.slides { display: flex; transition: transform 1s ease; }
.slide {
  flex: 0 0 100%;
  padding: 0 60px;
  text-align: center;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: .15em;
}
/* w oryginale treść zaczynała się od pustej linii (white-space: pre-line) */
.slide-content { font-weight: 300; margin-bottom: 24px; padding-top: 19px; }
.slide-author { font-weight: 400; }
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  background: none;
  border: 0;
  padding: 0;
  color: var(--text);
}
.slider-nav.prev { left: 0; }
.slider-nav.next { right: 0; }

/* FAQ */
.faq-section { background-color: var(--light); padding-top: 80px; padding-bottom: 160px; }
.faq-element {
  padding: 32px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(25, 48, 82, .1);
  border-radius: 2px;
}
.faq-element:not(:last-child) { margin-bottom: 16px; }
.faq-question {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: .05em;
  cursor: pointer;
  user-select: none;
}
.faq-question .ico { font-size: 16px; margin-right: 20px; transition: all .3s; }
.faq-answer-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer-wrapper > div { overflow: hidden; }
.faq-answer { padding: 24px 0 0 40px; font-weight: 300; font-size: 16px; line-height: 19px; letter-spacing: .15em; }
.faq-answer a { color: #0000ee; }
.faq-element.active .faq-answer-wrapper { grid-template-rows: 1fr; }
.faq-element.active .faq-question { font-weight: 700; }
.faq-element.active .faq-question .ico { transform: rotate(180deg); color: var(--primary); }
.faq-more { margin-top: 56px; }

/* KONTAKT (sekcja na dole stron) */
.contact-section { padding-top: 80px; padding-bottom: 120px; background: #fff; }
.contact-section > .container { max-width: 430px; text-align: center; }
.contact-buttons { display: flex; justify-content: center; flex-wrap: wrap; }
.contact-angel { position: absolute; width: 325px; top: -171px; left: 432px; }

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal.opened { opacity: 1; visibility: visible; }
.modal-dimmer { position: absolute; inset: 0; background: rgba(33, 39, 51, .8); }
.modal-element {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 900px;
  min-height: 545px;
  background-color: #fff;
  filter: drop-shadow(0 12px 16px rgba(25, 48, 82, .1));
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: -24px;
  transition: margin .3s;
}
.modal.opened .modal-element { margin-bottom: 0; }
.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  color: #fff;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}
.contact-modal-left { flex: 1; padding: 60px 40px; }
.contact-modal-title { font-size: 30px; line-height: 38px; text-align: center; margin: 0 0 8px; }
.contact-modal-description { margin: 0 0 32px; font-weight: 300; font-size: 16px; line-height: 19px; }
.contact-modal-right { width: 395px; display: flex; }
.contact-modal-right img { object-fit: cover; object-position: -380px 0; max-width: none; width: 100%; height: 100%; }

/* FORMULARZ */
.contact-form { font-family: var(--sans); }
.form-row { margin-bottom: 24px; position: relative; }
.form-input {
  display: block;
  width: 100%;
  font: 400 16px/20.8px var(--sans);
  color: #000;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #777771;
  border-radius: 0;
  padding: 10px 0 9px;
  outline: none;
  transition: border-color .2s;
}
.form-input::placeholder { color: #777771; opacity: 1; }
.form-input:focus { border-bottom-color: var(--secondary); }
textarea.form-input { height: 140px; resize: none; line-height: 20px; }
.form-counter { display: block; text-align: right; font-size: 12px; line-height: 18px; font-weight: 400; color: #777771; }
.form-error { display: none; color: #E04562; font-size: 12px; line-height: 18px; font-weight: 500; }
.form-row.has-error .form-error { display: block; }
.form-row.has-error .form-input { border-bottom-color: #E04562; }
.form-row.textarea-row .form-error { position: absolute; left: 0; bottom: 0; }
.form-check { display: flex; align-items: flex-start; font-size: 14px; line-height: 20px; font-weight: 400; color: #000; cursor: pointer; }
.form-check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0 10px 0 0; border: 2px solid #777771; border-radius: 2px; background: #fff; cursor: pointer; }
.form-check input:checked { background: var(--secondary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 11.6 2.6 8l1.1-1.1 2.5 2.5 6.1-6.1 1.1 1.1z' fill='%23fff'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--secondary); }
.form-row.has-error .form-check input { border-color: #E04562; }
.form-check a { color: #0000ee; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit {
  display: block;
  width: 100%;
  font: 500 14px/20.3px var(--sans);
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--secondary);
  border: 0;
  border-radius: 2px;
  padding: 15px 40px;
  cursor: pointer;
}
.form-submit:disabled { opacity: .6; cursor: default; }
.form-message { display: none; margin-bottom: 24px; padding: 16px 20px; border-radius: 2px; font-size: 15px; line-height: 22px; font-weight: 400; }
.form-message.success { display: block; background: #BCEEE6; color: #1B1B1B; }
.form-message.error { display: block; background: #F9E4E8; color: #1B1B1B; }

/* COOKIE NOTICE */
#cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  display: none;
  padding: 10px;
  background-color: rgba(28, 38, 55, 1);
  color: #fff;
  text-align: center;
  font: 400 13px/20px -apple-system, BlinkMacSystemFont, Arial, Roboto, "Helvetica Neue", sans-serif;
}
#cookie-notice.visible { display: block; }
#cookie-notice button {
  margin: 0 0 0 10px;
  padding: 8.5px 10px;
  font: inherit;
  line-height: 1;
  border: 0;
  border-radius: 3px;
  color: #fff;
  background-color: #00a99d;
  cursor: pointer;
}

/* O NAS (podstrona) */
.about-hero { background-color: #D2D1D6; overflow: hidden; padding-top: 80px; }
.about-hero::before {
  content: '';
  position: absolute;
  right: -700px;
  top: 0;
  width: 2112.67px;
  height: 883.32px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .56) 0%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(46.09deg);
}
.about-hero::after {
  content: '';
  background: url(/img/zespol_transparent.png) center / cover;
  position: absolute;
  right: 0;
  height: 100%;
  top: 0;
  width: 823px;
}
.about-hero > .container { max-width: var(--grid-navigation); min-height: 486px; z-index: 1; }
.hero-card { max-width: 480px; background: #fff; padding: 64px 40px; position: relative; z-index: 1; box-shadow: 0 12px 16px rgba(25, 48, 82, .1); }
.hero-card h2 { font-size: 35px; line-height: 44px; margin-bottom: 16px; }
.hero-card p { font-size: 18px; line-height: 22px; letter-spacing: 1.8px; margin-bottom: 32px; }

.our-team { padding-top: 80px; padding-bottom: 80px; }
.our-team-element { display: grid; grid-template-columns: 1fr 580px; align-items: flex-start; grid-gap: 40px; }
.our-team-element:not(:last-child) { margin-bottom: 160px; }
.our-team-position { font-weight: 400; font-size: 18px; line-height: 22px; margin: 0 0 12px; }
.our-team-name { font-size: 34px; line-height: 43px; margin: 0 0 32px; }
.our-team-description, .our-team-phone { font-weight: 300; font-size: 18px; line-height: 27px; letter-spacing: .05em; }
.our-team-description p:not(:last-child) { margin-bottom: 27px; }
.our-team-phone { margin-top: 24px; font-weight: 400; }
.our-team-phone a { color: var(--text); }
.our-team-image { display: flex; }
.our-team-image img { width: 100%; height: 460px; object-fit: cover; }
.our-team-element.right .our-team-text { grid-column: 2; grid-row: 1; }
.our-team-element.right .our-team-image { grid-column: 1; grid-row: 1; }

.why-us { background-color: var(--light); padding-top: 80px; padding-bottom: 160px; }
.why-us .eyebrow { margin-bottom: 48px; }
.why-us-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.why-us-item { max-width: 312px; margin: 0 auto; padding: 0 16px; text-align: center; }
.why-us-icon { display: inline-flex; padding: 12px; background-color: #fff; box-shadow: 0 12px 16px rgb(25 48 82 / 10%); border-radius: 2px; color: var(--primary); font-size: 48px; margin-bottom: 39px; }
.why-us-icon .ico { height: 48px; width: 48px; }
.why-us-item h4 { font-size: 20px; line-height: 25px; text-transform: uppercase; margin-bottom: 8px; }
.why-us-item p { font-size: 16px; line-height: 19px; }

/* KONTAKT (podstrona) */
.contact-hero { min-height: 493px; background: var(--light) url(/img/contact-1.jpg) top right no-repeat; padding: 0; }
.contact-hero::after {
  content: '';
  position: absolute;
  right: 0;
  height: 100%;
  top: 0;
  width: 679px;
  background: linear-gradient(270.16deg, rgba(196, 196, 196, 0) 25.51%, rgba(227, 230, 232, .73) 64.26%, #EAEDF0 86.94%);
}
.contact-hero > .container { max-width: var(--grid-navigation); padding-top: 120px; z-index: 1; }
.contact-hero > .container > div { max-width: 600px; }
.contact-hero h2 { font-size: 45px; line-height: 56px; margin-bottom: 16px; }
.contact-hero p { font-size: 18px; line-height: 22px; letter-spacing: 1.8px; }
.contact-form-section { position: relative; z-index: 1; margin-top: -180px; margin-bottom: 120px; }
.contact-card { display: flex; max-width: 1000px; box-shadow: 2px 5px 13px 5px rgba(25, 48, 82, .1); }
.contact-card-form { width: 66%; background: #fff; padding: 64px 48px; }
.contact-card-form h5 { font-size: 35px; line-height: 44px; margin-bottom: 40px; }
.contact-card-info { width: 34%; background: var(--secondary); padding: 64px 32px; color: #fff; font-size: 16px; line-height: 27px; }
.contact-card-info h5 { color: #fff; font-size: 24px; line-height: 30px; margin-bottom: 40px; }
.contact-card-info .info-row:not(:last-child) { margin-bottom: 16px; }
.contact-card-info a { color: #fff; }
.map iframe { display: block; width: 100%; height: 365px; border: 0; }

/* WPIS */
.post-header { width: 100%; overflow: hidden; height: 388px; position: relative; display: flex; justify-content: center; align-items: center; margin-bottom: 80px; }
.post-header-overlay { position: absolute; inset: 0; background: rgba(50, 56, 72, .3); }
.post-header-hero { object-fit: cover; height: 100%; width: 100%; position: absolute; max-width: none; }
.post-header-content {
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 80px 16px;
  padding: 0 40px;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(5px);
  border-radius: 2px;
  max-width: 1040px;
  min-height: 228px;
  width: 100%;
}
.post-header-date { font-weight: 700; font-size: 18px; line-height: 27px; margin-bottom: 24px; }
.post-header-title { font-size: 35px; line-height: 44px; }
.post-meta-date { font-weight: 700; font-size: 12px; line-height: 14px; margin: 0 0 8px; }
.post-meta-title { font-size: 24px; line-height: 32px; margin: 0 0 12px; }
.entry-content { margin-bottom: 80px; }
.entry-content p { font-weight: 300; font-size: 18px; line-height: 27px; letter-spacing: .05em; margin-bottom: 16px; }
.entry-content h2 { font-size: 28px; line-height: 35px; margin: 40px 0 16px; }
.entry-content .author-info { margin-top: 40px; text-align: right; font-family: var(--serif); }

/* 404 */
.not-found { text-align: center; padding: 16px 16px 160px; }
.not-found h1 { font-size: 35px; line-height: 44px; margin: 0; }

/* FAQ (podstrona) */
.page-faq { background-color: var(--light); }
.faq-page { padding-top: 80px; padding-bottom: 160px; }
.faq-page .eyebrow { letter-spacing: 1.6px; margin-bottom: 28px; }
.faq-page .faq-title { font-size: 45px; line-height: 50px; margin-bottom: 32px; }

@media (max-width: 1024px) {
  .hero { background-position: -1100px 0; }
  .contact-angel { display: none; }
}

@media (max-width: 767px) {
  .only-desktop { display: none !important; }
  .only-mobile { display: block; }

  #hamburger { display: block; }
  #masthead .masthead-inner { flex-direction: column; align-items: flex-start; justify-content: flex-start; margin-top: 32px; height: auto; }
  .site-branding-wrapper { width: 100%; }
  .site-logo-link { min-width: 36px; }
  .site-logo-link img { height: 63px; }
  .site-branding-info { margin-left: 14px; font-size: 16px; line-height: 20px; }
  #site-navigation { height: 0; overflow: hidden; }
  body.menu-opened #masthead { height: 100vh; }
  body.menu-opened #site-navigation { height: auto; }
  #primary-menu-list { flex-direction: column; margin-top: 40px; }
  #primary-menu-list li { margin: 0; }
  #primary-menu-list li:not(:last-child) { margin: 0 0 16px; }

  #colophon { padding: 64px 16px; }
  #colophon .footer-logo { height: 84px; }
  .site-footer-widgets { grid-template-columns: 1fr; grid-gap: 32px; padding-bottom: 52px; }
  .site-footer-widgets > div { padding: 0 !important; }
  .info-row .ico { width: 12px; height: 12px; margin-top: 9px; }
  .powered-by { flex-direction: column; align-items: flex-start; }
  .powered-by > :first-child { margin-bottom: 16px; }
  .powered-by > div { display: flex; }

  .eyebrow { font-size: 14px; line-height: 17px; }
  .section-title { font-size: 25px; line-height: 31px; margin-bottom: 40px; }
  .section { padding-left: 0; padding-right: 0; }
  .section > .container { padding-left: 16px; padding-right: 16px; }

  .hero { min-height: 100vh; background-image: url(/img/hero_small.jpg); background-position: -150vw 0; text-align: left; }
  .hero .container { margin-top: 50px; }
  .hero .eyebrow { margin-bottom: 24px; }
  .hero-title { font-size: 30px; line-height: 40px; margin-bottom: 40px; }

  #o-nas > .container { flex-direction: column; padding: 0; }
  #o-nas .left-column, #o-nas .right-column { width: 100%; max-width: none; }
  #o-nas .left-column { padding: 64px 16px 0; }
  #o-nas .text-block { font-size: 16px; line-height: 25px; margin-bottom: 32px; }
  #o-nas .text-block p:not(:last-child) { margin-bottom: 25px; }
  #o-nas .link-underline { margin-bottom: 48px; }

  .services { padding-top: 64px; padding-bottom: 64px; }
  .services::before { height: 866px; }
  .services > .container { min-height: 866px; }
  .range-of-service-element { flex-direction: column; }
  .range-of-service-element.right { flex-direction: column-reverse; }
  .range-image, .range-image img { width: 100%; }
  .range-image h5 { font-size: 28px; line-height: 37px; }
  .range-list { margin: 0 !important; padding: 32px; width: 100%; }
  .range-list > div:not(:last-child) { margin-bottom: 16px; }
  .range-name { font-size: 16px; line-height: 19px; }
  .range-desc { font-size: 14px; line-height: 17px; }

  .team-section, .testimonials-section { padding-top: 64px; padding-bottom: 64px; }
  .team { margin-bottom: 40px; width: auto; }
  .testimonials-quote { top: -145px; left: 16px; height: 60px; width: auto; }
  .slider { padding-bottom: 72px; }
  .slide { padding: 0; }
  .slide-content { line-height: 25px; padding-top: 25px; }
  .slider-nav { top: auto; bottom: 0; transform: none; }
  .slider-nav.prev { left: calc(50% - 25px); }
  .slider-nav.next { right: auto; left: calc(50% + 25px); }

  .faq-section { padding-top: 64px; padding-bottom: 64px; }
  .faq-element { padding: 24px 16px; }
  .faq-element:not(:last-child) { margin-bottom: 8px; }
  .faq-question { font-size: 16px; line-height: 19px; }
  .faq-answer { padding-top: 16px; font-size: 14px; line-height: 17px; }
  .faq-more { margin-top: 40px; }

  .contact-section { padding: 64px 0; }
  .contact-buttons .btn-plain { margin-top: 16px; }

  .modal { padding: 0; }
  .modal-element { width: 100vw; height: 100vh; max-width: none; min-height: 0; }
  .modal-close { color: #000; right: 11px; top: 85px; }
  .contact-modal-left { padding: 40px 16px; overflow: auto; max-height: 100vh; }
  .contact-modal-title { text-align: left; }
  .contact-modal-right { display: none; }

  .about-hero { padding: 40px 0 200px; min-height: 0; }
  .about-hero::after { width: 100%; height: 69vw; bottom: 0; top: auto; }
  .about-hero > .container { padding: 0 16px; }
  .hero-card { margin: 0; padding: 40px 32px; }
  .hero-card h2 { font-size: 25px; line-height: 31px; }
  .hero-card p { font-size: 16px; line-height: 25px; }
  .hero-card .btn { width: 100%; text-align: center; }
  .our-team { padding-top: 64px; padding-bottom: 64px; }
  .our-team .section-title { margin-bottom: 64px; }
  .our-team-element { grid-template-columns: 1fr; grid-gap: 48px; }
  .our-team-element:not(:last-child) { margin-bottom: 64px; }
  .our-team-position { font-size: 14px; line-height: 17px; letter-spacing: .15em; }
  .our-team-name { font-size: 25px; line-height: 31px; margin-bottom: 16px; }
  .our-team-description, .our-team-phone { font-size: 16px; line-height: 25px; }
  .our-team-element.right .our-team-text, .our-team-element.right .our-team-image { grid-column: auto; grid-row: auto; }
  .why-us { padding-top: 64px; padding-bottom: 64px; }
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us-item { padding: 0; margin-bottom: 32px; }
  .why-us-icon { margin-bottom: 16px; }

  .contact-hero { background-image: none; min-height: 0; }
  .contact-hero::after { background: var(--light); height: 900px; width: 100%; }
  .contact-hero > .container { padding: 64px 16px 0; }
  .contact-hero h2 { font-size: 25px; line-height: 31px; }
  .contact-hero p { font-size: 16px; line-height: 25px; margin-bottom: 40px; }
  .contact-form-section { margin: 0 auto 64px; }
  .contact-card { flex-direction: column; box-shadow: none; }
  .contact-card-form, .contact-card-info { width: 100%; box-shadow: 2px 5px 13px 5px rgba(25, 48, 82, .1); }
  .contact-card-form { padding: 40px 16px; }
  .contact-card-form h5 { text-align: center; font-size: 25px; line-height: 31px; }
  .contact-card-info { margin-top: 40px; padding: 40px 25px; }

  .post-header { height: 140px; margin-bottom: 24px; }
  .entry-content { margin-bottom: 40px; }
  .entry-content h2 { font-size: 22px; line-height: 28px; margin: 24px 0 12px; }
  .entry-content p { font-size: 16px; line-height: 27px; letter-spacing: normal; margin-bottom: 8px; }
  .entry-content .author-info { text-align: left; margin-top: 24px; }

  .faq-page { padding-top: 40px; padding-bottom: 64px; }
  .faq-page .eyebrow { margin-bottom: 12px; }
  .faq-page .faq-title { font-size: 25px; line-height: 31px; margin-bottom: 40px; }
}
