/* ================================================
   VACANCIES — vacancies.html + vacancy-*.html
   ================================================ */

/* ─── SHARED TAG COMPONENTS ─── */
.vac-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.vac-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif; letter-spacing: 0.03em;
}
.vac-tag--sil { background: var(--sage-light); color: var(--sage-dark); }
.vac-tag--mta { background: #dbeafe; color: #1d4ed8; }
.vac-tag--sta { background: #fef9c3; color: #854d0e; }

.vac-location {
  display: flex; align-items: center; gap: 0.4rem;
  color: var(--text-light); font-size: 0.82rem;
  font-family: 'DM Sans', sans-serif;
}
.vac-location svg { width: 13px; height: 13px; stroke-width: 2.5; flex-shrink: 0; color: var(--sage); }

/* ─── LISTING PAGE ─── */
.vac-results-bar {
  margin-bottom: 2rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; color: var(--text-mid);
}
.vac-results-bar strong { color: var(--text-dark); }

.vac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.vac-card {
  background: white; border-radius: 20px; overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column;
  border: 1px solid rgba(123,63,173,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.vac-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(123,63,173,0.14);
}
.vac-card-img {
  position: relative; height: 250px; overflow: hidden; flex-shrink: 0;
}
.vac-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.45s ease;
}
.vac-card:hover .vac-card-img img { transform: scale(1.06); }
.vac-badge {
  position: absolute; top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: #dcfce7; color: #15803d;
  font-size: 0.72rem; font-weight: 700;
  padding: 5px 12px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.vac-badge svg { width: 12px; height: 12px; stroke-width: 2.5; }

.vac-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1; display: flex; flex-direction: column; gap: 0.75rem;
}
.vac-card-body h3 {
  font-size: 1.25rem; color: var(--text-dark); margin: 0;
  font-family: 'Lora', serif; line-height: 1.3;
}
.vac-specs {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
}
.vac-spec {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; color: var(--text-mid);
  font-family: 'DM Sans', sans-serif; font-weight: 500;
}
.vac-spec svg { width: 15px; height: 15px; stroke-width: 1.75; color: var(--sage); }

.vac-card-desc {
  font-size: 0.88rem; color: var(--text-mid); font-weight: 300;
  line-height: 1.8; margin: 0; flex: 1;
}
.vac-view-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--sage); font-size: 0.88rem; font-weight: 600;
  font-family: 'DM Sans', sans-serif; margin-top: 0.25rem;
}
.vac-view-btn svg { width: 14px; height: 14px; stroke-width: 2.5; transition: transform 0.2s; }
.vac-card:hover .vac-view-btn svg { transform: translateX(3px); }

/* ─── SPLIT HERO ─── */
.page-hero.vac-split-hero { text-align: left; }
.vac-hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: center; }
.vac-hero-text h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.02em; margin: 1rem 0; color: var(--text-dark); }
.vac-hero-text h1 em { color: var(--sage); font-style: italic; }
.vac-hero-text p { font-size: 1.05rem; color: var(--text-mid); font-weight: 300; line-height: 1.8; max-width: 500px; margin: 0; }
.vac-hero-card { background: white; border-radius: 20px; padding: 1.75rem; box-shadow: 0 8px 40px rgba(123,63,173,0.14); border: 1px solid rgba(123,63,173,0.1); }
.vac-hero-status { display: inline-flex; align-items: center; gap: 0.45rem; background: #dcfce7; color: #15803d; font-size: 0.78rem; font-weight: 700; padding: 5px 14px; border-radius: 50px; font-family: 'DM Sans', sans-serif; margin-bottom: 1.25rem; }
.vac-hero-status svg { width: 13px; height: 13px; stroke-width: 2.5; }
.vac-hero-row { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-family: 'DM Sans', sans-serif; }
.vac-hero-row svg { width: 16px; height: 16px; stroke-width: 2; color: var(--sage); flex-shrink: 0; margin-top: 2px; }
.vac-hero-row strong { display: block; font-size: 0.88rem; color: var(--text-dark); font-weight: 600; }
.vac-hero-row span { font-size: 0.82rem; color: var(--text-mid); }
@media (max-width: 860px) {
  .page-hero.vac-split-hero { text-align: center; }
  .vac-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .vac-hero-card { max-width: 380px; margin: 0 auto; }
  .vac-hero-text p { max-width: 100%; margin: 0 auto; }
  .vac-hero-status { margin: 0 auto 1.25rem; }
}

/* ─── PHOTO GALLERY (detail page) ─── */
.prop-gallery-wrap {
  padding-top: 106px; /* offset fixed nav */
  background: #111827;
}
.prop-gallery-main {
  position: relative;
  height: clamp(340px, 52vh, 560px);
  overflow: hidden;
}
.prop-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity 0.22s ease;
}
.prop-gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.25) 0%,
    transparent 35%,
    transparent 50%,
    rgba(0,0,0,0.72) 100%
  );
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}
.prop-gallery-header { margin-top: auto; }
.prop-gallery-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: white; margin: 0 0 0.4rem; line-height: 1.2;
  letter-spacing: -0.02em; text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.prop-gallery-loc {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.85); font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif;
}
.prop-gallery-loc svg { width: 14px; height: 14px; flex-shrink: 0; }
.prop-gallery-controls {
  position: absolute; top: 1.25rem; right: 1.5rem;
  display: flex; align-items: center; gap: 0.25rem;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(8px);
  border-radius: 50px; padding: 0.3rem 0.75rem 0.3rem 0.5rem;
}
.gallery-btn {
  background: none; border: none; color: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  transition: background 0.15s;
}
.gallery-btn:hover { background: rgba(255,255,255,0.2); }
.gallery-btn svg { width: 18px; height: 18px; stroke-width: 2.5; }
.gallery-counter {
  font-size: 0.8rem; color: rgba(255,255,255,0.9);
  font-family: 'DM Sans', sans-serif; min-width: 38px; text-align: center;
}

.prop-gallery-thumbs {
  display: flex; gap: 3px; overflow-x: auto;
  padding: 3px; background: #0f172a;
  scrollbar-width: none;
}
.prop-gallery-thumbs::-webkit-scrollbar { display: none; }
.prop-thumb {
  flex-shrink: 0; position: relative;
  width: 120px; height: 82px; overflow: hidden;
  cursor: pointer; padding: 0; background: none;
  border: 3px solid transparent; border-radius: 3px;
  opacity: 0.48; transition: opacity 0.2s, border-color 0.2s;
}
.prop-thumb:hover { opacity: 0.8; }
.prop-thumb.active { opacity: 1; border-color: var(--sage); }
.prop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prop-thumb-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: white; font-size: 0.62rem; font-family: 'DM Sans', sans-serif;
  padding: 0.2rem 0.35rem 0.3rem; line-height: 1.2; text-align: center;
}

/* ─── DETAIL PAGE LAYOUT ─── */
.prop-detail-section { background: white; }

.prop-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--text-light); font-size: 0.83rem;
  text-decoration: none; margin-bottom: 2.5rem;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
}
.prop-back:hover { color: var(--sage); }
.prop-back svg { width: 14px; height: 14px; }

.prop-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}
.prop-sidebar { position: sticky; top: 120px; }

.prop-section { margin-bottom: 2.75rem; }
.prop-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--sage-dark);
  margin-bottom: 1rem; padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--sage-light);
}
.prop-section > p {
  color: var(--text-mid); font-weight: 300;
  line-height: 1.88; margin-bottom: 0.875rem;
}

.prop-feature-list {
  list-style: none; margin-top: 0.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem;
}
.prop-feature-list--single { grid-template-columns: 1fr; }
.prop-feature-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text-mid); font-weight: 300; line-height: 1.55;
}
.prop-feature-list li svg {
  width: 15px; height: 15px; color: var(--sage);
  flex-shrink: 0; margin-top: 1px; stroke-width: 2;
}

.prop-acc-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 0.5rem;
}
.prop-acc-card {
  background: #fdfbff; border-radius: 14px; padding: 1.25rem;
  border: 1px solid var(--sage-light);
}
.prop-acc-card h4 {
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem;
}
.prop-acc-card p {
  font-size: 0.82rem; color: var(--text-mid);
  font-weight: 300; line-height: 1.65; margin: 0;
}

/* ─── SIDEBAR / INFO CARD ─── */
.prop-info-card {
  background: white; border-radius: 20px;
  border: 1px solid #EDE6F5; padding: 1.75rem;
  box-shadow: 0 8px 32px rgba(123,63,173,0.1);
  margin-bottom: 1rem;
}
.prop-status-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #dcfce7; color: #15803d;
  font-size: 0.78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 1.5rem;
}
.prop-status-badge svg { width: 14px; height: 14px; stroke-width: 2.5; }

.prop-info-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1.25rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--sage-light);
}
.prop-info-row > svg {
  width: 18px; height: 18px; color: var(--sage);
  flex-shrink: 0; margin-top: 3px; stroke-width: 1.75;
}
.prop-info-row > div { display: flex; flex-direction: column; gap: 0.15rem; }
.prop-info-label {
  font-size: 0.7rem; color: var(--text-light); text-transform: uppercase;
  letter-spacing: 0.09em; font-family: 'DM Sans', sans-serif; font-weight: 600;
}
.prop-info-row strong {
  font-size: 0.95rem; color: var(--text-dark);
  font-family: 'DM Sans', sans-serif; font-weight: 700;
}
.prop-info-row span {
  font-size: 0.83rem; color: var(--text-mid);
  font-family: 'DM Sans', sans-serif;
}

.prop-info-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.prop-info-spec {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-mid);
  font-family: 'DM Sans', sans-serif;
  background: var(--sage-light); border-radius: 10px;
  padding: 0.5rem 0.75rem;
}
.prop-info-spec svg { width: 15px; height: 15px; color: var(--sage); stroke-width: 1.75; flex-shrink: 0; }

.prop-info-divider { height: 1px; background: var(--sage-light); margin: 0 0 1.25rem; }
.prop-info-note {
  font-size: 0.83rem; color: var(--text-mid); font-weight: 300;
  line-height: 1.65; margin-bottom: 1.25rem;
  font-family: 'DM Sans', sans-serif;
}

.prop-info-contact {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--sage-light);
}
.prop-info-contact a {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.83rem; color: var(--sage); text-decoration: none;
  font-family: 'DM Sans', sans-serif; transition: color 0.2s;
}
.prop-info-contact a:hover { color: var(--sage-dark); }
.prop-info-contact a svg { width: 15px; height: 15px; stroke-width: 2; flex-shrink: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .prop-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .prop-sidebar { position: static; }
  .prop-acc-cards { grid-template-columns: 1fr; gap: 0.75rem; }
  .prop-feature-list { grid-template-columns: 1fr; }
  .prop-gallery-thumbs { overflow-x: scroll; }
}
@media (max-width: 600px) {
  .prop-thumb { width: 90px; height: 64px; }
  .prop-thumb-label { display: none; }
  .vac-grid { grid-template-columns: 1fr; }
  .prop-gallery-overlay { padding: 1rem; }
  .prop-gallery-title { font-size: 1.4rem; }
}
