.photo-wrap {
  position: relative;
  flex: 0 0 auto;
  /* ДОДАЄМО padding-bottom щоб плашка мала місце */
  padding-bottom: 30px;
  animation: smokeIn 1.2s ease-out both, float 7s ease-in-out infinite 1.2s;
}

.photo-wrap::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50% 40% 50% 40%;
  background: radial-gradient(ellipse, rgba(227,0,0,.28) 0%, transparent 70%);
  animation: neonBorder 2.5s ease-in-out infinite;
  z-index: -1;
  filter: blur(10px);
}

.photo-frame {
  position: relative;
  width: 420px;
  height: 540px;
  border-radius: 2px 24px 2px 24px;
  overflow: hidden;
  border: 1px solid rgba(227,0,0,.55);
  animation: neonBorder 2.5s ease-in-out infinite;
  /* БЕЗ будь-яких z-index проблем */
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: contrast(1.08) saturate(1.15) brightness(1.02);
  display: block;
  position: relative;
  z-index: 1;
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 90%, rgba(139,0,0,.45) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(227,0,0,.18) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(10,0,0,.6) 100%);
  z-index: 3;
}

.photo-smoke {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  z-index: 4;
  pointer-events: none;
}

.photo-smoke span {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(139,0,0,.38) 0%, rgba(227,0,0,.12) 40%, transparent 70%);
  filter: blur(16px);
  animation: smokeRise 3.5s ease-out infinite;
}

.photo-smoke span:nth-child(1) { left:8%;  width:80px;  height:80px;  animation-delay:0s;   }
.photo-smoke span:nth-child(2) { left:42%; width:100px; height:100px; animation-delay:1.2s; }
.photo-smoke span:nth-child(3) { left:68%; width:70px;  height:70px;  animation-delay:0.6s; }

/* ПЛАШКА — повністю поза рамкою */
.photo-badge {
  position: absolute;
  bottom: 0;           /* прив'язана до низу photo-wrap */
  left: 50%;
  transform: translateX(-50%);
  background: #0d0000;
  border: 1px solid rgba(227,0,0,.55);
  border-radius: 2px;
  padding: 8px 30px;
  font-size: .68rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--neon2);
  white-space: nowrap;
  box-shadow: 0 0 12px var(--accent), 0 0 24px rgba(227,0,0,.3);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  z-index: 100;        /* максимальний пріоритет */
}/* ====== FOOTER CONTACTS NEON ====== */
footer {
  position: relative;
  z-index: 1;
  background: rgba(4,0,0,.97);
  border-top: 1px solid rgba(227,0,0,.15);
  padding: 55px 30px 40px;
  text-align: center;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(227,0,0,.4);
}

/* радіальне неонове світло знизу */
footer::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(227,0,0,.12) 0%, transparent 70%);
  pointer-events: none;
}

.footer-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 10px;
  margin-bottom: 8px;
  animation: neonPulse 2.5s ease-in-out infinite;
}

.footer-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: rgba(255,102,102,.45);
  letter-spacing: 5px;
  font-style: italic;
  margin-bottom: 48px;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 44px;
  max-width: 900px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  text-decoration: none;
  border: 1px solid rgba(227,0,0,.25);
  border-radius: 2px;
  background: rgba(15,0,0,.6);
  min-width: 240px;
  position: relative;
  overflow: hidden;
  transition: all .4s;
  /* НЕОНОВА РАМКА */
  box-shadow:
    0 0 6px rgba(227,0,0,.2),
    0 0 12px rgba(227,0,0,.1),
    inset 0 0 8px rgba(139,0,0,.1);
}

/* світна лінія зверху */
.contact-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 6px var(--accent);
  opacity: .6;
  transition: opacity .4s;
}

/* shine ефект при hover */
.contact-item::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 35%; height: 200%;
  background: rgba(255,255,255,.04);
  transform: skewX(-20deg);
  transition: left .6s;
}

.contact-item:hover {
  border-color: rgba(227,0,0,.65);
  background: rgba(30,0,0,.7);
  transform: translateY(-4px);
  box-shadow:
    0 0 10px var(--neon),
    0 0 22px var(--accent),
    0 0 45px rgba(227,0,0,.25),
    inset 0 0 15px rgba(139,0,0,.15);
}

.contact-item:hover::before { opacity: 1; }
.contact-item:hover::after  { left: 130%; }

.contact-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 2px;
  border: 1px solid rgba(227,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon2);
  flex-shrink: 0;
  transition: all .4s;
  box-shadow:
    0 0 6px rgba(227,0,0,.2),
    inset 0 0 6px rgba(139,0,0,.15);
  background: rgba(20,0,0,.5);
}

.contact-item:hover .contact-icon-wrap {
  color: var(--white);
  border-color: rgba(227,0,0,.7);
  box-shadow:
    0 0 10px var(--neon),
    0 0 20px var(--accent),
    inset 0 0 8px rgba(139,0,0,.2);
}

.contact-texts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.contact-label {
  font-size: .6rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,102,102,.4);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
}

.contact-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: rgba(255,199,199,.9);
  font-weight: 400;
  letter-spacing: 1px;
  transition: all .4s;
  /* НЕОНОВЕ СВІТІННЯ НА ТЕКСТІ */
  text-shadow:
    0 0 8px rgba(255,26,26,.3),
    0 0 16px rgba(227,0,0,.2);
}

.contact-item:hover .contact-val {
  color: var(--white);
  text-shadow:
    0 0 6px var(--neon),
    0 0 14px var(--accent),
    0 0 28px rgba(227,0,0,.3);
}

.footer-copy {
  font-size: .66rem;
  color: rgba(255,199,199,.18);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
}

@media(max-width: 600px) {
  .footer-contacts  { flex-direction: column; align-items: center; }
  .contact-item     { width: 100%; max-width: 320px; justify-content: center; }
  .contact-texts    { text-align: center; }
}