* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;

  /* DESKTOP остаје исто */
  padding: 0 24px 11vh;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url('images/bg-desktop.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page {
  width: 100%;
  display: flex;
  justify-content: center;
}

.content {
  width: 100%;
  max-width: 760px;
  animation: fadeIn 1.1s ease;
}

/* Main message */
.subtitle {
  font-size: clamp(1.2rem, 1.95vw, 1.7rem);
  line-height: 1.45;
  margin-bottom: 32px;
  color: #8a8a8a;
  font-weight: 500;
  letter-spacing: 0.2px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact line */
.contact-text {
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.5;
  margin-bottom: 16px;
  color: #8a8a8a;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Email */
.email {
  display: inline-block;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.4;
  font-weight: 700;
  color: #8a8a8a;
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 138, 138, 0.6);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
  word-break: break-word;
}

.email:hover {
  color: #bdbdbd;
  border-color: #bdbdbd;
}

.email:focus,
.email:active {
  color: #ffffff;
  border-color: #ffffff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 768px) {
  .content {
    max-width: 100%;
  }

  .subtitle {
    font-size: clamp(1.05rem, 3.5vw, 1.3rem);
    margin-bottom: 28px;
  }

  .contact-text {
    font-size: clamp(1rem, 3vw, 1.12rem);
    margin-bottom: 14px;
  }

  .email {
    font-size: clamp(1rem, 3.1vw, 1.12rem);
  }
}

/* MOBILE PORTRAIT */
@media (orientation: portrait) {
  body {
    /* ⬆️ ЈОШ 20% ВИШЕ ГОРЕ */
    ppadding: 0 18px 28vh;

    background-image:
      linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
      url('images/bg-mobile.jpg');

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

/* PHONES */
@media (max-width: 480px) {
  body {
    padding: 0 16px 30vh;
  }

  .subtitle {
    font-size: clamp(1.05rem, 4vw, 1.25rem);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 92%;
  }

  .contact-text {
    font-size: clamp(1rem, 3.8vw, 1.08rem);
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .email {
    font-size: clamp(0.88rem, 3.2vw, 0.96rem);
    line-height: 1.6;
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  body {
    padding: 0 20px 8vh;
  }

  .subtitle {
    font-size: clamp(0.82rem, 2vw, 0.98rem);
    line-height: 1.4;
    margin-bottom: 18px;
    max-width: 80%;
  }

  .contact-text {
    font-size: clamp(0.88rem, 1.8vw, 1rem);
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .email {
    font-size: clamp(0.88rem, 1.9vw, 1rem);
    line-height: 1.3;
  }
}