@font-face {
font-family: 'Book Antiqua';
src: url(//joannajaros.pl/wp-content/themes/bywitek-theme/assets/fonts/Book-Antiqua-Regular.ttf) format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Open Sans';
src: url(//joannajaros.pl/wp-content/themes/bywitek-theme/assets/fonts/OpenSans-Light.ttf) format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Open Sans';
src: url(//joannajaros.pl/wp-content/themes/bywitek-theme/assets/fonts/OpenSans-Regular.ttf) format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Open Sans';
src: url(//joannajaros.pl/wp-content/themes/bywitek-theme/assets/fonts/OpenSans-Medium.ttf) format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Open Sans';
src: url(//joannajaros.pl/wp-content/themes/bywitek-theme/assets/fonts/OpenSans-SemiBold.ttf) format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Open Sans';
src: url(//joannajaros.pl/wp-content/themes/bywitek-theme/assets/fonts/OpenSans-Bold.ttf) format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Open Sans';
src: url(//joannajaros.pl/wp-content/themes/bywitek-theme/assets/fonts/OpenSans-ExtraBold.ttf) format('truetype');
font-weight: 800;
font-style: normal;
font-display: swap;
}
:root {
--primary: #e7d3b9;
--secondary: #8c6953;
--white: #f8f6f2;
--black: #1f1a17;
--font-primary: 'Book Antiqua', serif;
--font-secondary: 'Open Sans', sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--font-primary);
}
.contact-cta-strip {
width: 100%;
padding: 0 0 7rem;
background: var(--white);
}
.contact-cta-strip__inner {
width: 100%;
padding: 1.7rem 8.2rem;
background:
linear-gradient(120deg, rgba(140, 105, 83, 0.52) 0%, rgba(140, 105, 83, 0.46) 100%),
url(//joannajaros.pl/wp-content/themes/bywitek-theme/assets/images/cta.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 2rem;
}
.contact-cta-strip__left {
max-width: 58ch;
}
.contact-cta-strip__title {
font-family: var(--font-primary);
font-size: clamp(1.6rem, 2.35vw, 2.4rem);
line-height: 1.14;
color: var(--white);
margin-bottom: 0.55rem;
}
.contact-cta-strip__text {
font-family: var(--font-secondary);
font-size: 0.98rem;
line-height: 1.5;
color: rgba(248, 246, 242, 0.93);
}
.contact-cta-strip__right {
display: flex;
align-items: center;
justify-content: center;
align-self: flex-end;
}
.contact-cta-strip__button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 52px;
padding: 0 1.8rem;
border-radius: 999px;
text-decoration: none;
font-family: var(--font-secondary);
font-weight: 600;
font-size: 1.02rem;
color: var(--black);
background: var(--primary);
transition: background-color 0.22s ease, box-shadow 0.22s ease;
}
.contact-cta-strip__button:hover,
.contact-cta-strip__button:focus-visible {
background: #efdfca;
box-shadow: 0 8px 18px rgba(31, 26, 23, 0.18);
}
@media (max-width: 1279px) {
.contact-cta-strip {
padding-bottom: 6rem;
}
.contact-cta-strip__inner {
padding: 1.45rem 4.6rem;
}
}
@media (max-width: 1023px) {
.contact-cta-strip__inner {
flex-direction: column;
align-items: flex-start;
gap: 1.2rem;
}
.contact-cta-strip__right {
width: 100%;
justify-content: flex-start;
}
}
@media (max-width: 767px) {
.contact-cta-strip {
padding-bottom: 5rem;
}
.contact-cta-strip__inner {
padding: 1.05rem 0.55rem;
align-items: center;
justify-content: center;
text-align: center;
}
.contact-cta-strip__title {
margin-bottom: 0.4rem;
}
.contact-cta-strip__left {
max-width: 44ch;
}
.contact-cta-strip__right {
width: auto;
justify-content: center;
align-self: center;
}
}
.services-page .contact-cta-strip__inner {
padding-top: 1.45rem;
padding-bottom: 1.45rem;
background:
linear-gradient(120deg, rgba(140, 105, 83, 0.52) 0%, rgba(140, 105, 83, 0.46) 100%),
url(//joannajaros.pl/wp-content/themes/bywitek-theme/assets/images/cta2.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
@media (max-width: 1023px) {
.services-page .contact-cta-strip__inner {
padding-top: 1.05rem;
padding-bottom: 1.05rem;
}
}
@media (max-width: 767px) {
.services-page .contact-cta-strip__inner {
padding-top: 1rem;
padding-bottom: 1rem;
background-size: cover, 170% auto;
background-position: center, center center;
}
}.site-header {
width: 100%;
background: transparent;
position: sticky;
top: 0;
z-index: 100;
opacity: 1;
transition: top 0.28s ease, opacity 0.28s ease, background-color 0.24s ease;
}
.site-header.is-top {
background: transparent;
}
.site-header.is-hidden {
top: -120px;
opacity: 0;
pointer-events: none;
}
.site-header.is-visible {
top: 0;
opacity: 1;
}
.site-header__wrapper {
width: 100%;
background: transparent;
transition: background-color 0.24s ease;
}
.site-header:not(.is-top) {
background: var(--white);
}
.site-header:not(.is-top) .site-header__wrapper {
background: var(--white);
}
.site-header.is-top .site-header__wrapper {
background: transparent;
}
.site-header__content {
width: 100%;
min-height: 70px;
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 9rem;
padding-right: 9rem;
}
.site-header__left {
display: flex;
align-items: center;
gap: 2rem;
min-width: 0;
}
.site-header__brand {
display: inline-flex;
align-items: center;
}
.site-header__adwokatura {
width: auto;
height: 48px;
display: block;
object-fit: contain;
}
.site-header__logo {
height: 85px;
width: auto;
display: block;
}
.site-header__nav {
display: flex;
align-items: center;
gap: 1.6rem;
}
.site-header__link {
font-family: var(--font-secondary);
color: var(--black);
font-size: 1rem;
line-height: 1;
text-decoration: none;
transition: color 0.2s ease;
}
.site-header__link:hover,
.site-header__link:focus-visible {
color: var(--secondary);
}
.site-header__right {
display: flex;
align-items: center;
gap: 1rem;
}
.site-header__call-btn {
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
background: var(--secondary);
color: var(--white);
font-family: var(--font-secondary);
padding: 0 24px;
height: 44px;
border-radius: 999px;
font-weight: 600;
transition: background-color 0.22s ease, box-shadow 0.22s ease;
}
.site-header__call-btn:hover,
.site-header__call-btn:focus-visible {
background: #9a745d;
box-shadow: 0 6px 16px rgba(140, 105, 83, 0.22);
}
.site-header__hamburger {
display: none;
border: 0;
background: transparent;
padding: 0;
width: 44px;
height: 44px;
align-items: center;
justify-content: center;
cursor: pointer;
}
.site-header__hamburger img {
width: 28px;
height: 28px;
}
.site-header__overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.45);
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
z-index: 119;
}
.site-header__drawer {
position: fixed;
top: 0;
bottom: 0;
left: 0;
width: 75vw;
max-width: 420px;
height: 100vh;
height: 100dvh;
background: var(--white);
transform: translateX(-100%);
transition: transform 0.25s ease;
z-index: 120;
display: flex;
flex-direction: column;
}
.site-header__drawer-top {
width: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
min-height: 64px;
padding: 0 0.5rem;
}
.site-header__close {
border: 0;
background: transparent;
width: 44px;
height: 44px;
padding: 0;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.site-header__close img {
width: 28px;
height: 28px;
}
.site-header__drawer-nav {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 1rem;
padding: 0 1rem 1.5rem;
}
.site-header__drawer-link {
text-decoration: none;
color: var(--black);
font-family: var(--font-secondary);
font-size: 1.15rem;
transition: color 0.2s ease;
}
.site-header__drawer-link:hover,
.site-header__drawer-link:focus-visible {
color: var(--secondary);
}
.site-header__drawer-call {
margin-top: 0.8rem;
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
background: var(--secondary);
color: var(--white);
font-family: var(--font-secondary);
padding: 0 24px;
height: 44px;
border-radius: 999px;
font-weight: 600;
transition: background-color 0.22s ease, box-shadow 0.22s ease;
}
.site-header__drawer-call:hover,
.site-header__drawer-call:focus-visible {
background: #9a745d;
box-shadow: 0 6px 16px rgba(140, 105, 83, 0.22);
}
body.drawer-open {
overflow: hidden;
}
body.drawer-open .site-header__overlay {
opacity: 1;
pointer-events: auto;
}
body.drawer-open .site-header,
body.drawer-open .site-header__wrapper {
background: var(--white);
}
body.drawer-open .site-header__drawer {
transform: translateX(0);
}
@media (max-width: 1279px) {
.site-header__content {
padding-left: 5rem;
padding-right: 5rem;
}
}
@media (max-width: 1023px) {
.site-header__nav,
.site-header__call-btn {
display: none;
}
.site-header__hamburger {
display: inline-flex;
}
.site-header__content {
min-height: 64px;
}
.site-header__logo {
height: 70px;
}
.site-header__adwokatura {
height: 42px;
}
}
@media (max-width: 767px) {
.site-header__content {
position: relative;
padding-left: 0.7rem;
padding-right: 0.5rem;
}
.site-header__left {
gap: 0.8rem;
}
.site-header__brand {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
z-index: 2;
}
.site-header__hamburger {
position: relative;
z-index: 3;
}
.site-header__logo {
height: 80px;
}
.site-header__adwokatura {
display: block;
height: 34px;
}
}.footer-contact {
width: 100%;
background: transparent;
}
.footer-contact__stage {
position: relative;
width: 100%;
height: 760px;
overflow: hidden;
}
.footer-contact__media {
position: absolute;
inset: 0;
height: 100%;
width: 100%;
background:
linear-gradient(130deg, rgba(31, 26, 23, 0.84) 0%, rgba(31, 26, 23, 0.8) 100%),
url(//joannajaros.pl/wp-content/themes/bywitek-theme/assets/images/kielce.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center 68%;
}
.footer-contact__content {
position: absolute;
top: 4rem;
left: 0;
right: 0;
z-index: 1;
}
.footer-contact__inner {
width: 100%;
padding-left: 6rem;
padding-right: 6rem;
display: flex;
justify-content: center;
}
.footer-contact__panel {
width: min(780px, 100%);
padding: 1.65rem 1.45rem;
background: rgba(31, 26, 23, 0.58);
border: 1px solid rgba(248, 246, 242, 0.22);
border-radius: 1.2rem;
backdrop-filter: blur(2px);
}
.footer-contact__title {
font-family: var(--font-primary);
color: var(--white);
font-size: clamp(1.7rem, 2.3vw, 2.4rem);
line-height: 1.08;
margin-bottom: 1rem;
text-align: center;
}
.footer-contact__form {
display: flex;
flex-direction: column;
gap: 1rem;
}
.footer-contact__row {
display: grid;
gap: 1rem;
}
.footer-contact__honeypot {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
overflow: hidden;
opacity: 0;
pointer-events: none;
}
.footer-contact__field {
width: 100%;
}
.footer-contact__row--single {
grid-template-columns: 1fr;
}
.footer-contact__row--double {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.footer-contact__input,
.footer-contact__textarea {
width: 100%;
background: rgba(248, 246, 242, 0.06);
color: var(--white);
border: 1px solid var(--primary);
border-radius: 999px;
padding: 0.82rem 1.1rem;
font-family: var(--font-secondary);
font-size: 0.96rem;
line-height: 1.45;
outline: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.footer-contact__input::placeholder,
.footer-contact__textarea::placeholder {
color: rgba(248, 246, 242, 0.82);
}
.footer-contact__input:focus,
.footer-contact__textarea:focus {
border-color: var(--primary);
background: rgba(248, 246, 242, 0.1);
box-shadow: 0 0 0 3px rgba(244, 228, 205, 0.22);
}
.footer-contact__textarea {
resize: vertical;
min-height: 130px;
border-radius: 1.3rem;
}
.footer-contact__field.is-error .footer-contact__input,
.footer-contact__field.is-error .footer-contact__textarea {
border-color: #ffffff;
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}
.footer-contact__error {
margin-top: 0;
font-family: var(--font-secondary);
font-size: 0.82rem;
line-height: 1.35;
color: #ffffff;
max-height: 0;
overflow: hidden;
opacity: 0;
transform: translateY(-8px);
pointer-events: none;
transition: max-height 0.24s ease, margin-top 0.24s ease, opacity 0.22s ease, transform 0.22s ease;
}
.footer-contact__error.is-visible {
margin-top: 0.38rem;
max-height: 3.2rem;
opacity: 1;
transform: translateY(0);
}
.footer-contact__actions {
margin-top: 0.25rem;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.72rem;
}
.footer-contact__submit {
border: 0;
cursor: pointer;
min-height: 46px;
padding: 0 1.35rem;
border-radius: 999px;
background: var(--primary);
color: var(--black);
font-family: var(--font-secondary);
font-weight: 600;
font-size: 0.98rem;
transition: background-color 0.22s ease, box-shadow 0.22s ease;
}
.footer-contact__submit:hover,
.footer-contact__submit:focus-visible {
background: #efdfca;
box-shadow: 0 8px 18px rgba(31, 26, 23, 0.2);
}
.footer-contact__policy {
font-family: var(--font-secondary);
color: rgba(248, 246, 242, 0.92);
font-size: 0.88rem;
line-height: 1.5;
}
.footer-contact__policy-link {
color: var(--white);
text-decoration: none;
font-weight: 400;
}
.footer-contact__status {
margin-top: 0;
font-family: var(--font-secondary);
font-size: 0.88rem;
line-height: 1.45;
color: rgba(248, 246, 242, 0.92);
max-height: 0;
overflow: hidden;
opacity: 0;
transform: translateY(-8px);
pointer-events: none;
transition: max-height 0.24s ease, margin-top 0.24s ease, opacity 0.22s ease, transform 0.22s ease;
}
.footer-contact__status.is-visible {
margin-top: 0.12rem;
max-height: 3rem;
opacity: 1;
transform: translateY(0);
}
.footer-contact__status.is-success {
color: #ffffff;
}
.footer-contact__status.is-error {
color: #ffffff;
}
@media (max-width: 1279px) {
.footer-contact__stage {
height: 740px;
}
.footer-contact__inner {
padding-left: 3.5rem;
padding-right: 3.5rem;
}
}
@media (max-width: 1023px) {
.footer-contact__row--double {
grid-template-columns: 1fr;
}
}
@media (max-width: 767px) {
.footer-contact__stage {
height: 780px;
}
.footer-contact__media {
background-position: center 72%;
}
.footer-contact__content {
top: 3.2rem;
}
.footer-contact__inner {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.footer-contact__panel {
padding: 1.15rem 0.85rem;
border-radius: 1rem;
}
.footer-contact__title {
text-align: left;
margin-bottom: 0.85rem;
}
}
.site-footer-main {
width: 100%;
background: #1f1a17;
border-top: 1px solid rgba(248, 246, 242, 0.12);
}
.site-footer-main__inner {
width: 100%;
padding: 3.6rem 9rem 1.3rem;
}
.site-footer-main__grid {
display: grid;
grid-template-columns: 1.2fr 1fr 0.8fr;
gap: 2.2rem;
align-items: start;
}
.site-footer-main__logo-link {
display: inline-flex;
width: fit-content;
}
.site-footer-main__logo {
width: 220px;
height: auto;
display: block;
}
.site-footer-main__text {
margin-top: 0.85rem;
max-width: 37ch;
font-family: var(--font-secondary);
font-size: 0.95rem;
line-height: 1.62;
color: rgba(248, 246, 242, 0.88);
}
.site-footer-main__cta {
margin-top: 1rem;
display: inline-flex;
align-items: center;
justify-content: center;
width: fit-content;
min-height: 44px;
padding: 0 1.28rem;
border-radius: 999px;
text-decoration: none;
font-family: var(--font-secondary);
font-weight: 600;
font-size: 0.95rem;
background: var(--primary);
color: var(--black);
transition: background-color 0.22s ease, box-shadow 0.22s ease;
}
.site-footer-main__cta:hover,
.site-footer-main__cta:focus-visible {
background: #efdfca;
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.site-footer-main__heading {
margin: 0;
font-family: var(--font-primary);
font-size: 1.18rem;
line-height: 1.2;
color: var(--white);
}
.site-footer-main__list {
margin: 0.9rem 0 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.site-footer-main__item,
.site-footer-main__data-link,
.site-footer-main__data-text {
font-family: var(--font-secondary);
font-size: 0.94rem;
line-height: 1.55;
color: rgba(248, 246, 242, 0.9);
text-decoration: none;
}
.site-footer-main__item {
display: flex;
align-items: flex-start;
gap: 0.55rem;
}
.site-footer-main__icon {
width: 16px;
height: 16px;
margin-top: 0.24rem;
flex: 0 0 16px;
color: #ffffff;
opacity: 1;
}
.site-footer-main__data-link:hover,
.site-footer-main__data-link:focus-visible {
color: var(--primary);
}
.site-footer-main__nav {
margin-top: 0.9rem;
display: flex;
flex-direction: column;
gap: 0.6rem;
}
.site-footer-main__nav-link {
width: fit-content;
text-decoration: none;
font-family: var(--font-secondary);
font-size: 0.95rem;
line-height: 1.5;
color: rgba(248, 246, 242, 0.92);
transition: color 0.18s ease;
}
.site-footer-main__nav-link:hover,
.site-footer-main__nav-link:focus-visible {
color: var(--primary);
}
.site-footer-main__bottom {
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid rgba(248, 246, 242, 0.14);
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.8rem;
}
.site-footer-main__copyright,
.site-footer-main__author {
margin: 0;
font-family: var(--font-secondary);
font-size: 0.89rem;
line-height: 1.5;
color: rgba(248, 246, 242, 0.76);
}
.site-footer-main__author-link {
color: var(--white);
text-decoration: none;
}
.site-footer-main__policy-link {
color: rgba(248, 246, 242, 0.76);
text-decoration: none;
}
.site-footer-main__policy-link:hover,
.site-footer-main__policy-link:focus-visible {
color: var(--primary);
}
@media (max-width: 1279px) {
.site-footer-main__inner {
padding-left: 5rem;
padding-right: 5rem;
}
.site-footer-main__grid {
grid-template-columns: 1fr 1fr;
gap: 2rem;
}
.site-footer-main__col--brand {
grid-column: 1 / -1;
}
}
@media (max-width: 767px) {
.site-footer-main__inner {
padding: 2.6rem 0.5rem 1.1rem;
}
.site-footer-main__grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.site-footer-main__logo {
width: 188px;
}
.site-footer-main__bottom {
margin-top: 1.5rem;
padding-top: 0.85rem;
flex-direction: column;
align-items: flex-start;
gap: 0.25rem;
}
}.home-main {
width: 100%;
}
.home-hero {
width: 100%;
min-height: 92vh;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
margin-top: -85px;
background: linear-gradient(120deg, var(--white) 0%, var(--primary) 62%, var(--white) 100%);
position: relative;
overflow: hidden;
}
.home-hero__content {
padding: 9.6rem 4.6rem 3.1rem 9rem;
display: flex;
flex-direction: column;
justify-content: center;
gap: 1.1rem;
position: relative;
z-index: 2;
}
.home-hero__title {
font-family: var(--font-primary);
color: var(--black);
line-height: 1.08;
font-size: clamp(1.95rem, 3.5vw, 3.7rem);
max-width: 26ch;
}
.home-hero__actions {
display: flex;
align-items: center;
gap: 0.9rem;
margin-top: 0.3rem;
}
.home-hero__btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 46px;
border-radius: 999px;
text-decoration: none;
padding: 0 1.35rem;
font-family: var(--font-secondary);
font-weight: 600;
transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}
.home-hero__btn--primary {
background: var(--secondary);
color: var(--white);
}
.home-hero__btn--primary:hover,
.home-hero__btn--primary:focus-visible {
background: #9a745d;
box-shadow: 0 8px 18px rgba(140, 105, 83, 0.22);
}
.home-hero__btn--secondary {
background: transparent;
color: var(--black);
border: 1px solid var(--secondary);
}
.home-hero__btn--secondary:hover,
.home-hero__btn--secondary:focus-visible {
color: var(--white);
background: #9a745d;
border-color: transparent;
box-shadow: 0 8px 18px rgba(140, 105, 83, 0.2);
}
.home-hero__media {
min-height: 92vh;
height: 92vh;
width: 100%;
align-self: start;
position: relative;
display: flex;
align-items: flex-end;
justify-content: flex-start;
z-index: 1;
}
.home-hero__image {
width: 95%;
height: 100%;
object-fit: contain;
object-position: left bottom;
display: block;
filter: drop-shadow(0 8px 18px rgba(31, 26, 23, 0.16));
}
.services-preview {
width: 100%;
padding: 6.5rem 0 7rem;
background: linear-gradient(180deg, var(--white) 0%, rgba(231, 211, 185, 0.24) 100%);
}
.services-preview__inner {
width: 100%;
padding-left: 9rem;
padding-right: 9rem;
}
.services-preview__intro {
max-width: 92ch;
margin-bottom: 2.2rem;
}
.services-preview__lead {
font-family: var(--font-primary);
font-size: clamp(1.4rem, 2.2vw, 2.2rem);
color: var(--black);
line-height: 1.22;
}
.services-preview__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1.1rem;
}
.service-card {
min-height: 100%;
padding: 1.55rem 1.4rem 1.3rem;
border-radius: 1.2rem;
display: flex;
flex-direction: column;
gap: 0.85rem;
box-shadow: 0 7px 18px rgba(31, 26, 23, 0.07);
position: relative;
overflow: hidden;
}
.service-card__icon-bg {
position: absolute;
top: 0.9rem;
right: 0.9rem;
width: 118px;
height: 118px;
object-fit: contain;
z-index: 1;
color: var(--black);
opacity: 0.15;
filter: brightness(0) saturate(100%);
}
.service-card--primary {
background: var(--primary);
color: var(--black);
}
.service-card--secondary {
background: var(--secondary);
color: var(--white);
}
.service-card--featured {
grid-column: span 2;
}
.service-card__title {
font-family: var(--font-primary);
font-size: 1.55rem;
line-height: 1.1;
margin-bottom: 0.14rem;
position: relative;
z-index: 2;
}
.service-card__description {
font-family: var(--font-secondary);
font-size: 0.96rem;
line-height: 1.5;
position: relative;
z-index: 2;
}
.service-card__list {
list-style: none;
display: grid;
gap: 0.32rem;
font-family: var(--font-secondary);
font-size: 0.94rem;
line-height: 1.4;
margin-bottom: 0.85rem;
position: relative;
z-index: 2;
}
.service-card__list li {
display: flex;
align-items: flex-start;
gap: 0.45rem;
}
.service-card__list li::before {
content: '✔';
color: var(--secondary);
line-height: 1.3;
}
.service-card--secondary .service-card__list li::before {
color: var(--primary);
}
.service-card__cta {
margin-top: auto;
display: inline-flex;
align-items: center;
justify-content: center;
width: fit-content;
min-height: 46px;
padding: 0 1.35rem;
border-radius: 999px;
text-decoration: none;
font-family: var(--font-secondary);
font-weight: 600;
transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
position: relative;
z-index: 2;
}
.service-card--primary .service-card__cta {
color: var(--white);
background: var(--black);
}
.service-card--primary .service-card__cta:hover,
.service-card--primary .service-card__cta:focus-visible {
background: #3a322d;
box-shadow: 0 8px 18px rgba(31, 26, 23, 0.24);
}
.service-card--secondary .service-card__cta {
color: var(--black);
background: var(--white);
}
.service-card--secondary .service-card__cta:hover,
.service-card--secondary .service-card__cta:focus-visible {
background: #ffffff;
box-shadow: 0 8px 18px rgba(248, 246, 242, 0.28);
}
.advantages-section {
width: 100%;
padding: 0 0 7rem;
background: var(--white);
}
.advantages-section__inner {
width: 100%;
padding-left: 9rem;
padding-right: 9rem;
}
.advantages-section__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
.advantage-card {
background: var(--white);
border-radius: 1.15rem;
padding: 1.4rem 1.2rem 1.25rem;
text-align: center;
box-shadow: 0 7px 16px rgba(31, 26, 23, 0.07);
display: flex;
flex-direction: column;
align-items: center;
}
.advantage-card__icon {
width: 54px;
height: 54px;
min-width: 54px;
object-fit: contain;
filter: brightness(0) saturate(100%);
margin-bottom: 0.72rem;
}
.advantage-card__title {
font-family: var(--font-primary);
color: var(--black);
font-size: 1.38rem;
line-height: 1.16;
margin-bottom: 0.58rem;
}
.advantage-card__text {
font-family: var(--font-secondary);
color: var(--black);
font-size: 0.95rem;
line-height: 1.55;
}
.about-me-section {
width: 100%;
padding: 3.5rem 0 3.5rem;
background:
radial-gradient(110% 95% at 12% 8%, rgba(173, 137, 113, 0.2) 0%, rgba(173, 137, 113, 0) 62%),
linear-gradient(132deg, #7b5c46 0%, #8c6953 48%, #6d4f3c 100%);
}
.about-me-section__inner {
width: 100%;
padding-left: 9rem;
padding-right: 9rem;
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
gap: 1.5rem;
align-items: stretch;
min-height: 620px;
}
.about-me-section__content {
padding: 1.2rem 1.2rem 1.2rem 0;
display: flex;
flex-direction: column;
justify-content: center;
}
.about-me-section__title {
font-family: var(--font-primary);
font-size: clamp(1.8rem, 2.45vw, 2.7rem);
line-height: 1.1;
color: var(--white);
margin-bottom: 0.9rem;
max-width: 27ch;
}
.about-me-section__text {
font-family: var(--font-secondary);
font-size: 1rem;
line-height: 1.7;
color: rgba(248, 246, 242, 0.94);
}
.about-me-section__cta {
margin-top: 1.1rem;
display: inline-flex;
align-items: center;
justify-content: center;
width: fit-content;
min-height: 46px;
padding: 0 1.35rem;
border-radius: 999px;
text-decoration: none;
font-family: var(--font-secondary);
font-weight: 600;
color: var(--black);
background: var(--primary);
transition: background-color 0.22s ease, box-shadow 0.22s ease;
}
.about-me-section__cta:hover,
.about-me-section__cta:focus-visible {
background: #efdfca;
box-shadow: 0 8px 18px rgba(31, 26, 23, 0.18);
}
.about-me-section__media {
display: flex;
align-items: stretch;
justify-content: flex-end;
margin-right: -9rem;
}
.about-me-section__media-frame {
width: 100%;
height: 100%;
aspect-ratio: 4 / 5;
min-height: 620px;
border-radius: 1.2rem 0 0 1.2rem;
overflow: hidden;
position: relative;
}
.about-me-section__badge {
position: absolute;
top: 1.05rem;
left: 1.05rem;
width: 84px;
height: 84px;
object-fit: contain;
z-index: 2;
}
.about-me-section__image {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
object-position: right center;
}
.faq-section {
width: 100%;
padding: 3.5rem 0 7rem;
background: var(--white);
}
.faq-section__inner {
width: 100%;
padding-left: 6rem;
padding-right: 6rem;
}
.faq-section__intro {
margin-bottom: 1.4rem;
}
.faq-section__title {
font-family: var(--font-primary);
font-size: clamp(1.8rem, 2.45vw, 2.7rem);
line-height: 1.08;
color: var(--black);
}
.faq-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
align-items: start;
}
.faq-category-card {
background: var(--white);
border-radius: 1.1rem;
box-shadow: 0 7px 16px rgba(31, 26, 23, 0.07);
border: 1px solid rgba(140, 105, 83, 0.14);
padding: 1.15rem 1rem;
}
.faq-category-card__title {
font-family: var(--font-primary);
font-size: 1.35rem;
line-height: 1.1;
color: var(--secondary);
margin-bottom: 0.8rem;
}
.faq-item {
border-top: 1px solid rgba(140, 105, 83, 0.2);
padding: 0.7rem 0;
}
.faq-item:last-child {
border-bottom: 0;
padding-bottom: 0.2rem;
}
.faq-item__question {
cursor: pointer;
list-style: none;
font-family: var(--font-secondary);
font-weight: 600;
font-size: 0.96rem;
line-height: 1.4;
color: var(--black);
padding-right: 1.4rem;
position: relative;
}
.faq-item__question::-webkit-details-marker {
display: none;
}
.faq-item__question::after {
content: '+';
position: absolute;
right: 0;
top: 0;
color: var(--secondary);
font-family: var(--font-secondary);
font-weight: 700;
transform-origin: center;
transition: transform 0.25s ease, opacity 0.25s ease;
opacity: 1;
}
.faq-item[open] .faq-item__question::after {
content: '−';
transform: rotate(180deg);
}
.faq-item__answer {
overflow: hidden;
max-height: 0;
opacity: 0;
transform: translateY(-6px);
transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.28s ease, margin-top 0.28s ease;
margin-top: 0;
font-family: var(--font-secondary);
color: rgba(31, 26, 23, 0.88);
font-size: 0.92rem;
line-height: 1.6;
}
.faq-item__answer p {
overflow: hidden;
}
.faq-item[open] .faq-item__answer {
opacity: 1;
transform: translateY(0);
margin-top: 0.55rem;
}
@media (max-width: 1279px) {
.home-hero {
margin-top: -70px;
}
.home-hero__content {
padding: 9rem 4rem 3.25rem 5rem;
}
.services-preview {
padding: 5.5rem 0 6rem;
}
.services-preview__inner {
padding-left: 5rem;
padding-right: 5rem;
}
.advantages-section {
padding-bottom: 6rem;
}
.advantages-section__inner {
padding-left: 5rem;
padding-right: 5rem;
}
.about-me-section {
padding: 3rem 0 3rem;
}
.about-me-section__inner {
padding-left: 5rem;
padding-right: 5rem;
grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
min-height: 560px;
}
.about-me-section__media {
margin-right: -5rem;
}
.about-me-section__media-frame {
min-height: 560px;
}
.faq-section {
padding: 3rem 0 6rem;
}
.faq-section__inner {
padding-left: 3.5rem;
padding-right: 3.5rem;
}
}
@media (max-width: 1023px) {
.home-hero {
margin-top: -64px;
grid-template-columns: 1fr;
}
.home-hero__content {
padding: 8rem 42vw 2.5rem 3rem;
}
.home-hero__media {
min-height: 100%;
height: auto;
width: 44%;
position: absolute;
right: 0;
top: 0;
bottom: 0;
display: flex;
align-items: flex-end;
justify-content: flex-end;
z-index: 1;
}
.home-hero__image {
width: 100%;
height: 100%;
object-fit: contain;
object-position: right bottom;
}
.services-preview__grid {
grid-template-columns: 1fr;
}
.service-card--featured {
grid-column: auto;
}
.advantages-section__grid {
grid-template-columns: 1fr;
}
.about-me-section__inner {
grid-template-columns: 1fr;
gap: 1rem;
min-height: 520px;
}
.about-me-section__content {
padding: 1.2rem 0;
}
.about-me-section__title {
max-width: none;
}
.about-me-section__media {
margin-right: 0;
}
.about-me-section__media-frame {
min-height: 520px;
border-radius: 1rem 0 0 1rem;
}
.faq-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 767px) {
.home-hero {
margin-top: -80px;
background:
linear-gradient(128deg, rgba(231, 211, 185, 0.76) 0%, rgba(231, 211, 185, 0.68) 52%, rgba(231, 211, 185, 0.6) 100%),
url(//joannajaros.pl/wp-content/themes/bywitek-theme/assets/images/3-transparent.png);
background-repeat: no-repeat;
background-size: cover, auto 82%;
background-position: center, right -2.4rem bottom;
}
.home-hero__content {
padding: 8.25rem 0.75rem 2rem;
}
.home-hero__title {
max-width: none;
}
.home-hero__actions {
width: auto;
flex-wrap: wrap;
justify-content: flex-start;
}
.home-hero__btn {
width: auto;
}
.home-hero__media {
display: none;
}
.services-preview {
padding: 4.5rem 0 5rem;
}
.services-preview__inner {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.services-preview__intro {
margin-bottom: 1.4rem;
}
.service-card {
border-radius: 1rem;
padding: 1.3rem 1rem 1.1rem;
}
.service-card__icon-bg {
width: 104px;
height: 104px;
top: 1.05rem;
right: 1.05rem;
}
.advantages-section {
padding-bottom: 5rem;
}
.advantages-section__inner {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.advantage-card {
border-radius: 1rem;
padding: 1.2rem 0.95rem 1.05rem;
}
.about-me-section {
padding: 2.5rem 0 2.5rem;
}
.about-me-section__inner {
padding-left: 0.5rem;
padding-right: 0.5rem;
overflow-x: clip;
min-height: 460px;
}
.about-me-section__content {
padding: 1rem 0.5rem;
max-width: 100%;
overflow: hidden;
}
.about-me-section__title {
font-size: clamp(1.38rem, 7vw, 1.9rem);
line-height: 1.12;
margin-bottom: 0.65rem;
max-width: 100%;
overflow-wrap: break-word;
word-break: normal;
hyphens: auto;
}
.about-me-section__text {
font-size: 0.94rem;
line-height: 1.58;
max-width: 100%;
overflow-wrap: break-word;
word-break: normal;
hyphens: auto;
}
.about-me-section__media {
width: calc(100% + 1rem);
margin-left: -0.5rem;
margin-right: -0.5rem;
}
.about-me-section__media-frame {
min-height: 460px;
border-radius: 1rem 0 0 1rem;
width: 100%;
}
.about-me-section__badge {
top: 0.7rem;
left: 0.7rem;
width: 68px;
height: 68px;
}
.faq-section {
padding: 2.5rem 0 5rem;
}
.faq-section__inner {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.faq-category-card {
border-radius: 0.95rem;
padding: 1rem 0.85rem;
}
.faq-category-card__title {
font-size: 1.2rem;
}
}
@media (max-width: 390px) {
.home-hero {
background-position: center, right -3.2rem bottom;
}
}