@font-face {
  font-family: "Kiro";
  src: url("../fonts/kiro-regular.woff2") format("woff2"),
       url("../fonts/kiro-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Kiro";
  src: url("../fonts/kiro-bold.woff2") format("woff2"),
       url("../fonts/kiro-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Kiro";
  src: url("../fonts/kiro-light.woff2") format("woff2"),
       url("../fonts/kiro-light.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

:root {
  --tews-navy: #07182d;
  --tews-gold: #c8a96b;
  --tews-gold-hover: #e2c88a;
  --tews-header-height: 88px;
}

html {
  scroll-padding-top: calc(var(--tews-header-height) + 20px);
}

body.tews-custom-header {
  font-family: "Kiro", sans-serif;
}

.home.tews-custom-header .site-content > .ast-container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.tews-custom-header #page {
  min-height: 0;
  padding-top: 0;
}

/* Defensive fallback for Astra versions that do not apply astra_enable_header. */
.tews-custom-header #masthead.site-header,
.tews-custom-header #colophon.site-footer {
  display: none !important;
}

.tews-header,
.tews-header * {
  box-sizing: border-box;
}

.tews-header {
  position: fixed;
  z-index: 9990;
  inset: 0 0 auto;
  height: var(--tews-header-height);
  color: var(--tews-gold);
  background: #07182d;
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tews-header.is-scrolled {
  background: #07182d;
  border-bottom-color: rgba(200, 169, 107, 0.24);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.admin-bar .tews-header {
  top: 32px;
}

.tews-header__inner {
  width: min(100% - 48px, 1440px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 72px);
}

.tews-header__brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 10px 0;
}

.tews-header__brand img {
  display: block;
  width: clamp(190px, 18vw, 234px);
  height: auto;
}

.tews-header__nav {
  margin-left: auto;
}

.tews-header__menu {
  display: flex;
  align-items: center;
  gap: clamp(7px, 0.8vw, 13px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tews-header__menu > li {
  margin: 0;
}

.tews-header__menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px clamp(12px, 1.15vw, 19px);
  color: var(--tews-gold);
  background: rgba(7, 24, 45, 0.78);
  border: 1px solid rgba(200, 169, 107, 0.76);
  border-radius: 999px;
  font-family: "Kiro", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tews-header__menu > li > a::after {
  display: none;
}

.tews-header__menu > li > a:hover,
.tews-header__menu > li > a:focus-visible {
  color: var(--tews-navy);
  background: var(--tews-gold-hover);
  border-color: var(--tews-gold-hover);
  box-shadow: 0 7px 16px rgba(200, 169, 107, 0.16);
  transform: translateY(-3px);
}

.tews-header__menu > li > a[aria-current="location"],
.tews-header__menu > li > a[aria-current="page"],
.tews-header__menu > li > a.is-current-section {
  color: var(--tews-navy);
  background: var(--tews-gold);
  border-color: var(--tews-gold);
  box-shadow: 0 5px 14px rgba(200, 169, 107, 0.14);
}

.tews-header__menu > li > a[aria-current="location"]:hover,
.tews-header__menu > li > a[aria-current="location"]:focus-visible,
.tews-header__menu > li > a[aria-current="page"]:hover,
.tews-header__menu > li > a[aria-current="page"]:focus-visible,
.tews-header__menu > li > a.is-current-section:hover,
.tews-header__menu > li > a.is-current-section:focus-visible {
  color: var(--tews-navy);
  background: var(--tews-gold);
  border-color: var(--tews-gold);
  box-shadow: 0 7px 16px rgba(200, 169, 107, 0.18);
  transform: translateY(-3px);
}

.tews-header a:focus-visible,
.tews-header button:focus-visible {
  outline: 2px solid var(--tews-gold-hover);
  outline-offset: 4px;
}

.tews-header__toggle,
.tews-header__backdrop,
.tews-header__drawer-art {
  display: none;
}

@media (max-width: 1100px) {
  :root {
    --tews-header-height: 78px;
  }

  .tews-header__inner {
    width: min(100% - 40px, 1040px);
  }

  .tews-header__brand img {
    width: 190px;
  }

  .tews-header__toggle {
    position: relative;
    z-index: 4;
    display: inline-grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    color: var(--tews-gold);
    background: transparent;
    border: 1px solid rgba(200, 169, 107, 0.55);
    border-radius: 50%;
    box-shadow: none;
    cursor: pointer;
  }

  .tews-header__toggle:hover {
    color: var(--tews-gold-hover);
    border-color: var(--tews-gold-hover);
    background: rgba(200, 169, 107, 0.08);
  }

  .tews-header__toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .tews-header__toggle-icon {
    display: grid;
    width: 21px;
    gap: 5px;
  }

  .tews-header__toggle-icon span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .tews-header__toggle[aria-expanded="true"] .tews-header__toggle-icon span:first-child {
    transform: translateY(6.5px) rotate(45deg);
  }

  .tews-header__toggle[aria-expanded="true"] .tews-header__toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .tews-header__toggle[aria-expanded="true"] .tews-header__toggle-icon span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .tews-header__nav {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(430px, 88vw);
    margin: 0;
    padding: calc(var(--tews-header-height) + 42px) 34px 30px;
    flex-direction: column;
    overflow-y: auto;
    background: #07182d;
    border-left: 1px solid rgba(200, 169, 107, 0.24);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.34);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), visibility 260ms;
  }

  .admin-bar .tews-header__nav {
    top: 32px;
  }

  .tews-header.is-menu-open .tews-header__nav {
    transform: translateX(0);
    visibility: visible;
  }

  .tews-header__menu {
    display: grid;
    width: 100%;
    gap: 12px;
  }

  .tews-header__menu > li {
    border: 0;
  }

  .tews-header__menu > li > a {
    display: flex;
    min-height: 52px;
    padding: 13px 18px;
    font-size: 17px;
  }

  .tews-header__menu > li > a::after {
    display: none;
  }

  .tews-header__menu > li:last-child {
    margin-top: 0;
    border: 0;
  }

  .tews-header__menu > li:last-child > a {
    justify-content: center;
    min-height: 50px;
    padding-inline: 20px;
  }

  .tews-header__drawer-art {
    position: relative;
    display: block;
    min-height: 116px;
    margin-top: auto;
    overflow: hidden;
    border-radius: 14px;
    background-image: linear-gradient(90deg, rgba(7, 24, 45, 0.24), rgba(7, 24, 45, 0.62)), var(--tews-menu-art);
    background-position: center;
    background-size: cover;
    opacity: 0.72;
  }

  .tews-header__backdrop {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: block;
    padding: 0;
    background: rgba(1, 8, 18, 0.62);
    border: 0;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms;
  }

  .tews-header.is-menu-open .tews-header__backdrop {
    opacity: 1;
    visibility: visible;
  }

  body.tews-menu-open {
    overflow: hidden;
  }
}

/* HERO / slider */
.tews-hero,
.tews-hero * {
  box-sizing: border-box;
}

.tews-hero {
  position: relative;
  width: 100%;
  height: min(88vh, 900px);
  min-height: 670px;
  overflow: hidden;
  color: #fff;
  background: var(--tews-navy);
}

.tews-hero__slides,
.tews-hero__slide {
  position: absolute;
  inset: 0;
}

.tews-hero__slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms;
}

.tews-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.tews-hero__image,
.tews-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tews-hero__image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  transition: transform 8s ease-out;
}

.tews-hero__slide.is-active .tews-hero__image {
  transform: scale(1.055);
}

.tews-hero__shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(3, 14, 28, 0.94) 0%, rgba(3, 14, 28, 0.78) 35%, rgba(3, 14, 28, 0.28) 70%, rgba(3, 14, 28, 0.38) 100%), linear-gradient(180deg, rgba(3, 14, 28, 0.2) 55%, rgba(3, 14, 28, 0.72) 100%);
}

.tews-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100% - 48px, 1440px);
  height: 100%;
  margin-inline: auto;
  padding-top: calc(var(--tews-header-height) + clamp(70px, 9vh, 120px));
  padding-bottom: clamp(70px, 9vh, 110px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.tews-hero__eyebrow {
  margin: 0 0 18px;
  color: var(--tews-gold-hover);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tews-hero__title {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-family: "Kiro", sans-serif;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.tews-hero__text {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.tews-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.tews-button {
  display: inline-flex;
  min-height: 50px;
  padding: 13px 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tews-gold);
  border-radius: 999px;
  font-family: "Kiro", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tews-button--primary {
  color: var(--tews-navy) !important;
  background: var(--tews-gold);
}

.tews-button--outline {
  color: var(--tews-gold) !important;
  background: rgba(7, 24, 45, 0.72);
}

.tews-button:hover,
.tews-button:focus-visible {
  color: var(--tews-navy) !important;
  background: var(--tews-gold-hover);
  border-color: var(--tews-gold-hover);
  transform: translateY(-2px);
}

.tews-button--static,
.tews-button--static:hover {
  cursor: default;
  transform: none;
}

.tews-hero__controls {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1440px) / 2));
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tews-hero__arrow,
.tews-hero__dots button {
  color: var(--tews-gold);
  background: rgba(7, 24, 45, 0.72);
  border: 1px solid var(--tews-gold);
  cursor: pointer;
}

.tews-hero__arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.tews-hero__dots {
  display: flex;
  gap: 7px;
}

.tews-hero__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
}

.tews-hero__dots button[aria-current="true"] {
  background: var(--tews-gold);
}

/* Simple TEWS footer */
.tews-footer,
.tews-footer * {
  box-sizing: border-box;
}

.tews-footer {
  position: relative;
  z-index: 2;
  padding: 64px 24px 24px;
  color: var(--tews-gold);
  background: var(--tews-navy);
  border-top: 1px solid rgba(200, 169, 107, 0.28);
  font-family: "Kiro", sans-serif;
}

.tews-footer__inner,
.tews-footer__bottom {
  width: min(100%, 1440px);
  margin-inline: auto;
}

.tews-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 48px;
}

.tews-footer__brand img {
  display: block;
  width: 190px;
  height: auto;
}

.tews-footer__brand p {
  max-width: 360px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.tews-footer__brand .tews-footer__details {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  line-height: 1.55;
}

.tews-footer__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tews-footer__menu li {
  margin: 0;
}

.tews-footer__menu a {
  display: inline-flex;
  min-height: 40px;
  padding: 9px 16px;
  align-items: center;
  color: var(--tews-gold);
  background: var(--tews-navy);
  border: 1px solid rgba(200, 169, 107, 0.76);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.tews-footer__menu a:hover,
.tews-footer__menu a:focus-visible {
  color: var(--tews-navy);
  background: var(--tews-gold-hover);
  border-color: var(--tews-gold-hover);
}

.tews-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(200, 169, 107, 0.16);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.tews-footer__bottom p {
  margin: 0;
}

.tews-footer__bottom a {
  color: var(--tews-gold);
  text-decoration: none;
}

@media (max-width: 900px) {
  .tews-hero {
    height: min(86vh, 820px);
    min-height: 650px;
  }

  .tews-hero__content {
    width: calc(100% - 40px);
  }

  .tews-hero__shade {
    background: linear-gradient(90deg, rgba(3, 14, 28, 0.94), rgba(3, 14, 28, 0.46)), linear-gradient(180deg, rgba(3, 14, 28, 0.15), rgba(3, 14, 28, 0.76));
  }

  .tews-footer__inner {
    flex-direction: column;
  }

  .tews-footer__menu {
    justify-content: flex-start;
  }

  .tews-footer__nav {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .tews-hero {
    height: min(88svh, 780px);
    min-height: 620px;
  }

  .tews-hero__image {
    object-position: 62% center;
  }

  .tews-hero__shade {
    background: linear-gradient(90deg, rgba(3, 14, 28, 0.88), rgba(3, 14, 28, 0.42)), linear-gradient(180deg, rgba(3, 14, 28, 0.18), rgba(3, 14, 28, 0.9));
  }

  .tews-hero__content {
    width: calc(100% - 32px);
    padding-top: calc(var(--tews-header-height) + 48px);
    padding-bottom: 52px;
    justify-content: flex-end;
  }

  .tews-hero__eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .tews-hero__title {
    font-size: clamp(36px, 10.2vw, 46px);
    line-height: 1.05;
  }

  .tews-hero__text {
    margin-top: 18px;
    font-size: 16px;
  }

  .tews-hero__actions {
    width: 100%;
    margin-top: 26px;
  }

  .tews-button {
    width: 100%;
  }

  .tews-footer {
    padding: 48px 16px 20px;
  }

  .tews-footer__menu {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tews-footer__menu a {
    justify-content: center;
  }

  .tews-footer__bottom {
    flex-direction: column;
  }
}

/* OnePage service sections */
.tews-onepage,
.tews-onepage * {
  box-sizing: border-box;
}

.tews-onepage {
  display: block;
  width: 100%;
  overflow: visible;
  color: #fff;
  background: var(--tews-navy);
}

.tews-service {
  position: relative;
  scroll-margin-top: var(--tews-header-height);
  padding: clamp(92px, 10vw, 150px) 24px;
  background: #07182d;
}

.tews-service:nth-child(even) {
  background: #091d35;
}

.tews-service::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 80% 10%, rgba(200, 169, 107, 0.08), transparent 35%);
}

.tews-service:nth-child(even)::before {
  background: radial-gradient(circle at 15% 20%, rgba(200, 169, 107, 0.07), transparent 34%);
}

.tews-service__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1360px);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(56px, 7vw, 118px);
}

.tews-service__visual {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(200, 169, 107, 0.32);
  border-radius: 26px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.tews-service__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: inherit;
  box-shadow: inset 0 0 55px rgba(7, 24, 45, 0.22);
}

.tews-service__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tews-service:hover .tews-service__image {
  transform: scale(1.025);
}

.tews-service__number {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 24px;
  color: rgba(226, 200, 138, 0.9);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.tews-service__content {
  grid-column: 1;
  grid-row: 1;
}

.tews-service--reverse .tews-service__visual {
  grid-column: 1;
}

.tews-service--reverse .tews-service__content {
  grid-column: 2;
}

.tews-service__eyebrow {
  margin: 0 0 18px;
  color: var(--tews-gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.tews-service__content h2 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-family: "Kiro", sans-serif;
  font-size: clamp(39px, 4.4vw, 68px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.tews-service__lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
}

.tews-service__note {
  display: inline-flex;
  max-width: 620px;
  margin: 24px 0 0;
  padding: 12px 16px;
  align-items: flex-start;
  gap: 10px;
  color: var(--tews-gold-hover);
  background: rgba(200, 169, 107, 0.08);
  border: 1px solid rgba(200, 169, 107, 0.3);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.tews-service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.tews-service__tags li {
  margin: 0;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(200, 169, 107, 0.22);
  border-radius: 999px;
  font-size: 13px;
}

.tews-service__link {
  display: inline-flex;
  margin-top: 34px;
  align-items: center;
  gap: 12px;
  color: var(--tews-gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none !important;
}

.tews-service__link span {
  transition: transform 180ms ease;
}

.tews-service__link:hover,
.tews-service__link:focus-visible {
  color: var(--tews-gold-hover);
}

.tews-service__link:hover span,
.tews-service__link:focus-visible span {
  transform: translateX(5px);
}

.tews-contact-cta {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  scroll-margin-top: var(--tews-header-height);
  padding: clamp(110px, 12vw, 180px) 24px;
  overflow: hidden;
  text-align: center;
  background-color: #f3ead6;
  background-image: var(--tews-contact-bg, url("https://test.tews.pl/wp-content/uploads/2026/09/TEWS-Kontakt-—-jasne-tlo.png"));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-top: 1px solid rgba(7, 24, 45, 0.12);
}

.tews-contact-cta::before {
  position: absolute;
  inset: -50%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(200, 169, 107, 0.2), transparent 42%);
}

.tews-contact-cta__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  margin-inline: auto;
}

.tews-contact-cta__intro {
  max-width: 980px;
  margin-inline: auto;
}

.tews-contact-cta__eyebrow {
  margin: 0 0 18px;
  color: #806126;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.tews-contact-cta h2 {
  margin: 0;
  color: var(--tews-navy);
  font-family: "Kiro", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.05;
  text-wrap: balance;
}

.tews-contact-cta__card {
  display: grid;
  width: min(100%, 980px);
  min-height: 350px;
  margin: clamp(28px, 4vh, 42px) auto 0;
  padding: clamp(40px, 3.8vw, 48px);
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: clamp(48px, 6vw, 76px);
  text-align: left;
  background: rgba(255, 250, 239, 0.68);
  border: 1px solid rgba(128, 97, 38, 0.26);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(7, 24, 45, 0.08);
  backdrop-filter: blur(7px);
}

.tews-contact-cta__address {
  min-width: 0;
  color: var(--tews-navy);
  font-style: normal;
}

.tews-contact-cta__address h3 {
  margin: 0 0 24px;
  color: var(--tews-navy);
  font-family: "Kiro", sans-serif;
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.2;
}

.tews-contact-cta__details {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tews-contact-cta__details li {
  display: grid;
  min-width: 0;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  color: rgba(7, 24, 45, 0.78);
  font-size: clamp(15px, 1.25vw, 17px);
}

.tews-contact-cta__details span {
  color: #806126;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tews-contact-cta__details a {
  min-width: 0;
  color: var(--tews-navy);
  overflow-wrap: anywhere;
  text-decoration: none;
  text-underline-offset: 4px;
}

.tews-contact-cta__details a:hover,
.tews-contact-cta__details a:focus-visible {
  color: #806126;
  text-decoration: underline;
}

.tews-contact-cta__extra {
  margin-top: 15px;
  color: rgba(7, 24, 45, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.tews-contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tews-contact-cta__actions .tews-button {
  min-height: 50px;
  padding: 13px 24px;
  font-size: 15px;
}

.tews-button--contact-outline {
  color: var(--tews-navy) !important;
  background: transparent;
  border-color: #806126;
}

.tews-contact-cta__qr {
  width: 200px;
  margin: 0;
  text-align: center;
}

.tews-contact-cta__qr-image {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(128, 97, 38, 0.24);
  border-radius: 10px;
}

.tews-contact-cta__qr figcaption {
  margin-top: 12px;
  color: #806126;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .tews-service {
    padding: 90px 20px;
  }

  .tews-service__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tews-service__visual,
  .tews-service--reverse .tews-service__visual {
    grid-column: 1;
    grid-row: 1;
  }

  .tews-service__content,
  .tews-service--reverse .tews-service__content {
    grid-column: 1;
    grid-row: 2;
  }

  .tews-service__content h2,
  .tews-service__lead {
    max-width: 760px;
  }
}

@media (max-width: 560px) {
  .tews-service {
    padding: 72px 16px;
  }

  .tews-service__inner {
    gap: 36px;
  }

  .tews-service__visual {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .tews-service__content h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .tews-service__lead {
    margin-top: 21px;
    font-size: 16px;
  }

  .tews-service__tags {
    margin-top: 24px;
  }

  .tews-contact-cta {
    padding: 92px 16px;
  }

  .tews-contact-cta__card {
    min-height: 0;
    padding: 28px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
  }

  .tews-contact-cta__address {
    width: 100%;
  }

  .tews-contact-cta__qr {
    width: 180px;
  }
}

/* Full-bleed alternating service panels */
.tews-service {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  min-height: min(92vh, 920px);
  padding: 0 24px;
  align-items: stretch;
  background: var(--tews-navy);
}

.tews-service:nth-child(even),
.tews-service--light {
  background: #f3ead6;
}

.tews-service::before {
  display: none;
}

.tews-service__visual,
.tews-service--reverse .tews-service__visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.tews-service__visual::after {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(3, 14, 28, 0.97) 0%, rgba(3, 14, 28, 0.82) 38%, rgba(3, 14, 28, 0.28) 66%, rgba(3, 14, 28, 0.1) 100%), linear-gradient(180deg, rgba(3, 14, 28, 0.08), rgba(3, 14, 28, 0.42));
  box-shadow: none;
}

.tews-service--light .tews-service__visual::after {
  background: linear-gradient(270deg, rgba(247, 239, 220, 0.98) 0%, rgba(247, 239, 220, 0.86) 40%, rgba(247, 239, 220, 0.24) 68%, rgba(247, 239, 220, 0.06) 100%), linear-gradient(180deg, rgba(255, 250, 239, 0.04), rgba(218, 195, 148, 0.18));
}

.tews-service__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tews-service__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1360px);
  min-height: min(92vh, 920px);
  margin-inline: auto;
  padding: clamp(100px, 10vw, 150px) 0;
  align-items: center;
  justify-content: flex-start;
}

.tews-service--reverse .tews-service__inner {
  justify-content: flex-end;
}

.tews-service__content,
.tews-service--reverse .tews-service__content {
  position: relative;
  z-index: 2;
  width: min(620px, 48%);
  grid-column: auto;
  grid-row: auto;
}

.tews-service__number {
  position: static;
  display: block;
  margin-bottom: 22px;
  color: rgba(226, 200, 138, 0.78);
  font-size: 12px;
  letter-spacing: 0.24em;
}

.tews-service--light .tews-service__number,
.tews-service--light .tews-service__eyebrow {
  color: #8b6b30;
}

.tews-service--light .tews-service__content h2 {
  color: var(--tews-navy);
}

.tews-service--light .tews-service__lead {
  color: rgba(7, 24, 45, 0.78);
}

.tews-service--light .tews-service__tags li {
  color: rgba(7, 24, 45, 0.78);
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(7, 24, 45, 0.22);
}

.tews-service--light .tews-service__note {
  color: #6f5425;
  background: rgba(200, 169, 107, 0.13);
  border-color: rgba(111, 84, 37, 0.25);
}

.tews-service--light .tews-service__link {
  color: var(--tews-navy);
}

.tews-service--light .tews-service__link:hover,
.tews-service--light .tews-service__link:focus-visible {
  color: #705425;
}

@media (max-width: 900px) {
  .tews-service,
  .tews-service__inner {
    min-height: min(90vh, 850px);
  }

  .tews-service {
    padding-inline: 20px;
  }

  .tews-service__content,
  .tews-service--reverse .tews-service__content {
    width: min(620px, 63%);
  }
}

@media (max-width: 700px) {
  .tews-service,
  .tews-service__inner {
    min-height: max(780px, 100svh);
  }

  .tews-service {
    padding-inline: 16px;
  }

  .tews-service__inner,
  .tews-service--reverse .tews-service__inner {
    padding: 120px 0 68px;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .tews-service__content,
  .tews-service--reverse .tews-service__content {
    width: 100%;
  }

  .tews-service__visual::after {
    background: linear-gradient(180deg, rgba(3, 14, 28, 0.12) 0%, rgba(3, 14, 28, 0.48) 40%, rgba(3, 14, 28, 0.97) 72%, rgba(3, 14, 28, 0.99) 100%);
  }

  .tews-service--light .tews-service__visual::after {
    background: linear-gradient(180deg, rgba(247, 239, 220, 0.12) 0%, rgba(247, 239, 220, 0.52) 38%, rgba(247, 239, 220, 0.96) 69%, rgba(247, 239, 220, 0.99) 100%);
  }

  .tews-service--light .tews-service__image {
    object-position: 38% center;
  }
}

@media (max-width: 782px) {
  .admin-bar .tews-header,
  .admin-bar .tews-header__nav {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar:not(.wp-admin) .tews-header,
  .admin-bar:not(.wp-admin) .tews-header__nav {
    top: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --tews-header-height: 70px;
  }

  .tews-header__inner {
    width: calc(100% - 32px);
  }

  .tews-header__brand img {
    width: 160px;
  }

  .tews-header__toggle {
    width: 44px;
    height: 44px;
  }

  .tews-header__nav {
    width: min(360px, 92vw);
    padding: calc(var(--tews-header-height) + 30px) 24px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tews-header,
  .tews-header *,
  .tews-header *::before,
  .tews-header *::after,
  .tews-hero *,
  .tews-footer *,
  .tews-onepage * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Optional full-screen scroll-snap presentation.
   Toggle: Appearance > Customize > TEWS.PL — OnePage. */
html.tews-scroll-snap {
  scroll-behavior: smooth;
  scroll-padding-top: 0 !important;
  scroll-snap-type: y mandatory;
}

body.tews-fullscreen-sections .tews-hero,
body.tews-fullscreen-sections .tews-service,
body.tews-fullscreen-sections .tews-contact-cta {
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  max-height: 100vh;
  max-height: 100svh;
  overflow: hidden;
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

body.tews-fullscreen-sections .tews-service__inner {
  height: 100%;
  min-height: 0;
}

body.tews-fullscreen-sections .tews-contact-cta {
  display: flex;
  padding: calc(var(--tews-header-height) + clamp(26px, 4vh, 48px)) 24px clamp(62px, 8vh, 90px);
  align-items: center;
  justify-content: center;
  background-color: #f3ead6;
  background-image: radial-gradient(ellipse at center, rgba(247, 239, 220, 0.62) 0%, rgba(247, 239, 220, 0.28) 42%, rgba(247, 239, 220, 0.06) 68%), var(--tews-contact-bg, url("https://test.tews.pl/wp-content/uploads/2026/09/TEWS-Kontakt-—-jasne-tlo.png"));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

body.tews-fullscreen-sections .tews-contact-cta h2 {
  font-size: clamp(34px, 4.5vw, 60px);
}

@media (max-width: 700px) {
  body.tews-fullscreen-sections .tews-contact-cta {
    padding: calc(var(--tews-header-height) + 24px) 16px 54px;
  }

  body.tews-fullscreen-sections .tews-contact-cta h2 {
    font-size: clamp(31px, 9vw, 43px);
  }

  body.tews-fullscreen-sections .tews-contact-cta__eyebrow {
    margin-bottom: 11px;
    font-size: 10px;
  }

  body.tews-fullscreen-sections .tews-contact-cta__card {
    margin-top: 22px;
    padding: 24px;
    gap: 24px;
  }

  body.tews-fullscreen-sections .tews-contact-cta__address h3 {
    margin-bottom: 18px;
    font-size: 24px;
  }

  body.tews-fullscreen-sections .tews-contact-cta__details {
    gap: 12px;
  }

  body.tews-fullscreen-sections .tews-contact-cta__actions {
    margin-top: 22px;
  }

  body.tews-fullscreen-sections .tews-contact-cta__actions .tews-button {
    width: auto;
    min-height: 48px;
    flex: 1 1 130px;
  }

  body.tews-fullscreen-sections .tews-contact-cta__qr {
    width: 180px;
  }
}

@media (max-height: 820px) {
  body.tews-fullscreen-sections .tews-contact-cta {
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: hidden;
  }
}

body.tews-fullscreen-sections .tews-footer {
  scroll-snap-align: end;
}

/* Vector scroll cue; the external SVG is used as a crisp CSS mask. */
.tews-scroll-cue {
  display: none;
}

body.tews-fullscreen-sections .tews-scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: clamp(14px, 2.5vh, 25px);
  left: 50%;
  display: flex;
  width: 34px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--tews-gold);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: tews-mouse-lift 4.8s ease-in-out infinite;
}

body.tews-fullscreen-sections .tews-scroll-cue span {
  display: block;
  width: 22px;
  height: 34px;
  background: currentColor;
  -webkit-mask: url("../images/mouse.svg") center / contain no-repeat;
  mask: url("../images/mouse.svg") center / contain no-repeat;
}

body.tews-fullscreen-sections .tews-service--light .tews-scroll-cue,
body.tews-fullscreen-sections .tews-contact-cta .tews-scroll-cue {
  color: #806126;
}

body.tews-fullscreen-sections .tews-scroll-cue:hover,
body.tews-fullscreen-sections .tews-scroll-cue:focus-visible {
  color: var(--tews-gold-hover);
  animation-play-state: paused;
}

body.tews-fullscreen-sections .tews-service--light .tews-scroll-cue:hover,
body.tews-fullscreen-sections .tews-service--light .tews-scroll-cue:focus-visible,
body.tews-fullscreen-sections .tews-contact-cta .tews-scroll-cue:hover,
body.tews-fullscreen-sections .tews-contact-cta .tews-scroll-cue:focus-visible {
  color: #5f471f;
}

body.tews-fullscreen-sections .tews-scroll-cue:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@keyframes tews-mouse-lift {
  0%, 70%, 88%, 100% { transform: translate(-50%, 0); }
  79% { transform: translate(-50%, -7px); }
}

/* Flip only the background image while preserving its existing hover zoom. */
#realizacje .tews-service__image,
#o-nas .tews-service__image {
  transform: scaleX(-1);
}

#realizacje:hover .tews-service__image,
#o-nas:hover .tews-service__image {
  transform: scaleX(-1) scale(1.025);
}

/* Astra's built-in back-to-top button, recolored without changing geometry. */
#ast-scroll-top {
  color: #07182d !important;
  background-color: #c8a96b !important;
  transition: background-color 180ms ease !important;
}

#ast-scroll-top .ast-icon.icon-arrow svg {
  fill: #07182d !important;
}

#ast-scroll-top:hover,
#ast-scroll-top:focus-visible {
  color: #07182d !important;
  background-color: #e2c88a !important;
}

@media (max-width: 700px) {
  body.tews-fullscreen-sections .tews-service__inner,
  body.tews-fullscreen-sections .tews-service--reverse .tews-service__inner {
    height: 100%;
    min-height: 0;
    padding: clamp(78px, 12vh, 104px) 0 clamp(68px, 9vh, 82px);
  }

  body.tews-fullscreen-sections .tews-service__number {
    margin-bottom: 8px;
  }

  body.tews-fullscreen-sections .tews-service__eyebrow {
    margin-bottom: 10px;
  }

  body.tews-fullscreen-sections .tews-service__content h2 {
    font-size: clamp(31px, 9.4vw, 43px);
    line-height: 1.02;
  }

  body.tews-fullscreen-sections .tews-service__lead {
    margin-top: 14px;
    font-size: clamp(13px, 3.7vw, 15px);
    line-height: 1.48;
  }

  body.tews-fullscreen-sections .tews-service__note {
    margin-top: 14px;
    padding: 10px 12px;
    font-size: 11px;
  }

  body.tews-fullscreen-sections .tews-service__tags {
    margin-top: 16px;
    gap: 7px;
  }

  body.tews-fullscreen-sections .tews-service__tags li {
    padding: 7px 10px;
    font-size: 10px;
  }

  body.tews-fullscreen-sections .tews-service__link {
    margin-top: 18px;
    font-size: 12px;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  html.tews-scroll-snap {
    scroll-snap-type: y proximity;
  }

  body.tews-fullscreen-sections .tews-service,
  body.tews-fullscreen-sections .tews-contact-cta {
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.tews-scroll-snap {
    scroll-behavior: auto;
    scroll-snap-type: y proximity;
  }

  body.tews-fullscreen-sections .tews-scroll-cue {
    animation: none;
  }
}
