@font-face {
  font-family: "Futurism";
  src: url("../fonts/FUTURISM.OTF") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #000000;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
}

.offer-page {
  background: #000000;
  padding: 60px 0 120px;
}

.offer-shell {
  padding: 0 20px;
}

.offer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.offer-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.offer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.offer-header-text h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 3.5vw, 40px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.offer-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.offer-price {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 22px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 32px;
}

.offer-hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111114;
  margin-bottom: 20px;
}

.offer-hero-button {
  border: none;
  background: transparent;
  padding: 0;
  display: block;
  width: 100%;
  cursor: pointer;
}

.offer-hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.offer-count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.offer-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.offer-thumb {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: #111114;
  padding: 0;
  cursor: pointer;
}

.offer-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.offer-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: #0b0c0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
}

.stat-icon {
  width: 34px;
  height: 34px;
  display: block;
  margin-bottom: 8px;
}

.stat-card span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.stat-card strong {
  font-size: 18px;
  font-weight: 600;
}

.offer-panel {
  background: #0b0c0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.offer-panel h2 {
  font-family: "Futurism", sans-serif;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.offer-description {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  font-size: 15px;
}

.offer-description p {
  margin: 0 0 14px;
}

.offer-description strong,
.offer-description b {
  color: #ffffff;
  font-weight: 600;
}

.offer-description ul,
.offer-description ol {
  margin: 0 0 14px 18px;
  color: rgba(255, 255, 255, 0.75);
}

.offer-description li {
  margin-bottom: 6px;
}

.offer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.offer-contact-list {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.offer-contact-person {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.offer-contact-person:hover {
  opacity: 0.8;
}

.offer-contact-person img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.offer-contact-person h3 {
  font-size: 14px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.offer-contact-person a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 4px;
}

.offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 18px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  background: transparent;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
}

.offer-cta:hover {
  background: #ffffff;
  color: #000000;
}

.offer-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.offer-contact-modal.is-open {
  display: flex;
}

.offer-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.offer-contact-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  background: #0b0c0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  text-align: left;
}

.offer-contact-modal-card h2 {
  font-family: "Futurism", sans-serif;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.offer-contact-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.offer-contact-modal-form {
  display: grid;
  gap: 14px;
}

.offer-contact-modal-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.offer-contact-modal-form input,
.offer-contact-modal-form textarea {
  width: 100%;
  background: #121317;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

.offer-contact-modal-form textarea {
  resize: vertical;
}

.offer-contact-modal-captcha {
  display: flex;
  justify-content: flex-start;
}

.offer-contact-modal-submit {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.offer-contact-modal-submit:hover {
  background: #ffffff;
  color: #000000;
}

.offer-contact-modal-error,
.offer-contact-modal-success {
  margin-bottom: 14px;
  font-size: 13px;
}

.offer-contact-modal-error {
  color: #ffb6b6;
}

.offer-contact-modal-success {
  color: #c6f6d5;
}

.offer-meta-list {
  display: grid;
  gap: 12px;
}

.offer-meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.offer-meta-list strong {
  color: #ffffff;
  font-weight: 600;
}

.offer-details-grid {
  display: grid;
  gap: 12px;
}

.offer-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.offer-detail-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.offer-detail-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.offer-detail-item strong {
  color: #ffffff;
  font-weight: 600;
}

.offer-map-panel {
  padding: 0 !important;
  overflow: hidden;
}

.offer-google-map {
  width: 100%;
  height: 350px;
  background: #0a0a0a;
}

.gm-style-mtc {
  display: none !important;
}

.not-found {
  background: #0b0c0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 20px;
  border-radius: 16px;
  text-align: center;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.gallery-modal.is-open {
  display: flex;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.gallery-dialog {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 64px;
  z-index: 1;
}

.gallery-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image {
  max-width: min(92vw, 1200px);
  max-height: min(82vh, 900px);
  object-fit: contain;
  border-radius: 12px;
  background: #111114;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
}

.gallery-prev {
  left: 24px;
}

.gallery-next {
  right: 24px;
}

.gallery-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 80px 0 50px;
}

.footer-desktop {
  display: block;
}

.footer-mobile {
  display: none;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  width: 160px;
  height: auto;
  margin-bottom: 20px;
}

.footer-col h3 {
  font-family: "Futurism", sans-serif;
  font-size: 20px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-block {
  margin-bottom: 18px;
}

.footer-block p,
.footer-block a {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-block a:hover {
  color: #fdf0d5;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-nav-links a:hover {
  color: #fdf0d5;
}

.footer-realizacja {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-realizacja-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-realizacja-text {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.footer-realizacja-label {
  font-family: "Futurism", sans-serif;
  font-size: 20px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-realizacja img {
  width: 28px;
  height: auto;
}

.footer-bottom {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.footer-socials {
  display: flex;
  gap: 22px;
  font-size: 18px;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: #ffffff;
}

.footer-copy {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
  .offer-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding: 60px 0 40px;
  }

  .footer-desktop {
    display: none;
  }

  .footer-mobile {
    display: block;
  }

  .footer-mobile .footer-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .footer-mobile-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  .footer-mobile-links a {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
  }

  .footer-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
  }

  .footer-mobile-contact a {
    color: inherit;
    text-decoration: none;
  }

  .footer-mobile .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-realizacja {
    align-items: center;
    text-align: center;
  }

  .footer-realizacja-row {
    justify-content: center;
  }

  .footer-realizacja-label {
    margin-top: 20px;
    font-size: 16px;
    letter-spacing: 0.16em;
  }

  .footer-realizacja-text {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .footer-realizacja img {
    width: 22px;
  }
}

@media (max-width: 768px) {
  .offer-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-hero-image img {
    height: 320px;
  }
}
