@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: var(--page-bg, #000000);
  color: var(--page-text, #ffffff);
  font-family: "Montserrat", sans-serif;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

:root {
  --page-bg: #000000;
  --page-text: #ffffff;
  --panel-bg: #1a1a1d;
  --panel-text: #ffffff;
  --panel-muted: rgba(255, 255, 255, 0.78);
  --panel-subtle: rgba(255, 255, 255, 0.75);
  --frame-color: #ffffff;
}

[data-theme="light"] {
  --page-bg: #f6f6f4;
  --page-text: #141414;
  --panel-bg: #ededec;
  --panel-text: #141414;
  --panel-muted: rgba(20, 20, 20, 0.78);
  --panel-subtle: rgba(20, 20, 20, 0.75);
  --frame-color: #141414;
}

.hero {
  position: relative;
  min-height: 55vh;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  animation: heroFade 36s infinite;
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
}
.hero-slide:nth-child(2) {
  animation-delay: 6s;
}
.hero-slide:nth-child(3) {
  animation-delay: 12s;
}
.hero-slide:nth-child(4) {
  animation-delay: 18s;
}
.hero-slide:nth-child(5) {
  animation-delay: 24s;
}
.hero-slide:nth-child(6) {
  animation-delay: 30s;
}

@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }
  6% {
    opacity: 1;
  }
  24% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 0;
    transform: scale(0.98);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.1) 35%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: "Futurism", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(28px, 4vw, 56px);
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
}

.hero-actions {
  display: inline-flex;
  gap: 16px;
  margin-top: 18px;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border: 2px solid #ffffff;
  color: #000000;
  background: #ffffff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.hero-action-outline {
  background: transparent;
  color: #ffffff;
}

.hero-action:hover {
  background: transparent;
  color: #ffffff;
}

.hero-action-outline:hover {
  background: #ffffff;
  color: #000000;
}

.offer-section {
  padding: 60px 0 90px;
  background: var(--page-bg, #000000);
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.offer-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  overflow: visible;
}

.offer-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.offer-logo {
  width: 220px;
  max-width: 70%;
  height: auto;
}

.offer-photo-frame {
  border-top: 6px solid var(--frame-color, #ffffff);
  border-left: 6px solid var(--frame-color, #ffffff);
  padding: 0;
  display: block;
  width: 120%;
  height: 100%;
  z-index: 3;
  position: absolute;
  inset: 0;
  right: -20%;
}

.offer-photo-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2.3;
  overflow: visible;
  margin-top: 130px;
}

.offer-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.offer-google {
  width: 160px;
  height: auto;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px 12px;
  margin-top: -70px;
  z-index: 4;
  position: relative;
}

.offer-right {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.offer-box {
  background: var(--panel-bg, #1a1a1d);
  padding: 64px 56px 60px 140px;
  max-width: 640px;
  width: 100%;
  margin-left: -120px;
  color: var(--panel-text, #ffffff);
}

.offer-box h2 {
  font-family: "Futurism", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(20px, 2.4vw, 32px);
  margin-bottom: 16px;
}

.offer-subtitle {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--panel-subtle, rgba(255, 255, 255, 0.75));
  margin-bottom: 24px;
}

.offer-box h3 {
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 18px 0 10px;
}

.offer-box p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--panel-muted, rgba(255, 255, 255, 0.78));
}

.offer-section-mobile {
  padding: 50px 0 70px;
}

.offer-mobile {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 20px 32px;
  background: var(--panel-bg, #1a1a1d);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.offer-mobile h2 {
  font-family: "Futurism", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(20px, 6vw, 30px);
  margin-bottom: 12px;
}

.offer-mobile .offer-subtitle {
  margin-bottom: 20px;
}

.offer-mobile-image {
  margin: 18px 0 22px;
  border-top: 4px solid var(--frame-color, #ffffff);
  border-left: 4px solid var(--frame-color, #ffffff);
}

.offer-mobile-image img {
  display: block;
  width: 100%;
  height: auto;
}

.offer-mobile h3 {
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 18px 0 10px;
}

.offer-mobile p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--panel-muted, rgba(255, 255, 255, 0.78));
}

.offers-carousel-section {
  padding: 70px 0 90px;
  background: var(--page-bg, #000000);
}

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

.offers-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.offers-carousel-header h2 {
  font-family: "Futurism", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(22px, 3vw, 36px);
}

.offers-carousel-controls {
  display: flex;
  gap: 12px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.carousel-btn:hover {
  background: #ffffff;
  color: #000000;
}

.offers-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.offers-carousel::-webkit-scrollbar {
  height: 6px;
}

.offers-carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.carousel-card {
  background: #0b0c0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.carousel-image {
  position: relative;
  display: block;
  height: 200px;
  overflow: hidden;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-price {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-body {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.carousel-body h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.carousel-body h3 a {
  color: #ffffff;
  text-decoration: none;
}

.carousel-body h3 a:hover {
  text-decoration: underline;
}

.carousel-location {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.carousel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.carousel-empty {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.services-section {
  padding: 70px 0 90px;
  background: var(--page-bg, #000000);
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.services-container h2 {
  font-family: "Futurism", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background-color: #090a0b;
  color: var(--page-text, #ffffff);
  padding: 40px 26px 44px;
  text-align: center;
  min-height: 360px;
}

.service-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon i {
  font-size: 36px;
  color: var(--page-text, #ffffff);
}

.service-card h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--panel-muted, rgba(255, 255, 255, 0.78));
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section {
  padding: 60px 0 90px;
  background: var(--page-bg, #000000);
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 360px;
  padding: 22px 44px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 17px;
  background: transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

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

.team-section {
  padding: 70px 0 90px;
  background: var(--page-bg, #000000);
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.team-container h2 {
  font-family: "Futurism", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.team-card {
  background-color: #090a0b;
  padding: 40px 68px 44px;
  text-align: center;
  color: var(--page-text, #ffffff);
  min-height: 520px;
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 22px;
}

.team-card h3 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.team-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--panel-muted, rgba(255, 255, 255, 0.78));
  margin-bottom: 24px;
}

.team-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 18px 30px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 14px;
  background: transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.team-button:hover {
  background-color: #ffffff;
  color: #000000;
}

.stats-section {
  padding: 60px 0 90px;
  background: var(--page-bg, #000000);
}

.stats-box {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 500px;
  background: url("../images/box.jpg") center top / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 1, 1, 0.82) 0%,
    rgba(1, 1, 1, 0.9) 100%
  );
  z-index: 1;
}

.stats-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.stats-number {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.stats-label {
  margin-top: 10px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: clamp(14px, 2.4vw, 22px);
  font-weight: 400;
}

.accordion-section {
  padding: 70px 0 100px;
  background: var(--page-bg, #000000);
}

.accordion-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.accordion-container h2 {
  font-family: "Futurism", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(22px, 3vw, 36px);
  margin-bottom: 36px;
}

.accordion {
  text-align: left;
}

.accordion-item {
  border: none;
  background: transparent;
  color: var(--page-text, #ffffff);
  padding: 4px 0;
}

.accordion-item + .accordion-item {
  margin-top: 0;
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--page-text, #ffffff);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 10px 0;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::before {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: inherit;
}

.accordion-item[open] summary::before {
  content: "-";
}

.accordion-item summary:hover,
.accordion-item[open] summary {
  color: #fdf0d5;
}

.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.accordion-item p {
  margin: 0 0 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--panel-muted, rgba(255, 255, 255, 0.78));
}

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

.footer-desktop {
  display: block;
}

.footer-mobile {
  display: none;
}

.footer-container {
  max-width: 1200px;
  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: 900px) {
  .offer-section,
  .offer-section-mobile,
  .offers-carousel-section,
  .services-section,
  .cta-section,
  .team-section,
  .stats-section,
  .accordion-section {
    padding: 40px 0 60px;
  }

  .offers-carousel-container,
  .services-container,
  .cta-container,
  .team-container,
  .accordion-container {
    padding: 0 16px;
  }

  .offer-mobile {
    padding: 24px 16px 28px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .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) {
  .stats-section {
    padding: 60px 0 80px;
  }

  .stats-box {
    margin: 0 20px;
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .cta-container {
    gap: 24px;
  }

  .cta-button {
    width: 100%;
    min-width: 0;
  }

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

  .offers-carousel-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
    height: 60vh;
  }

  .offer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .offer-right {
    justify-content: flex-start;
  }

  .offer-box {
    max-width: 100%;
  }

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