/* ================================================
   DEKO-BUD — Shared Stylesheet
   ================================================ */

:root {
  --accent: #f2cc00;
  --accent-soft: #fff5a8;
  --gray: #6f6f6f;
  --gray-light: #e8e4d0;
  --gray-bg: #f7f4e4;
  --white: #ffffff;
  --black: #11100d;
  --font: "Archivo", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--black);
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ---- TOP BAR ---- */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 9px 0;
  position: relative;
  z-index: 10;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.topbar-left,
.topbar-right {
  display: flex;
  gap: 28px;
  align-items: center;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* ---- HEADER ---- */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gray-light);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 58px;
  width: auto;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}
.nav-list a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-list > li > a:hover::after,
.nav-list > li > a.active::after {
  width: 100%;
}
.nav-item {
  position: relative;
}
.has-submenu > a {
  padding-right: 15px;
}
.has-submenu > a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s;
}
.has-submenu:hover > a::before,
.has-submenu:focus-within > a::before {
  transform: translateY(-35%) rotate(225deg);
}
.has-submenu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -24px;
  right: -24px;
  height: 22px;
}
.submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: -22px;
  min-width: 250px;
  list-style: none;
  background: var(--black);
  border: 2px solid var(--black);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
  box-shadow: 0 18px 40px rgba(17, 16, 13, 0.18);
}
.submenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 24px;
  width: 16px;
  height: 16px;
  background: var(--black);
  transform: rotate(45deg);
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.submenu a {
  display: block;
  padding: 13px 14px;
  color: var(--white);
  font-size: 11px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition:
    background 0.2s,
    color 0.2s;
}
.submenu a:hover,
.submenu a.active {
  background: var(--accent);
  color: var(--black);
}

/* ---- MOBILE MENU TOGGLE ---- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  z-index: 1100;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition:
    transform 0.35s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.2s;
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- MOBILE NAV OVERLAY ---- */
.mobile-nav {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 96px 32px 56px;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  transform: translate3d(0, -100%, 0);
  transition:
    transform 0.45s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s linear 0.45s;
  pointer-events: none;
  max-width: 100vw;
}
.mobile-nav.open {
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.45s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s;
  pointer-events: all;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  margin-bottom: 40px;
  border-top: 1px solid var(--gray-light);
}
.mobile-nav-links a {
  font-size: clamp(28px, 9vw, 52px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
  color: var(--black);
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-light);
  transition: color 0.2s;
  display: block;
}
.mobile-nav-links a::after {
  display: none;
}
.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  color: var(--accent);
}
.mobile-nav-group {
  border-bottom: 1px solid var(--gray-light);
}
.mobile-nav-group .mobile-nav-parent {
  border-bottom: none;
}
.mobile-submenu {
  display: grid;
  gap: 2px;
  padding: 0 0 18px;
}
.mobile-nav-links .mobile-submenu a {
  position: relative;
  border-bottom: none;
  color: var(--gray);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  padding: 9px 0 9px 22px;
}
.mobile-nav-links .mobile-submenu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: 1px solid var(--black);
  transform: translateY(-50%);
}
.mobile-nav-links .mobile-submenu a.active,
.mobile-nav-links .mobile-submenu a:hover {
  color: var(--black);
}
.mobile-nav-cta {
  align-self: flex-start;
}
.mobile-nav-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  margin-bottom: auto;
}
.mobile-nav-contact a {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--gray);
  transition: color 0.2s;
}
.mobile-nav-contact a:hover {
  color: var(--black);
}
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  padding: 8px;
  line-height: 0;
  transition: color 0.2s;
}
.mobile-nav-close:hover {
  color: var(--accent);
}

/* ---- BUTTONS ---- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--black);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 15px 24px;
  border: 1.5px solid var(--black);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.cta-btn:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

.cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--black);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 13px 22px;
  border: 1.5px solid var(--black);
  cursor: pointer;
  transition: all 0.2s;
}
.cta-outline:hover {
  background: var(--accent);
  color: var(--black);
}

/* ---- SECTIONS ---- */
section.std {
  padding: 120px 0;
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 32px;
}
.section-tag {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-weight: 700;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}
.section-meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
  text-align: right;
  flex-shrink: 0;
  line-height: 1.7;
}

/* ---- TICKER ---- */
.ticker {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  overflow: hidden;
  padding: 16px 0;
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 50s linear infinite;
  gap: 48px;
  padding-right: 48px;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.ticker-bullet {
  color: var(--accent);
  font-size: 16px;
}
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---- SPEC CARDS ---- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.spec-card {
  padding: 32px 28px 78px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.spec-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}
.spec-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
}
.spec-title {
  font-weight: 700;
  font-size: 30px;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 16px;
  margin-top: 8px;
  letter-spacing: -0.005em;
}
.spec-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
}
.spec-card-arrow {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 72px;
  height: 50px;
  margin-top: 0;
  color: var(--black);
  background: var(--accent);
  transition:
    width 0.24s cubic-bezier(0.2, 0.7, 0.2, 1),
    background-color 0.24s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.spec-card-arrow-icon {
  width: 34px;
  height: 26px;
  overflow: visible;
}
.spec-card-arrow-line,
.spec-card-arrow-head {
  transform-box: view-box;
  transition: transform 0.24s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.spec-card-arrow-line {
  transform-origin: 9px 12px;
}
.spec-card:hover .spec-card-arrow,
.spec-card:focus-visible .spec-card-arrow {
  width: 84px;
}
.spec-card:hover .spec-card-arrow-line,
.spec-card:focus-visible .spec-card-arrow-line {
  transform: scaleX(1.45);
}
.spec-card:hover .spec-card-arrow-head,
.spec-card:focus-visible .spec-card-arrow-head {
  transform: translateX(6px);
}

/* ---- ABOUT ---- */
.about {
  background: var(--gray-bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.about-text {
  padding-left: 8px;
}
.about-text h2 {
  font-weight: 700;
  font-size: clamp(40px, 5vw, 48px);
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}
.about-text h2 em {
  font-style: normal;
  color: var(--accent);
}
.about-text p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 540px;
}
.about-text .section-tag {
  margin-bottom: 16px;
}

/* ---- REALIZATIONS ---- */
.real-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(280px, 32vw, 440px);
  gap: 24px;
}
.real-item {
  position: relative;
  overflow: hidden;
  background: var(--gray-bg);
  display: block;
  cursor: pointer;
  height: 100%;
}
.real-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.real-item:hover img {
  transform: scale(1.06);
}
.real-item-1 {
  grid-column: span 7;
}
.real-item-2 {
  grid-column: span 5;
}
.real-item-3 {
  grid-column: span 5;
}
.real-item-4 {
  grid-column: span 7;
}
.real-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  padding: 28px 28px 24px;
  color: var(--white);
}
.real-caption-title {
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.005em;
}
.real-item::after {
  content: "↗";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--black);
  display: grid;
  place-items: center;
  font-size: 18px;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all 0.3s;
}
.real-item:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---- STATS ---- */
.stats {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}
.stat {
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.stat:last-child {
  border-right: none;
}
.stat-num {
  font-weight: 700;
  font-size: clamp(52px, 5.1vw, 82px);
  line-height: 0.9;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0;
  white-space: nowrap;
}
.stat-num-wide {
  font-size: clamp(38px, 4vw, 64px);
  letter-spacing: 0;
}
.stat-unit {
  display: inline-block;
  font-size: 0.46em;
  line-height: 1;
  margin-left: 0.08em;
  vertical-align: 0.42em;
}
.stat-unit sup {
  font-size: 0.65em;
  line-height: 0;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 230px;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--accent);
  color: var(--black);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.cta-banner h2 {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.cta-banner-tag {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.72;
}
.cta-banner-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-banner-mail {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--black);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  transition: all 0.2s;
}
.cta-banner-mail svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.cta-banner-mail:hover {
  background: var(--black);
  color: var(--white);
}

/* ---- FOOTER ---- */
footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer-col h3 {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.footer-logo {
  margin-bottom: 24px;
  display: block;
  max-width: 280px;
  background: transparent;
  padding: 0;
}
.footer-logo img {
  width: 100%;
  height: auto;
}
.footer-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-col li a {
  transition: color 0.2s;
}
.footer-col li a:hover {
  color: var(--accent);
}
.footer-sub {
  margin-left: 14px;
  opacity: 0.72;
}
.footer-sub a::before {
  content: "- ";
  color: var(--accent);
}
.footer-detail {
  font-size: 12px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
}
.footer-detail b {
  color: var(--white);
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
.footer-muted {
  opacity: 0.6;
}
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bar a {
  color: var(--white);
}
.footer-bar a:hover {
  color: var(--accent);
}

/* ---- FLOATING ACTIONS ---- */
.fab-wrap {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.fab {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  border: none;
}
.fab-top {
  background: var(--black);
  color: var(--white);
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    background 0.2s;
}
.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.fab-top:hover {
  background: var(--accent);
  color: var(--black);
}
.fab-phone {
  background: var(--accent);
  color: var(--black);
  display: none;
  text-decoration: none;
}
.fab-phone:hover {
  background: var(--black);
  transform: translateY(-2px);
}
.fab-phone svg,
.fab-top svg {
  width: 22px;
  height: 22px;
}

/* ---- SERVICE DETAIL PAGES ---- */
.service-photo {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--accent);
  overflow: hidden;
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}
.service-photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: 260px;
  background: var(--accent);
  color: var(--black);
  border: 2px solid var(--black);
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}
.service-intro {
  background: var(--gray-bg);
}
.service-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}
.service-copy {
  align-self: center;
  width: 100%;
}
.service-intro-grid > .service-photo,
.service-split > .service-photo {
  aspect-ratio: auto;
  height: 100%;
  min-height: clamp(420px, 40vw, 640px);
}
.service-copy h2 {
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 clamp(34px, 3.2vw, 48px);
}
.service-copy h2 em {
  font-style: normal;
  color: var(--accent);
  text-shadow:
    1px 0 0 var(--black),
    0 1px 0 var(--black);
}
.service-copy p {
  color: #333;
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 680px;
}
.service-copy p:last-child {
  margin-bottom: 0;
}
.service-split--reverse .service-photo {
  order: 1;
}
.service-split--reverse .service-copy {
  order: 2;
}
.service-copy ul {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 36px 0;
  padding: 0;
}
.service-copy ul li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--black);
  font-size: 15px;
  line-height: 1.55;
}
.service-copy ul li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 5px;
  background: var(--accent);
  border: 1px solid var(--black);
}
.service-copy .wp-block-heading {
  margin-top: 0;
}
.why-text p {
  color: #333;
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 28px;
  max-width: 680px;
}
.why-text p:last-child {
  margin-bottom: 0;
}
/* ---- PAGE HERO (subpages) ---- */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  position: relative;
}
.page-hero .section-tag {
  color: var(--accent);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.3);
}
.breadcrumbs [aria-current="page"] {
  color: var(--accent);
}
.page-title {
  font-weight: 700;
  font-size: clamp(48px, 9vw, 64px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.page-title em {
  font-style: normal;
  color: var(--accent);
}

/* ---- ANIMATIONS ---- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.rise {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.rise-1 {
  animation-delay: 0.05s;
}
.rise-2 {
  animation-delay: 0.18s;
}
.rise-3 {
  animation-delay: 0.32s;
}
.rise-4 {
  animation-delay: 0.45s;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }
  header nav,
  header .header-inner > .cta-btn {
    display: none;
  }
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-inner,
  .cta-banner-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
  }
  .stat {
    padding: 0 24px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-intro-grid,
  .service-split {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .service-intro-grid > .service-photo,
  .service-split > .service-photo {
    min-height: clamp(320px, 54vw, 460px);
  }
  .service-split--reverse .service-photo,
  .service-split--reverse .service-copy {
    order: initial;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  .nav-list {
    display: none;
  }
  .header-inner {
    height: 72px;
  }
  .topbar-right {
    gap: 16px;
  }
  .topbar-left {
    display: none;
  }
  .fab-wrap {
    bottom: 20px;
    right: 20px;
  }
  .fab-top {
    display: none !important;
  }
  .fab-phone {
    display: flex;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 24px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .stat:last-child {
    border-bottom: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .real-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }
  .real-item-1,
  .real-item-2,
  .real-item-3,
  .real-item-4 {
    grid-column: span 1;
    aspect-ratio: 16/10;
    height: auto;
  }
  section.std {
    padding: 80px 0;
  }
  .service-photo {
    box-shadow: 10px 10px 0 rgba(242, 204, 0, 0.22);
  }
  .service-intro-grid > .service-photo,
  .service-split > .service-photo {
    min-height: 280px;
  }
  .service-photo-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    font-size: 11px;
  }
  .page-title {
    font-size: clamp(40px, 9vw, 64px);
  }
}

/* ================================================
   PAGE: Home (index.php)
   ================================================ */
.hero {
  position: relative;
  padding: clamp(96px, 13vw, 180px) 0 clamp(88px, 10vw, 140px);
  background-color: var(--accent);
  background-image:
    linear-gradient(
      100deg,
      rgba(242, 204, 0, 0.98) 0%,
      rgba(242, 204, 0, 0.92) 42%,
      rgba(242, 204, 0, 0.45) 72%,
      rgba(17, 16, 13, 0.18) 100%
    ),
    url("../images/deko-bud-hero.webp");
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 820px;
}
.hero-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--accent);
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-headline {
  font-weight: 700;
  font-size: clamp(42px, 6.8vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hero-headline span {
  color: var(--white);
  text-shadow:
    0 2px 0 var(--black),
    2px 0 0 var(--black),
    -2px 0 0 var(--black),
    0 -2px 0 var(--black);
}
.hero-sub {
  max-width: 580px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--black);
}
.hero-sub b {
  font-weight: 700;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.specs-cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.about-photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-text .cta-btn {
  margin-top: 20px;
}
.realizations-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.realizations-cta {
  box-shadow: 0 12px 28px rgba(17, 16, 13, 0.18);
}
.realizations-cta:hover {
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.16);
}
@media (max-width: 1024px) {
  .hero {
    background-position: 68% center;
  }
  .about-photo-grid {
    grid-template-columns: 1fr;
  }
  .realizations-meta {
    align-items: flex-start;
    text-align: left;
  }
}
@media (max-width: 640px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-meta {
    margin-left: auto;
  }
  .realizations-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================
   PAGE: Kontakt (kontakt.php)
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form-wrap h2 {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-bottom: 40px;
}
.contact-form-wrap h2 em {
  font-style: normal;
  color: var(--accent);
  text-shadow:
    1px 0 0 var(--black),
    0 1px 0 var(--black);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--black);
}
input,
select,
textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: 0;
  padding: 14px 16px;
  width: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(242, 204, 0, 0.28);
}
textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%2311100d' d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-submit {
  margin-top: 8px;
}
.form-submit .cta-btn {
  width: 100%;
  justify-content: center;
}
.form-note {
  font-size: 12px;
  color: var(--gray);
  margin-top: 16px;
  line-height: 1.6;
}
.contact-data {
  position: sticky;
  top: 112px;
}
.contact-data h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-bottom: 40px;
}
.contact-data h2 em {
  font-style: normal;
  color: var(--accent);
  text-shadow:
    1px 0 0 var(--black),
    0 1px 0 var(--black);
}
.data-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gray-light);
}
.data-block:last-of-type {
  border-bottom: none;
}
.data-block-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 12px;
  font-weight: 700;
}
.data-block-value {
  font-size: 15px;
  line-height: 1.7;
  color: var(--black);
}
.data-block-value a {
  font-weight: 700;
  font-size: 22px;
  transition: color 0.2s;
}
.data-block-value a:hover {
  color: #7a6600;
}
.data-block-value .muted {
  color: var(--gray);
  font-size: 13px;
  margin-top: 4px;
  display: block;
}
.data-block-address {
  font-weight: 700;
}
.data-company {
  font-size: 14px;
  line-height: 1.85;
  color: #555;
}
.data-company b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.map-section {
  padding: 0;
}
.map-section iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(35%) contrast(1.05);
}
.direct-contact {
  padding: 64px 0;
}
.direct-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--black);
  background: var(--white);
}
.direct-item {
  padding: 40px 36px;
  border-right: 2px solid var(--black);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.direct-item:last-child {
  border-right: none;
}
.direct-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7a6600;
  font-weight: 700;
}
.direct-value {
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
  transition: color 0.2s;
}
.direct-value:hover {
  color: #7a6600;
}
.direct-value-static {
  font-size: 18px;
  font-weight: 700;
}
.direct-sub {
  font-size: 13px;
  color: var(--gray);
  margin-top: -4px;
}
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .contact-data {
    position: static;
  }
  .direct-inner {
    grid-template-columns: 1fr;
  }
  .direct-item {
    border-right: none;
    border-bottom: 2px solid var(--black);
  }
  .direct-item:last-child {
    border-bottom: none;
  }
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .map-section iframe {
    height: 300px;
  }
}

/* ================================================
   PAGE: Realizacje (realizacje.php)
   ================================================ */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(260px, 28vw, 420px);
  gap: 20px;
  margin-bottom: 20px;
}
.gal-item {
  --gal-plus-box: 30px;
  --gal-plus-offset: 18px;
  --gal-plus-line: 16px;
  --gal-plus-stroke: 2px;
  position: relative;
  overflow: hidden;
  background: var(--gray-bg);
  display: block;
  cursor: pointer;
  height: 100%;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.gal-item:hover,
.gal-item:focus-visible {
  border-color: var(--accent);
}
.gal-item:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  filter: brightness(0.96) contrast(1.05);
}
.gal-item:hover img,
.gal-item:focus-visible img {
  transform: scale(1.05);
  filter: brightness(1);
}
.gal-item::before,
.gal-item::after {
  content: "";
  position: absolute;
  top: var(--gal-plus-offset);
  right: var(--gal-plus-offset);
  width: var(--gal-plus-box);
  height: var(--gal-plus-box);
  opacity: 0;
  transform: translate(6px, -6px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}
.gal-item::before {
  background: var(--accent);
  z-index: 2;
}
.gal-item::after {
  background:
    linear-gradient(var(--black), var(--black)) center / var(--gal-plus-line)
      var(--gal-plus-stroke) no-repeat,
    linear-gradient(var(--black), var(--black)) center / var(--gal-plus-stroke)
      var(--gal-plus-line) no-repeat;
  z-index: 3;
}
.gal-item:hover::before,
.gal-item:hover::after,
.gal-item:focus-visible::before,
.gal-item:focus-visible::after {
  opacity: 1;
  transform: translate(0, 0);
}
.gal-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.84), transparent);
  padding: 28px 20px 16px;
  color: var(--white);
  z-index: 1;
}
.gal-title {
  font-weight: 700;
  font-size: clamp(14px, 1.35vw, 18px);
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: 0.02em;
}
.gal-w7 {
  grid-column: span 7;
}
.gal-w5 {
  grid-column: span 5;
}
.gal-w4 {
  grid-column: span 4;
}
.gal-w6 {
  grid-column: span 6;
}
.cats-strip {
  background: var(--black);
  color: var(--white);
  padding: 64px 0;
}
.cats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.cat-item {
  padding: 0 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.cat-item a {
  display: block;
  transition: color 0.2s;
}
.cat-item a:hover {
  color: var(--accent);
}
.cat-name {
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.005em;
}
.cat-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  letter-spacing: 0.04em;
}
body.lightbox-open {
  overflow: hidden;
}
.lightbox {
  --lightbox-nav-size: 64px;
  --lightbox-arrow-size: 30px;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: var(--lightbox-nav-size) minmax(0, 1fr) var(
      --lightbox-nav-size
    );
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 56px);
  background: rgba(17, 16, 13, 0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox-figure {
  grid-column: 2;
  width: min(1120px, 100%);
  max-height: calc(100vh - 112px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.24s ease;
}
.lightbox.open .lightbox-figure {
  transform: translateY(0) scale(1);
}
.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 178px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #080806;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.48);
}
.lightbox-caption {
  margin-top: 14px;
  color: var(--white);
  font-size: clamp(13px, 1.35vw, 17px);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.04em;
}
.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  outline: none;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 34px;
  line-height: 1;
}
.lightbox-nav {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--lightbox-nav-size);
  height: var(--lightbox-nav-size);
  justify-self: center;
  padding: 0;
  font-size: 0;
  line-height: 0;
}
.lightbox-nav::before {
  content: "";
  width: var(--lightbox-arrow-size);
  height: var(--lightbox-arrow-size);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4l8 8-8 8' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4l8 8-8 8' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lightbox-prev::before {
  transform: scaleX(-1);
}
.lightbox-prev {
  grid-column: 1;
}
.lightbox-next {
  grid-column: 3;
}
.lightbox-count {
  position: absolute;
  left: 24px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .gallery-row {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }
  .gal-w7,
  .gal-w5,
  .gal-w4,
  .gal-w6 {
    grid-column: span 1;
    aspect-ratio: 16/10;
    height: auto;
  }
  .cats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
  }
  .cat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 24px;
  }
  .lightbox {
    --lightbox-nav-size: 56px;
    --lightbox-arrow-size: 26px;
    grid-template-columns: var(--lightbox-nav-size) minmax(0, 1fr) var(
        --lightbox-nav-size
      );
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .gallery-row {
    grid-template-columns: 1fr;
  }
  .gal-w7,
  .gal-w5,
  .gal-w4,
  .gal-w6 {
    grid-column: span 1;
  }
  .gal-item {
    --gal-plus-box: 40px;
    --gal-plus-offset: 14px;
    --gal-plus-line: 20px;
  }
  .cats-inner {
    grid-template-columns: 1fr;
  }
  .lightbox {
    grid-template-columns: 1fr;
    padding: 76px 16px 72px;
  }
  .lightbox-figure {
    grid-column: 1;
    max-height: calc(100vh - 148px);
  }
  .lightbox-img {
    max-height: calc(100vh - 220px);
  }
  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
  .lightbox-nav {
    position: fixed;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .lightbox-prev {
    left: calc(50% - 62px);
  }
  .lightbox-next {
    right: calc(50% - 62px);
  }
  .lightbox-count {
    left: 16px;
    bottom: 30px;
  }
}

/* ================================================
   PAGE: Oferta (oferta.php)
   ================================================ */
.offer-section {
  padding: 100px 0;
  position: relative;
}
.offer-section:nth-child(even) {
  background: var(--gray-bg);
}
.offer-section + .offer-section {
  border-top: 1px solid var(--gray-light);
}
.offer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.offer-row.reverse {
  direction: rtl;
}
.offer-row.reverse > * {
  direction: ltr;
}
.offer-visual {
  position: relative;
}
.offer-num {
  position: absolute;
  top: -24px;
  left: -16px;
  font-weight: 700;
  font-size: 120px;
  line-height: 1;
  color: var(--gray-light);
  letter-spacing: -0.03em;
  z-index: 0;
  user-select: none;
}
.offer-img {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--black);
}
.offer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.offer-img:hover img {
  transform: scale(1.04);
}
.offer-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-top: 2px solid var(--black);
  border-right: 2px solid var(--black);
}
.offer-content {
  padding: 8px 0;
}
.offer-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 16px;
  font-weight: 700;
}
.offer-title {
  font-weight: 700;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-bottom: 24px;
}
.offer-title em {
  color: var(--accent);
  font-style: normal;
  text-shadow:
    1px 0 0 var(--black),
    0 1px 0 var(--black),
    -1px 0 0 var(--black),
    0 -1px 0 var(--black);
}
.offer-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #383838;
  margin-bottom: 32px;
  max-width: 520px;
}
.offer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
}
.offer-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  background: var(--accent);
  border: 1px solid var(--black);
  flex-shrink: 0;
}
/* ---- Authorized distributor band ---- */
.partner-panel {
  background: var(--black);
  color: var(--white);
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}
.partner-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(242, 204, 0, 0.05) 0 2px,
    transparent 2px 17px
  );
  pointer-events: none;
}
.partner-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0 30px,
    transparent 30px 44px
  );
}
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.partner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px 9px 12px;
  margin-bottom: 26px;
}
.partner-eyebrow svg {
  width: 16px;
  height: 16px;
}
.partner-heading {
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 48px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.partner-heading em {
  font-style: normal;
  color: var(--accent);
}
.partner-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 34px;
}
.partner-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  max-width: 560px;
}
.partner-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}
.partner-points li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
}
.partner-visual {
  position: relative;
}
.partner-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}
.partner-logo {
  position: absolute;
  z-index: 3;
  left: -18px;
  bottom: -18px;
  background: var(--white);
  border: 2px solid var(--black);
  padding: 16px 20px;
  box-shadow: 8px 8px 0 var(--black);
}
.partner-logo img {
  display: block;
  width: 188px;
  height: auto;
}
.partner-stamp {
  position: absolute;
  z-index: 3;
  top: -26px;
  right: -22px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  border: 2px solid var(--black);
  box-shadow:
    inset 0 0 0 4px var(--accent),
    inset 0 0 0 6px var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(8deg);
  padding: 10px;
}
.partner-stamp span {
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.partner-stamp strong {
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 3px 0 4px;
}
.partner-stamp em {
  font-style: normal;
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.82;
}
@media (max-width: 1024px) {
  .offer-row,
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .offer-row.reverse {
    direction: ltr;
  }
  .offer-num {
    font-size: 80px;
    top: -16px;
    left: -8px;
  }
}
@media (max-width: 640px) {
  .offer-section {
    padding: 72px 0;
  }
  .partner-panel {
    padding: 80px 0;
  }
  .partner-points {
    grid-template-columns: 1fr;
  }
  .partner-stamp {
    width: 104px;
    height: 104px;
    top: -20px;
    right: -10px;
  }
  .partner-stamp strong {
    font-size: 11px;
  }
  .partner-photo {
    box-shadow: 10px 10px 0 rgba(242, 204, 0, 0.2);
  }
  .partner-logo {
    left: -10px;
    bottom: -14px;
    padding: 11px 14px;
    box-shadow: 6px 6px 0 var(--black);
  }
  .partner-logo img {
    width: 140px;
  }
}

/* ================================================
   PAGE: O nas (o-nas.php)
   ================================================ */
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.story-image {
  position: relative;
  background: var(--accent);
}
.story-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.08);
}
.story-image::after {
  content: "Pomiar i wycena gratis";
  position: absolute;
  right: -18px;
  bottom: 28px;
  background: var(--black);
  color: var(--accent);
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.story-text {
  padding-top: 8px;
}
.story-text h2 {
  font-weight: 700;
  font-size: clamp(40px, 5vw, 48px);
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 40px;
  letter-spacing: -0.005em;
}
.story-text h2 em {
  font-style: normal;
  color: var(--accent);
  text-shadow:
    1px 0 0 var(--black),
    0 1px 0 var(--black);
}
.story-text p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 24px;
  color: #333;
  max-width: 560px;
}
.story-text p:last-of-type {
  margin-bottom: 40px;
}
.quote-section {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
}
.quote-inner {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}
blockquote {
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 44px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
blockquote em {
  font-style: normal;
  color: var(--accent);
}
.quote-source {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 32px;
}
.why-us {
  background: var(--gray-bg);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-text h2 {
  font-weight: 700;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-bottom: 32px;
}
.why-text h2 em {
  font-style: normal;
  color: var(--accent);
  text-shadow:
    1px 0 0 var(--black),
    0 1px 0 var(--black);
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 40px 0 36px;
  padding: 0;
}
.why-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-light);
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 18px;
  align-items: center;
}
.why-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 1px solid var(--black);
}
.why-list li:first-child {
  border-top: 1px solid var(--gray-light);
}
.why-list-text strong {
  display: block;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.why-list-text span {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}
.why-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}
@media (max-width: 1024px) {
  .story-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
@media (max-width: 640px) {
  .story-image::after {
    right: 16px;
    bottom: 16px;
  }
}

/* ================================================
   Formularz kontaktowy — honeypot i komunikaty
   ================================================ */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-alert {
  margin-bottom: 28px;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
  border-left: 4px solid;
}
.form-alert ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.form-alert-success {
  background: #eef7ec;
  border-color: #2e7d32;
  color: #1f5223;
}
.form-alert-error {
  background: #fdecea;
  border-color: #c0392b;
  color: #8a2c20;
}
