/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background-color: #0A0A0A;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page container */
.page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0A0A0A;
  overflow: hidden;
}

/* Grain overlay */
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInBtn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo - centered */
.logo {
  position: absolute;
  top: 5vh;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.logo img {
  width: min(300px, 55vw);
  height: auto;
  display: inline-block;
}

/* Full-width Horizontal Collage */
.collage {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: row;
  gap: 2px;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 0.5s forwards;
  width: 100vw;
  padding: 0;
  justify-content: center;
}

.collage__item {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 3 / 4;
  max-height: 52vh;
  overflow: hidden;
}

.collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.collage__item:hover img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.05);
}

/* ===== FOOTER ===== */
.footer {
  position: absolute;
  bottom: clamp(20px, 3vh, 40px);
  left: clamp(20px, 3vw, 48px);
  right: clamp(20px, 3vw, 48px);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 1.0s forwards;
}

/* Contact block */
.contact {
  text-align: left;
}

.contact__address {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 6px;
}

.contact__phone {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  margin-bottom: 6px;
}

.contact__phone a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact__phone a:hover {
  color: #FFFFFF;
}

.contact__links {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.contact__site {
  color: rgba(255, 255, 255, 0.4);
}

.contact__divider {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 6px;
}

.contact__email {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact__email:hover {
  color: #FFFFFF;
}

/* Social icons */
.contact__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
}

.social-link svg {
  width: 100%;
  height: 100%;
}

.social-link--max {
  background: #FFFFFF;
  border-radius: 50%;
  padding: 2px;
  overflow: hidden;
}

.social-link--max img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: invert(1);
}

.social-link--max:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
}

/* Slogan + CTA block */
.slogan-block {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.slogan-block__text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(13px, 1.4vw, 18px);
  color: #FFFFFF;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0;
  animation: fadeInBtn 1s ease-out 1.4s forwards;
}

.cta-btn:hover {
  background: #FFFFFF;
  color: #0A0A0A;
  border-color: #FFFFFF;
}

.cta-btn__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .collage__item:nth-child(5),
  .collage__item:nth-child(6) {
    display: none;
  }

  .collage__item {
    aspect-ratio: 4 / 5;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .logo {
    top: 4vh;
  }

  .logo img {
    width: 60vw;
  }

  .collage {
    gap: 2px;
  }

  .collage__item:nth-child(4),
  .collage__item:nth-child(5),
  .collage__item:nth-child(6) {
    display: none;
  }

  .collage__item {
    aspect-ratio: 1 / 1;
    max-height: 42vh;
  }

  /* Footer: stacked vertical */
  .footer {
    left: 0;
    right: 0;
    bottom: 28px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .contact {
    text-align: center;
  }

  .contact__address {
    font-size: 11px;
  }

  .contact__phone {
    font-size: 11px;
  }

  .contact__links {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .contact__socials {
    justify-content: center;
  }

  .slogan-block {
    text-align: center;
    align-items: center;
    gap: 14px;
  }

  .slogan-block__text {
    font-size: 12px;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 11px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .footer {

        gap: 40px;
        bottom: 102px;
        flex-direction: column-reverse;

  }
  .collage {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 2px;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.5s forwards;
    width: 100vw;
    padding: 0;
    justify-content: center;
}

  .contact__address {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .contact__phone {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .contact__links {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .slogan-block {
    gap: 12px;
  }

  .slogan-block__text {
    font-size: 11px;
  }

  .cta-btn {
    padding: 9px 18px;
    font-size: 10px;
  }

  .collage__item {
    max-height: 44vh;
  }
}
