@charset "UTF-8";
/*
 Theme Name: mediartTheme
 Theme URI:  https://mediart.pl/
 Author:     Krystian
 Version:    1.0.0
 Text Domain: mediartTheme
*/
/*! Settings !*/
*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  font-feature-settings: normal;
  font-variation-settings: normal;
  tab-size: 4;
}

p {
  margin: 0;
  padding: 0;
}

a,
a:focus,
a:hover,
a:active {
  outline: none;
  text-decoration: none;
  color: #000;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
}

/* Odstępy na podstronach */
.site-main {
  margin: clamp(20px, 5vw, 80px);
}

/* linki na treściach wordpressowych */
.entry-content p a {
  color: var(--main-color);
}

/*  Desktop  */
.header-main {
  position: absolute;
  width: 100%;
  height: 300px;
  z-index: 10;
}

.header-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 50px;
}

.contact-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: right;
  gap: 50px;
  align-items: center;
  height: 80px;
}

.site-logo {
  width: clamp(150px, 15vw, 600px);
  z-index: 1010;
}

.logo-link {
  display: flex;
}

.logo-link > img {
  object-fit: contain;
}

.telefon-link, 
.email-link,
.email a{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  gap: 8px;
  transition: color 0.3s ease;
}

.telefon-link:hover, 
.email-link:hover,
.email a:hover{
  color: var(--main-color);
}

.telefon-ikona {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.telefon-ikona svg {
  width: 100%;
  height: 100%;
  display: block;
}

.telefon-numer {
  display: inline-block;
}

.menu-ico {
  color: #ffffff;
  transition: color 0.3s ease;
  display: inline-block;
  width: 45px;
  height: 45px;
}

.menu-ico:hover {
  color: var(--main-color);
}

.menu-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.socials-footer {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}

.socials-ico {
  transition: color 0.3s ease;
  width: 24px;
  height: 24px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.socials-ico:active,
.socials-ico:focus,
.socials-ico:hover {
  color: var(--main-color);
}

.site-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.site-menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
}

.menu-overlay__inner {
  display: flex;
  max-width: 1500px;
  width: 100%;
}

.menu-overlay__nav {
  flex: 0.7;
}

.menu-overlay__nav .menu--vertical {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: right;
}

.menu--vertical .menu-item-has-children > a::after {
  content: "▾";
  display: inline-block;
  font-size: clamp(19px, 1.5vw, 25px);
  transition: transform 0.2s;
}

.menu--vertical .menu-item-has-children.open > a::after {
  transform: rotate(180deg);
}

.menu-overlay__nav .menu--vertical li {
  margin-top: 2vw;
}

.menu-overlay__nav .menu--vertical a {
  color: #fff;
  font-size: clamp(19px, 1.5vw, 25px);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}

.menu-overlay__nav .menu--vertical a:hover,
.menu-overlay__nav .menu--vertical .current-menu-item > a {
  color: var(--main-color, #77b63c);
}

.menu--vertical .sub-menu {
  display: none;
  list-style: none;
  font-size: clamp(19px, 1.5vw, 25px);
}

.menu--vertical .menu-item-has-children.open > .sub-menu {
  display: block;
}

.menu-overlay__info {
  flex: 1;
  font-size: 16px !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.menu-info__item {
  margin-bottom: 1.25rem;
  font-size: 16px !important;
  line-height: 1.4;
}

.menu-info__item a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.menu-info__item a:hover {
  color: var(--main-color, #77b63c);
}

.menu-overlay__info hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 1.5rem 0;
}

.socials {
  align-self: flex-start;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.socials-ico {
  display: inline-flex;
  width: 30px;
  height: 30px;
  line-height: 0;
  color: #fff;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.socials-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.menu-info__item {
  font-size: clamp(18px, 1.5vw, 30px);
}

@media (max-width: 802px) {
  .menu-overlay__inner {
    flex-direction: column;
    text-align: center;
  }
  .menu-overlay__info {
    display: none;
  }
}
.baner {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 1400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.baner-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.493);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10vw;
}

.baner-text {
  color: white;
  text-align: right;
  font-size: 20px;
  max-width: 650px;
}

.baner-text h1 {
  font-size: 60px;
  line-height: 1.2;
  padding-bottom: 20px;
}

.baner-text .green {
  color: var(--main-color);
}

/* ============  TABLET (max-width: 991 px)  ============ */
@media (max-width: 991px) {
  .header-main {
    height: 220px;
  }
  .header-inner {
    padding: 10px 30px;
  }
  .contact-wrapper {
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    height: auto;
  }
  .telefon-link,
  .email a {
    font-size: 15px;
  }
  .telefon-ikona {
    width: 18px;
    height: 18px;
  }
  .menu-ico {
    width: 40px;
    height: 40px;
  }
  .socials {
    flex-direction: column;
    gap: 16px;
    padding-top: 0;
  }
  .baner-overlay {
    padding: 0 8vw;
  }
  .baner-text {
    max-width: 520px;
    font-size: 18px;
  }
  .baner-text h1 {
    font-size: 48px;
    padding-bottom: 16px;
  }
}
/* === MOBILE === */
@media (max-width: 781px) {
  .header-main {
    height: 160px;
  }
  .header-inner {
    padding: 10px 20px;
  }
  .contact-wrapper {
    justify-content: flex-end;
    width: 100%;
  }
  .header-main .telefon,
  .header-main .email,
  .header-main .socials {
    display: none;
  }
  .baner {
    height: 50vh;
  }
  .baner-overlay {
    justify-content: center;
    padding: 0 6vw;
  }
  .baner-text {
    text-align: right;
    max-width: 90%;
    font-size: 16px;
  }
  .baner-text h1 {
    font-size: 34px;
    padding-bottom: 12px;
  }
}
/*=== Sekcja A ===*/
.a-section {
  background: #fff;
  margin-top: 30px;
}

.a-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.a-text {
  margin-top: -50px;
  width: 35vw;
  max-width: 540px;
  margin-left: 100px;
}

.a-subtitle {
  color: var(--main-color);
  font: 400 30px "Montserrat", sans-serif;
}

.a-title {
  font-size: 30px;
  margin: 5px 0;
  font-weight: 700;
}

.a-description {
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  width: 550px;
  max-width: 100%;
  margin-bottom: 30px;
}

.a-button {
  display: flex;
  gap: 10px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 400;
}

.a-button:hover {
  color: #000;
}

.a-round-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #000;
}

.a-button:focus, .a-button:active, .a-button:hover {
  color: #000;
  text-decoration: none;
  border: none;
}

.a-button:hover .a-round-arrow {
  border-color: var(--main-color);
}

.a-button:hover .a-round-arrow svg path {
  fill: var(--main-color);
}

.a-button.baner-btn {
  position: absolute;
  bottom: 150px;
  left: 18.1%;
  transform: translateX(-50%);
}

.a-image-container {
  position: relative;
  width: 50%;
  height: 500px;
  order: 2;
}

.border-a-image {
  position: absolute;
  top: -60px;
  left: -40px;
  width: calc(50vw + 40px - 8px);
  height: 100%;
  border: 1px solid #000;
  border-right: 0;
}

.a-image {
  position: absolute;
  top: -100px;
  left: 0;
  min-width: calc(50vw - 8px);
  min-height: 500px;
}

.a-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* === TABLET === */
@media (max-width: 1000px) {
  .a-content {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .a-text {
    margin-left: 20px;
    text-align: left;
    width: 80%;
    max-width: 640px;
  }
  .a-title {
    font-size: 28px;
  }
  .a-subtitle {
    font-size: 26px;
  }
  .a-description {
    width: 90%;
  }
  .a-image-container {
    width: 100%;
    height: 400px;
    order: 0;
  }
  .border-a-image {
    left: -30px;
    height: 500px;
    width: 106%;
  }
  .a-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
  }
  .a-round-arrow {
    width: 36px;
    height: 36px;
  }
}
/*=== MOBILE ===*/
@media (max-width: 781px) {
  .a-content {
    flex-direction: column-reverse;
    gap: 40px;
    margin-top: 20px;
  }
  .a-image-container {
    width: 100%;
    height: auto;
    order: 0;
  }
  .border-a-image {
    display: none;
  }
  .a-image {
    position: relative;
    top: 0;
    left: 0;
    min-height: auto;
    width: 100%;
  }
  .a-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  .a-text {
    margin: 0;
    width: 90%;
    max-width: 500px;
    text-align: center;
  }
  .a-title {
    font-size: 24px;
  }
  .a-subtitle {
    font-size: 20px;
  }
  .a-description {
    font-size: 15px;
  }
  .a-button-container {
    display: flex;
    justify-content: center;
  }
  .a-round-arrow {
    width: 32px;
    height: 32px;
  }
}
/*=== Sekcja PT ===*/
.c-section {
  position: relative;
  background: #fff;
  margin-top: 200px;
}

.c-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.c-text {
  margin-top: -200px;
  margin-right: 100px;
  text-align: right;
  width: 35vw;
  max-width: 540px;
}

.c-subtitle {
  color: var(--main-color);
  font: 400 30px "Montserrat", sans-serif;
}

.c-title {
  font-size: 30px;
  margin: 5px 0 20px;
  font-weight: 700;
}

.c-description {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 30px;
  width: 550px;
  max-width: 100%;
}

.c-button-container {
  display: flex;
  justify-content: flex-end;
}

.c-button {
  display: flex;
  gap: 10px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 400;
}

.c-round-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #000;
}

.c-button:hover {
  color: #000;
}

.c-button:hover .c-round-arrow {
  border-color: var(--main-color);
}

.c-button:hover .c-round-arrow svg path {
  fill: var(--main-color);
}

.c-image-container {
  position: relative;
  width: 50%;
  height: 500px;
  order: 2;
}

.border-c-image {
  position: absolute;
  top: -60px;
  left: 0;
  width: calc(50vw + 40px - 8px);
  height: 100%;
  border: 1px solid #000;
}

.c-image {
  position: absolute;
  top: -100px;
  left: 0;
  min-width: calc(50vw - 8px);
  min-height: 500px;
}

.c-image img {
  width: 100%;
  height: 800px;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* === TABLET === */
@media (max-width: 1000px) {
  .c-content {
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
  }
  .c-text {
    margin-right: 20px;
    text-align: right;
    width: 90%;
    max-width: 640px;
  }
  .c-title {
    font-size: 28px;
  }
  .c-subtitle {
    font-size: 26px;
  }
  .c-description {
    width: 100%;
    margin-right: -10%;
  }
  .c-image-container {
    width: 100%;
    height: 400px;
    order: 0;
  }
  .border-c-image {
    right: -30px;
    height: 500px;
    width: 106%;
  }
  .c-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
  }
  .c-round-arrow {
    width: 36px;
    height: 36px;
  }
}
/* === MOBILE === */
@media (max-width: 781px) {
  .c-section {
    margin-top: 50px;
  }
  .c-content {
    flex-direction: column-reverse;
    gap: 40px;
    align-items: center;
  }
  .c-image-container {
    width: 100%;
    height: auto;
    order: 0;
  }
  .border-c-image {
    display: none;
  }
  .c-image {
    position: relative;
    top: 0;
    left: 0;
    min-height: auto;
    width: 100%;
  }
  .c-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  .c-text {
    margin: 0;
    width: 90%;
    max-width: 500px;
    text-align: center;
  }
  .c-title {
    font-size: 24px;
  }
  .c-subtitle {
    font-size: 20px;
  }
  .c-description {
    font-size: 15px;
  }
  .c-button-container {
    justify-content: center;
  }
  .c-round-arrow {
    width: 32px;
    height: 32px;
  }
}
.f-section {
  background: #f8f8f8;
  margin-top: 200px;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  max-width: 1920px;
  padding: 0 40px;
  align-items: center;
}

.f-container-up {
  display: flex;
  gap: 40px;
}

.f-container-up-left {
  flex: 1;
}

.f-container-up-right {
  flex: 1;
}

.f-container-up-left h3 {
  font-size: 50px;
  font-weight: 700;
}

.f-container-up-right-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.f-container-up-right-desc {
  margin-top: 20px;
}

.f-container-in {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: 1470px;
}

.f-container-in-box {
  position: relative;
  min-width: 300px;
  width: 350px;
  border: 2px solid #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 8vw, 80px);
  color: #000;
  text-decoration: none;
  padding: 5rem;
}

.f-container-in-box:hover,
.f-container-in-box:focus {
  border-color: var(--main-color);
  color: var(--main-color);
}

.f-container-in-box-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.f-container-in-box-title {
  max-height: 30px;
  overflow: visible;
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.f-container-in-box-cta {
  position: absolute;
  left: 31%;
  bottom: 20px;
}

.f-container-in-box-oferta {
  display: flex;
  gap: 10px;
}

.f-container-in-box-oferta span {
  font-weight: 400;
}

.f-container-in-box-oferta svg path {
  fill: var(--main-color);
}

.f-container-down {
  display: flex;
  justify-content: center;
}

.f-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
}

.f-round-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #000;
}

.f-button:hover .f-round-arrow {
  border-color: var(--main-color);
}

.f-button:hover .f-round-arrow svg path {
  fill: var(--main-color);
}

/* ———— RESPONSYWNOŚĆ ———— */
@media (max-width: 801px) {
  .f-section {
    margin-top: 50px;
  }
  .f-container {
    padding: 0 20px;
    gap: 30px;
  }
  .f-container-up-left h3 {
    font-size: 28px;
  }
  .f-container-up-right-title {
    font-size: 20px;
  }
  .f-container-in-box {
    width: calc(100% - 30px);
  }
  .f-container-in-box-img {
    width: 100px;
    height: 100px;
  }
  .f-round-arrow {
    width: 32px;
    height: 32px;
  }
}
.g-section {
  background: #fff;
  margin-top: 50px;
  padding: 0px 40px;
}

.g-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.g-container > h3 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
}

.g-logos {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: nowrap;
  will-change: transform;
}

.g-logo {
  width: clamp(110px, 18vw, 220px);
  max-height: 110px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(85%);
}

.g-logo:hover {
  filter: none;
}

@keyframes scroll {
  to {
    transform: translateX(var(--moveX));
  }
}
.h-section {
  background: #fff;
  margin-top: 200px;
}

.h-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
padding-bottom: 150px;
}

.h-text {
  margin-top: -200px;
  margin-right: 100px;
  text-align: right;
}

.h-subtitle {
  color: var(--main-color);
  font: 400 30px "Montserrat", sans-serif;
}

.h-title {
  font-size: 30px;
  font-weight: 700;
  margin: 5px 0 20px;
}

.h-description {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  width: 500px;
}

.h-image-container {
  position: relative;
  width: 50%;
  height: 500px;
}

.border-h-image {
  position: absolute;
  top: -60px;
  left: 0;
  width: calc(50vw + 40px - 8px);
  height: 100%;
  border: 1px solid #000;
}

.h-gallery-track {
  position: absolute;
  top: -100px;
  left: 0;
  display: flex;
  gap: 30px;
  overflow: hidden;
  height: 500px;
}

.h-slide-img {
  flex: 0 0 calc(100% - 20px);
  height: 100%;
  width: calc(100% - 20px);
  object-fit: cover;
}

.border-h-image {
  z-index: 1;
}

.h-gallery-track {
  z-index: 1;
}

.h-gallery-btn {
  position: absolute;
  top: calc(100% - 100px);
  width: 150px;
  height: 40px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.h-prev {
  left: 38%;
  transform: translateX(-120%);
}

.h-next {
  left: 62%;
  transform: translateX(120%);
}

.h-next svg {
  transform: rotate(180deg);
}

.h-gallery-btn,
.h-gallery-btn:hover,
.h-gallery-btn:focus,
.h-gallery-btn:active {
  background: transparent !important;
  box-shadow: none !important;
  border: none;
}

/*=== TABLETY  ===*/
@media (max-width: 1299px) {
  .h-content {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }
  .h-text {
    margin: 0;
    width: 70%;
    text-align: center;
  }
  .h-title {
    font-size: 28px;
  }
  .h-subtitle {
    font-size: 26px;
  }
  .h-description {
    width: 90%;
    margin: 0 auto;
  }
  .h-image-container {
    width: 100%;
    height: 400px;
    top: 70px;
  }
  .border-h-image {
    border: none;
    border: 1px solid #000;
    width: 100%;
    top: -40px;
  }
  .h-gallery-track {
    top: -80px;
    gap: 20px;
    height: 400px;
  }
  .h-slide-img {
    flex: 0 0 calc(30% - 10px);
  }
  .h-gallery-btn {
    top: calc(100% - 80px);
    width: 100px;
  }
  .h-prev {
    left: 35%;
    transform: translateX(-160%);
  }
  .h-next {
    left: 50%;
    transform: translateX(160%);
  }
}
/* ===  SMARTFONY === */
@media (max-width: 781px) {
  .h-section {
    margin-top: 100px;
  }
  .h-content {
    gap: 5px;
  }
  .h-text {
    width: 70%;
  }
  .h-title {
    font-size: 24px;
  }
  .h-subtitle {
    font-size: 20px;
  }
  .h-description {
    font-size: 15px;
    width: 100%;
  }
  .h-image-container {
    height: 300px;
    margin-top: 100px;
  }
  .border-h-image {
    display: none;
  }
  .h-gallery-track {
    gap: 5px;
    height: 300px;
  }
  .h-slide-img {
    flex: 50% 0 0;
  }
  .h-gallery-btn {
    width: 72px;
    height: 36px;
    top: calc(100% - 56px);
  }
  .h-prev, .h-next {
    left: 45%;
  }
}
/* Sekcja bloga na stronie startowej */
.homepage-blog {
  /* odstępy sekcji */
  padding: 6rem 2rem;
}

.homepage-blog__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.homepage-blog__header {
  text-align: center;
  margin-bottom: 3rem;
}

.homepage-blog__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: #111827; /* ciemny tekst */
}

.homepage-blog__subtitle {
  font-size: 16px;
  color: #6B7280; /* szary opis */
  margin: 0;
}

.homepage-blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 48px;
}

.homepage-blog__card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.homepage-blog__card:hover h3 {
  color: var(--main-color);
}

.homepage-blog__thumb img {
  width: 100%;
  height: clamp(300px, 50vh, 350px);
  object-fit: cover;
}

.homepage-blog__card-title {
  font-size: 24px;
  font-weight: 700;
  margin: 1rem 0 0.75rem;
}

.homepage-blog__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #4B5563; /* trochę jaśniejszy szary */
  margin: 0;
}

.homepage-blog__cta {
  text-align: center;
  margin-top: 3rem;
}

.homepage-blog__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #bebebe;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #000;
  transition: background 0.25s ease, color 0.25s ease;
}

.homepage-blog__btn:hover {
  background: var(--main-color); /* twoja zmienna lub zapasowy zielony */
  color: #fff;
}

.homepage-blog__btn-icon {
  display: inline-block;
  line-height: 0;
}

@media (max-width: 370px) {
  .homepage-blog {
    padding: 6rem 0;
  }
  .homepage-blog__card-title,
  .homepage-blog__excerpt {
    padding: 0 2rem;
  }
}
.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 290px;
  background-color: rgb(37, 37, 37);
}

.footer-container-inner {
  width: 90%;
  display: flex;
  height: 200px;
  justify-content: space-between;
}

.footer-container-inner > div {
  height: 100px;
}

.footer-logo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100% !important;
  width: 50%;
}

.footer-logo-a {
  height: auto;
}

.footer-logo > a > img {
  width: 250px;
  height: auto;
}

.footer-info1,
.footer-info2 {
  display: flex;
  flex-direction: column;
  color: white;
  padding-left: 10px;
}

.footer-info1 > div,
.footer-info2 > div {
  height: 150px;
  margin: 10px 0;
}

.footer-info1 > div > a,
.footer-info2 > div > a {
  color: white;
}

.footer-info1 > div > p,
.footer-info2 > div > p {
  margin-bottom: 5px;
}

.footer-nav {
  height: 55px;
  background-color: rgb(37, 37, 37);
  color: rgb(17, 24, 39);
  border-top: 2px solid #808080;
}

.rodo-pirv {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  height: 55px;
  gap: 30px;
  background-color: #000000;
  padding: 0 clamp(50px, 4vw, 200px);
}
.rodo-pirv > div{
  margin-left:18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  gap: 5px;
}

.rodo-pirv > div > p,
.rodo-pirv > div > a {
  font-size: 14px;
  color: #FFFFFF;
  height: fit-content;
  font-weight: 400;
}
.rodo-pirv > div > a {
  margin-right: 15px;
}

.rodo-pirv > div > a:focus,
.rodo-pirv > div > a:active,
.rodo-pirv > div > a:hover {
  color: var(--main-color);
}

.footer-nav {
  height: auto;
}

.footer-nav .footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  align-items: center;
  height: 100%;
  min-height: 60px;
  gap: clamp(12px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding-right: clamp(50px, 5vw, 150px);
}

.footer-nav .footer-menu > li a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.footer-nav .footer-menu > li a:hover,
.footer-nav .footer-menu > li a:focus-visible,
.footer-nav .footer-menu > .current-menu-item > a {
  color: var(--main-color);
  outline: none;
}

/* === TABLETY === */
@media (max-width: 991px) {
  .footer-container {
    height: auto;
    min-height: 500px;
    align-items: flex-start;
    padding: 40px 0;
  }
  .footer-container-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 40px;
    width: 95%;
    height: auto;
  }
  .footer-logo {
    width: 100%;
    justify-content: center;
    order: -1;
  }
  .footer-logo > a > img {
    width: 260px;
  }
  .footer-info1,
  .footer-info2 {
    width: 50%;
    min-width: 280px;
    align-items: center;
    text-align: center;
  }
  .footer-info1 > div,
  .footer-info2 > div {
    height: auto;
    margin: 20px 0;
  }
  .footer-nav {
    padding: 12px 0;
  }
  .rodo-pirv {
    justify-content: center;
    padding-left: 0;
    gap: 40px;
  }
}
/*=== TELEFONY ===*/
@media (max-width: 590px) {
  .footer-container {
    padding: 50px 0 30px;
  }
  .footer-container-inner {
    flex-direction: column;
    align-items: center;
    row-gap: 30px;
  }
  .footer-container-inner > div {
    height: auto;
  }
  .footer-logo > a > img {
    width: 200px;
    margin-bottom: 30px;
  }
  .footer-info1,
  .footer-info2 {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .footer-info1 p:first-child,
  .footer-info2 p:first-child {
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
  }
  .footer-info1 a,
  .footer-info2 a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
  }
  .socials-footer {
    flex-direction: row;
    justify-content: center;
  }
  .footer-nav {
    display: none;
  }
  .rodo-pirv {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    gap: 12px;
    padding: 20px 0;
  }
  .rodo-pirv > a {
    padding-top: 0;
    font-size: 13px;
  }
}
.team {
  padding: clamp(20px, 3vw, 40px) 0;
  text-align: center;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
}

.team-card {
  width: 350px;
  height: 350px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.team-card__thumb {
  width: 100%;
  height: 70%;
  overflow: hidden;
}

.team-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  color: #333;
}

.team-card__name a {
  color: inherit;
  text-decoration: none;
}

.team-card__name a:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .team-card {
    width: 200px;
    height: 200px;
  }
  .team-card__thumb img {
    max-height: 139px;
  }
}
@media (max-width: 800px) {
  .team-card {
    width: 100px;
    height: 200px;
  }
  .team-card__thumb img {
    max-height: 102px;
  }
}
/*=== Blog Site ===*/
.blog-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.blog-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.template-blog-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.template-blog-link:hover {
  color: var(--main-color);
}

.blog-card {
  background: #fff;
  padding: 10px;
}

.blog-card:hover h3 {
  color: var(--main-color);
}

.blog-thumbnail img {
  width: 100%;
  height: clamp(300px, 50vh, 350px);
  object-fit: cover;
}

.blog-title {
  margin: 16px 0 8px;
  font-size: 22px;
  color: #000;
}

.blog-excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}

/* ================= Oferta landing v2 ================= */
.offer-landing {
  padding: 4rem 0;
}

.offer-landing .container {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 1rem;
}

.offer-intro {
  margin-bottom: 3rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}

/* --- Flex--- */
.offer-flex {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* =========== KAFELKA =========== */
.offer-card {
  background: #f9f9f9;
  border: 2px solid #000;
  width: 100%;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.offer-card:hover {
  border: 2px solid var(--main-color);
}

.offer-card-link-wrap {
  /* link zajmuje cały kafelek (blok) */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  --link-h: 28px;
  --gap: 10px;
  padding: 2.5rem 1.5rem calc(var(--link-h) + var(--gap));
  color: inherit;
  text-decoration: none;
}

.offer-card-body {
  height: 65%;
}

/* --- Ikona --- */
.offer-card-icon {
  width: 120px;
  height: 70px;
  object-fit: contain;
}

/* --- Tytuł --- */
.offer-card-title {
  margin: 4rem 0 6rem;
  font-size: 1.2rem;
  font-weight: 700;
}

/* --- Link „czytaj więcej” --- */
.offer-card-link {
  text-align: left;
  transform: none;
  left: 31%;
  position: absolute;
  bottom: 10px;
  margin-top: auto; /* dociśnij do dołu */
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.offer-card:focus .offer-card-link,
.offer-card:active .offer-card-link,
.offer-card:hover .offer-card-link {
  color: #000;
}

.offer-card-link svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  fill: none;
  stroke: currentColor;
}

/* --- Lead (opcjonalny) --- */
.offer-card-lead {
  display: none;
} /* ukryj, jeśli nie chcesz opisu na kafelku */
/* --- Komunikat brak --- */
.no-offers {
  text-align: center;
  color: #777;
  padding: 2rem 0;
}

.contact-content {
  background-color: #ffffff;
}

.contact {
  width: fit-content;
  margin: 0 auto;
  padding-inline: 50px;
}

.contact input[type=text],
.contact input[type=email],
.contact input[type=tel],
.contact textarea {
  width: 100%;
  border-bottom: 2px solid #6e6e6e;
  padding: 20px 15px;
  outline: none;
  border: none;
  margin: 5px 0;
  border-bottom: 2px solid #555;
  font-family: "Roboto", sans-serif;
}

.contact-title {
  text-align: center;
  margin: 0;
  padding: 40px 0;
  font-size: clamp(25px, 3vw, 40px);
}

.two-cols {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 10px;
}

.policy {
  width: 100%;
  padding: 20px 0;
  margin: 5px 0;
}

.policy label::after {
  content: " *";
  color: #e74c3c;
}

.wpcf7-list-item-label > a {
  color: var(--main-color);
}

.wpcf7-submit.btn {
  margin: 0 auto;
}

.wpcf7-submit.btn.btn-light {
  --c: var(--main-color, #0098D4);
  --from: color-mix(in srgb, var(--c) 92%, white);
  --to: color-mix(in srgb, var(--c) 80%, black);
  background: var(--c);
  background-image: linear-gradient(to bottom right, var(--from), var(--to));
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  display: block;
  margin: 10px auto 0;
  padding: 0 1rem;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  outline: transparent;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: box-shadow 0.2s ease-in-out, transform 0.15s ease-in-out, filter 0.2s ease-in-out;
}

.wpcf7-submit.btn.btn-light:not([disabled]):hover,
.wpcf7-submit.btn.btn-light:not([disabled]):focus {
  box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.5), -0.125rem -0.125rem 1rem color-mix(in srgb, var(--from) 70%, transparent), 0.125rem 0.125rem 1rem color-mix(in srgb, var(--to) 70%, transparent);
}

.wpcf7-submit.btn.btn-light:not([disabled]):active {
  transform: translateY(1px);
  filter: brightness(0.96);
}

.wpcf7-submit.btn.btn-light:disabled,
.wpcf7-form.submitting .wpcf7-submit.btn.btn-light {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .wpcf7-submit.btn.btn-light {
    transition: none;
  }
}
.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 0 30px 50px 30px;
  text-align: center;
  border: none;
  color: #DC3232;
}

.site-main {
  margin: clamp(20px, 5vw, 80px);
}

body::-webkit-scrollbar {
  width: 15px;
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.363);
  background: #ffffff;
}

body::-webkit-scrollbar-thumb {
  background: var(--main-color);
}

html {
  overflow-y: scroll;
}

@supports (scrollbar-gutter: stable) {
  html {
    overflow-y: auto;
    scrollbar-gutter: stable;
  }
}

/*# sourceMappingURL=style.css.map */
