/* Style przepisane 1:1 z landing page'a (sekcje realizacji i stopki), aby podstrony wyglądały tak samo. */

/* =========================================================
   OGRODZENIEBUDOWY.PL
   SEKCJA 06 — REALIZACJE V2
========================================================= */

.ogb-projects2,
.ogb-projects2 * {
  box-sizing: border-box;
}

.ogb-projects2 {
  --green: #377f47;
  --sand: #d7ae7b;
  --dark: #172019;

  position: relative;
  padding: 105px 0;

  background:
    radial-gradient(circle at 8% 8%, rgba(55,127,71,.05), transparent 24%),
    #f5f1e9;

  color: #172019;
}

.ogb-projects2__wrap {
  width: min(1360px, calc(100% - 80px));
  margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.ogb-projects2__head {
  max-width: 860px;
  margin-bottom: 45px;
}

.ogb-projects2__eyebrow {
  margin-bottom: 12px;

  color: #a77845;

  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.8px;
}

.ogb-projects2 h2 {
  margin: 0 0 18px !important;

  color: #172019;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -1.5px;
}

.ogb-projects2__lead {
  max-width: 760px;
  margin: 0 !important;

  color: #68736b;

  font-size: 17px;
  line-height: 1.7;
}


/* =========================================================
   GRID
========================================================= */

.ogb-projects2__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}


/* =========================================================
   CARD
========================================================= */

.ogb-project2 {
  overflow: hidden;

  border-radius: 18px;

  background: #fff;

  border: 1px solid rgba(23,32,25,.08);

  box-shadow:
    0 18px 50px rgba(23,32,25,.07);

  transition:
    transform .22s ease,
    box-shadow .22s ease;
}

.ogb-project2:hover {
  transform: translateY(-3px);

  box-shadow:
    0 25px 65px rgba(23,32,25,.11);
}


/* =========================================================
   MAIN IMAGE
========================================================= */

.ogb-project2__media {
  position: relative;

  height: 370px;

  overflow: hidden;

  background: #ddd;
}

.ogb-project2__media img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

.ogb-project2__media::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(10,14,12,.02) 38%,
      rgba(10,14,12,.62) 100%
    );

  pointer-events: none;
}


/* LOCATION */

.ogb-project2__location {
  position: absolute;
  z-index: 2;

  left: 18px;
  top: 18px;

  min-height: 36px;
  padding: 0 12px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  border-radius: 999px;

  background: rgba(16,22,18,.84);

  color: #fff;

  font-size: 13px;
  font-weight: 700;
}

.ogb-project2__location svg {
  width: 15px;
  height: 15px;

  fill: none;
  stroke: #d7ae7b;
  stroke-width: 2;
}


/* TIME */

.ogb-project2__time {
  position: absolute;
  z-index: 2;

  right: 18px;
  top: 18px;

  min-height: 36px;
  padding: 0 12px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  border-radius: 999px;

  background: #d7ae7b;
  color: #172019;

  font-size: 12px;
  font-weight: 800;
}

.ogb-project2__time svg {
  width: 14px;
  height: 14px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}


/* TITLE */

.ogb-project2__title {
  position: absolute;
  z-index: 2;

  left: 22px;
  right: 22px;
  bottom: 20px;
}

.ogb-project2__title span {
  display: block;
  margin-bottom: 5px;

  color: #d7ae7b;

  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.ogb-project2__title h3 {
  margin: 0 !important;

  color: #fff;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.05;
}


/* =========================================================
   GALLERY — POD GŁÓWNYM ZDJĘCIEM
========================================================= */

.ogb-project2__gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;

  padding: 12px 12px 0;

  background: #fff;
}

.ogb-project2__thumb {
  position: relative;

  aspect-ratio: 1.35 / 1;

  overflow: hidden;

  padding: 0;
  border: 0;
  border-radius: 8px;

  background: #ddd;

  cursor: pointer;
}

.ogb-project2__thumb img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform .2s ease,
    opacity .2s ease;
}

.ogb-project2__thumb:hover img {
  transform: scale(1.04);
}

.ogb-project2__thumb.is-active {
  outline: 2px solid #377f47;
  outline-offset: 2px;
}


/* =========================================================
   BODY
========================================================= */

.ogb-project2__body {
  padding: 24px 24px 25px;
}

.ogb-project2__place {
  margin-bottom: 20px;

  color: #717c74;

  font-size: 14px;
  line-height: 1.5;
}


/* SPECS */

.ogb-project2__specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  overflow: hidden;

  border: 1px solid rgba(23,32,25,.08);
  border-radius: 11px;

  background: #f8f6f1;
}

.ogb-project2__spec {
  min-height: 83px;
  padding: 14px 10px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  text-align: center;
}

.ogb-project2__spec:not(:last-child) {
  border-right: 1px solid rgba(23,32,25,.08);
}

.ogb-project2__spec strong {
  display: block;
  margin-bottom: 5px;

  color: #263128;

  font-size: 20px;
  line-height: 1;
}

.ogb-project2__spec span {
  color: #778079;

  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}


/* EXTRA */

.ogb-project2__extra {
  margin-top: 14px;
  padding: 14px 15px;

  display: flex;
  align-items: flex-start;
  gap: 10px;

  border-radius: 9px;

  background: rgba(55,127,71,.07);

  color: #5e695f;

  font-size: 14px;
  line-height: 1.5;
}

.ogb-project2__extra svg {
  flex: 0 0 18px;

  width: 18px;
  height: 18px;

  margin-top: 1px;

  fill: none;
  stroke: #377f47;
  stroke-width: 2;
}

.ogb-project2__extra strong {
  color: #2a362e;
}


/* =========================================================
   CTA
========================================================= */

.ogb-projects2__bottom {
  margin-top: 44px;
  padding: 27px 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      #18201b,
      #101512
    );

  color: #fff;
}

.ogb-projects2__bottom strong {
  display: block;
  margin-bottom: 5px;

  color: #fff;

  font-size: 19px;
}

.ogb-projects2__bottom span {
  color: rgba(255,255,255,.58);

  font-size: 13px;
}

.ogb-projects2__button {
  min-height: 51px;
  padding: 0 19px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 7px;

  background: #377f47;

  color: #fff !important;

  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;

  transition: .2s ease;
}

.ogb-projects2__button:hover {
  color: #fff !important;
  background: #438e53;
  transform: translateY(-2px);
}

.ogb-projects2__button svg {
  width: 17px;
  height: 17px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

  .ogb-projects2 {
    padding: 85px 0;
  }

  .ogb-projects2__wrap {
    width: min(100% - 50px, 1000px);
  }

  .ogb-projects2__grid {
    grid-template-columns: 1fr;
  }

  .ogb-project2__gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .ogb-projects2 {
    padding: 68px 0;
  }

  .ogb-projects2__wrap {
    width: calc(100% - 34px);
  }

  .ogb-projects2__head {
    margin-bottom: 28px;
  }

  .ogb-projects2__eyebrow {
    font-size: 9px;
    letter-spacing: 2.2px;
  }

  .ogb-projects2 h2 {
    margin-bottom: 14px !important;

    font-size: 38px;
    letter-spacing: -1.2px;
  }

  .ogb-projects2__lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .ogb-projects2__grid {
    gap: 18px;
  }

  .ogb-project2 {
    border-radius: 14px;
  }

  .ogb-project2__media {
    height: 300px;
  }

  .ogb-project2__location {
    left: 12px;
    top: 12px;

    font-size: 11px;
  }

  .ogb-project2__time {
    right: 12px;
    top: 12px;

    font-size: 11px;
  }

  .ogb-project2__title {
    left: 16px;
    right: 16px;
    bottom: 15px;
  }

  .ogb-project2__title span {
    font-size: 10px;
  }

  .ogb-project2__title h3 {
    font-size: 27px;
  }

  .ogb-project2__gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;

    padding: 10px 10px 0;
  }

  .ogb-project2__thumb {
    aspect-ratio: 1.25 / 1;
    border-radius: 7px;
  }

  .ogb-project2__body {
    padding: 20px 16px;
  }

  .ogb-project2__place {
    font-size: 13px;
  }

  .ogb-project2__specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .ogb-project2__spec {
    min-height: 72px;
  }

  .ogb-project2__spec:nth-child(2) {
    border-right: 0;
  }

  .ogb-project2__spec:nth-child(1),
  .ogb-project2__spec:nth-child(2) {
    border-bottom: 1px solid rgba(23,32,25,.08);
  }

  .ogb-project2__spec strong {
    font-size: 18px;
  }

  .ogb-project2__spec span {
    font-size: 10px;
  }

  .ogb-project2__extra {
    font-size: 13px;
  }

  .ogb-projects2__bottom {
    margin-top: 24px;
    padding: 20px 17px;

    align-items: flex-start;
    flex-direction: column;
  }

  .ogb-projects2__button {
    width: 100%;
  }

}

/* =========================================================
   OGRODZENIEBUDOWY.PL
   FINAL CTA / KONTAKT V2
========================================================= */

.ogb-final,
.ogb-final * {
  box-sizing: border-box;
}

.ogb-final {
  position: relative;
  padding: 88px 0 34px;

  background:
    linear-gradient(
      135deg,
      #172019 0%,
      #101512 100%
    );

  color: #fff;
}

.ogb-final__wrap {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
}


/* CTA BOX */

.ogb-final__box {
  padding: 48px 48px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.06),
      rgba(255,255,255,.025)
    );

  border: 1px solid rgba(255,255,255,.10);
}

.ogb-final__eyebrow {
  margin-bottom: 12px;

  color: #d7ae7b;

  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.6px;
}

.ogb-final h2 {
  max-width: 700px;
  margin: 0 0 15px !important;

  color: #fff;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -1.5px;
}

.ogb-final__lead {
  max-width: 650px;
  margin: 0 !important;

  color: rgba(255,255,255,.68);

  font-size: 17px;
  line-height: 1.65;
}


/* ACTIONS */

.ogb-final__actions {
  min-width: 285px;

  display: grid;
  gap: 10px;
}

.ogb-final__btn {
  min-height: 56px;
  padding: 0 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border-radius: 8px;

  font-size: 14px;
  font-weight: 800;

  text-decoration: none !important;

  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.ogb-final__btn--green {
  background: #377f47;
  color: #fff !important;
}

.ogb-final__btn--green:hover {
  color: #fff !important;

  background: #438e53;
  transform: translateY(-2px);
}

.ogb-final__btn--outline {
  border: 1px solid rgba(255,255,255,.35);

  color: #fff !important;
}

.ogb-final__btn--outline:hover {
  color: #fff !important;

  border-color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.04);

  transform: translateY(-2px);
}

.ogb-final__btn svg {
  width: 18px;
  height: 18px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* CONTACTS */

.ogb-final__contacts {
  margin-top: 28px;
  padding: 24px 0;

  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 24px;

  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.ogb-final__contact {
  min-width: 0;
}

.ogb-final__contact-label {
  display: block;
  margin-bottom: 6px;

  color: #d7ae7b;

  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
}

.ogb-final__contact strong,
.ogb-final__contact a {
  color: #fff !important;

  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;

  text-decoration: none !important;
}

.ogb-final__contact span {
  display: block;

  color: rgba(255,255,255,.55);

  font-size: 13px;
  line-height: 1.5;
}

.ogb-final__contact a:hover {
  color: #d7ae7b !important;
}


/* FOOT */

.ogb-final__foot {
  padding-top: 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  color: rgba(255,255,255,.42);

  font-size: 12px;
  line-height: 1.4;
}

.ogb-final__brand {
  color: #fff;

  font-size: 18px;
  font-weight: 700;
}

.ogb-final__brand strong {
  color: #d7ae7b;
}


/* TABLET */

@media (max-width: 1050px) {

  .ogb-final__wrap {
    width: min(100% - 50px, 1000px);
  }

  .ogb-final__box {
    grid-template-columns: 1fr;
  }

  .ogb-final__actions {
    min-width: 0;
    grid-template-columns: 1fr 1fr;
  }

  .ogb-final__contacts {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* MOBILE */

@media (max-width: 767px) {

  .ogb-final {
    padding: 65px 0 24px;
  }

  .ogb-final__wrap {
    width: calc(100% - 34px);
  }

  .ogb-final__box {
    padding: 28px 20px;

    gap: 24px;

    border-radius: 14px;
  }

  .ogb-final__eyebrow {
    font-size: 9px;
    letter-spacing: 2.1px;
  }

  .ogb-final h2 {
    margin-bottom: 13px !important;

    font-size: 37px;
    letter-spacing: -1.2px;
  }

  .ogb-final__lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .ogb-final__actions {
    grid-template-columns: 1fr;
  }

  .ogb-final__btn {
    width: 100%;
    min-height: 54px;

    font-size: 14px;
  }

  .ogb-final__contacts {
    grid-template-columns: 1fr;

    gap: 18px;

    padding: 22px 0;
  }

  .ogb-final__contact strong,
  .ogb-final__contact a {
    font-size: 15px;
  }

  .ogb-final__contact span {
    font-size: 13px;
  }

  .ogb-final__foot {
    align-items: flex-start;
    flex-direction: column;

    font-size: 11px;
  }

}

/* =========================================================
   PODSTRONY REALIZACJI
========================================================= */
.ogb-sub-head { background: #101512; color: #fff; }
.ogb-sub-head__wrap { width: min(1360px, calc(100% - 80px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; gap: 38px; }
.ogb-sub-head__brand { flex: 0 0 auto; color: #fff !important; font-size: 25px; line-height: 1; font-weight: 700; letter-spacing: -.6px; }
.ogb-sub-head__brand strong { color: #d7ae7b; }
.ogb-sub-head__menu { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.ogb-sub-head__menu a { color: rgba(255,255,255,.83) !important; font-size: 14px; font-weight: 600; }
.ogb-sub-head__menu a:hover, .ogb-sub-head__menu a[aria-current] { color: #fff !important; }
.ogb-sub-head__cta { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 7px; background: #d7ae7b; color: #162019 !important; font-size: 13px; font-weight: 800; }
.ogb-projects2--page { padding-top: 64px; }
.ogb-projects2 h1 { margin: 0 0 18px !important; color: #172019; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 4vw, 58px); line-height: 1.04; letter-spacing: -1.5px; }
.ogb-projects2 .ogb-project2__title h2 { margin: 0 !important; font-size: 31px; line-height: 1.05; letter-spacing: 0; }
.ogb-project2__title h2 a { color: #fff !important; text-decoration: none; }
.ogb-project2__title h2 a::after { content: ""; position: absolute; inset: 0; }
.ogb-project2__media { cursor: default; }
.ogb-project2__more { display: inline-block; margin-top: 16px; color: #377f47 !important; font-size: 14px; font-weight: 800; }
.ogb-projects2__all { margin-top: 36px; display: flex; justify-content: center; }
.ogb-projects2__all-btn { min-height: 51px; padding: 0 24px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid #172019; border-radius: 7px; color: #172019 !important; font-size: 14px; font-weight: 800; }
.ogb-projects2__all-btn:hover { background: #172019; color: #fff !important; }
.ogb-projects2__all-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.ogb-single__crumbs { margin-bottom: 26px; color: #717c74; font-size: 13px; }
.ogb-single__crumbs a { color: #377f47 !important; font-weight: 700; }
.ogb-project2--single:hover { transform: none; }
.ogb-project2--single .ogb-project2__media { height: clamp(320px, 52vw, 680px); }
.ogb-project2--single .ogb-project2__gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.ogb-project2--single .ogb-project2__body { padding: 30px; }
.ogb-single__content { max-width: 820px; margin-top: 24px; color: #4f5a52; font-size: 17px; line-height: 1.7; }
.ogb-single__source { margin: 22px 0 0 !important; font-size: 14px; }
.ogb-single__source a { color: #377f47 !important; font-weight: 800; }
.navigation.pagination { margin-top: 36px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.navigation.pagination .page-numbers { min-width: 42px; min-height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(23,32,25,.15); border-radius: 7px; color: #172019; font-weight: 700; }
.navigation.pagination .current { background: #172019; color: #fff; }
@media (max-width: 1050px) {
  .ogb-sub-head__wrap { width: min(100% - 50px, 1000px); }
  .ogb-sub-head__menu { display: none; }
  .ogb-sub-head__cta { margin-left: auto; }
}
@media (max-width: 767px) {
  .ogb-sub-head__wrap { width: calc(100% - 34px); min-height: 66px; gap: 12px; }
  .ogb-sub-head__brand { font-size: 18px; }
  .ogb-sub-head__cta { min-height: 40px; padding: 0 11px; font-size: 11px; }
  .ogb-projects2--page { padding-top: 40px; }
  .ogb-projects2 h1 { font-size: 38px; letter-spacing: -1.2px; }
  .ogb-projects2 .ogb-project2__title h2 { font-size: 27px; }
  .ogb-project2__specs { grid-template-columns: repeat(2, 1fr) !important; }
  .ogb-project2--single .ogb-project2__body { padding: 20px 16px; }
  .ogb-project2__spec:nth-child(n) { border-right: 0; }
}
