.oferta-vacante-page {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.oferta-vacante-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.oferta-vacante-brand img {
  height: 46px;
  width: auto;
}

.oferta-vacante-brand span {
  font-weight: 800;
  font-size: 20px;
  color: var(--brand-deep);
  letter-spacing: -0.01em;
}

.about-intro .intro-lead {
  margin-top: 20px;
  font-size: 17px;
  color: var(--brand-deep);
  font-weight: 600;
}

.oferta-vacante-consultant-photo {
  float: right;
  width: 320px;
  max-width: 42%;
  aspect-ratio: 4 / 5;
  margin: 4px 0 20px 32px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(23, 59, 52, 0.18);
}

.oferta-vacante-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.oferta-vacante-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  background: var(--brand-accent-soft);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
}

.oferta-vacante-cta {
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

.oferta-vacante-cta .primary-button {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  padding: 16px 36px;
}

.lastminute-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}

.special-offers-list {
  display: grid;
  gap: 40px;
  margin-top: 28px;
}

.special-offers-list__item {
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 59, 52, 0.08);
}

.special-offers-list__item:not(:last-child) {
  border-bottom: 3px solid var(--line-soft);
}

.special-offers-list__item > * {
  margin-top: 0;
}

.vacation-offer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px !important;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.vacation-offer-actions p {
  display: grid;
  gap: 3px;
  color: var(--brand-deep);
  font-size: 13px;
}

.vacation-offer-actions p span {
  color: var(--text-muted);
  font-size: 11px;
}

.vacation-offer-actions > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vacation-offer-actions__primary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  letter-spacing: 0;
  text-decoration: none;
}

.vacation-offer-actions__secondary {
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 680px) {
  .vacation-offer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .vacation-offer-actions > div {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .vacation-offer-actions__primary,
  .vacation-offer-actions__secondary {
    justify-content: center;
    min-height: 44px;
    text-align: center;
  }

}

.vacante-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eaf2f5 0%, #f4ead8 100%);
}

.vacante-hero[hidden] {
  display: none;
}

.vacante-hero--v2 > div:first-child {
  flex: 1;
  min-width: 0;
}

.vacante-hero--v2 .vacante-title,
.vacante-hero--v2 .vacante-lead,
.vacante-hero--v2 .vacante-destinations {
  max-width: none;
}

.vacante-title {
  max-width: 760px;
  margin-top: 12px;
  color: var(--brand-deep);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.vacante-lead {
  max-width: 680px;
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

#lastminute-intro {
  white-space: pre-line;
}

.vacante-destinations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  max-width: 760px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.vacante-destinations li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.vacante-destinations li img {
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.vacante-lead--note {
  margin-top: 12px;
  font-size: 13px;
}

.vacante-hero-note {
  flex: 0 0 190px;
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-left: 3px solid var(--brand-accent);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.vacante-hero-note__mark {
  color: var(--brand-deep);
  font-size: 44px;
  line-height: .8;
}

.vacante-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.vacante-status {
  margin-top: 24px;
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  color: var(--text-soft);
  font-size: 13px;
  text-align: center;
}

.vacante-status--error {
  color: var(--danger);
  border-color: rgba(182, 97, 77, .35);
  background: #fff7f3;
}

.vacante-status--status {
  color: var(--brand-deep);
  border-color: var(--line-soft);
  background: #fff;
}

.vacanta-card {
  display: grid;
  grid-template-columns: minmax(170px, .82fr) 1fr;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 59, 52, .06);
}

.vacanta-gallery {
  position: relative;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  touch-action: pan-y;
}

.vacanta-gallery .vacanta-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(7, 42, 120, .72);
  color: white;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-control:hover,
.gallery-control:focus-visible {
  background: var(--brand-accent);
  color: var(--brand-deep);
}

.gallery-control--prev { left: 14px; }
.gallery-control--next { right: 14px; }

.gallery-label,
.gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 9px;
  background: rgba(6, 42, 120, .78);
  color: white;
  font-size: 10px;
  font-weight: 900;
}

.gallery-dots {
  position: absolute;
  right: 16px;
  bottom: 15px;
  display: flex;
  gap: 7px;
}

.gallery-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid white;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.gallery-dots button.active {
  background: white;
  box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}

.gallery-thumbs {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 5px;
}

.gallery-thumbs button {
  width: 38px;
  height: 30px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  opacity: .8;
}

.gallery-thumbs button.active {
  border-color: var(--brand-accent);
  opacity: 1;
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-numbers {
  position: absolute;
  top: 16px;
  left: 14px;
  display: grid;
  gap: 4px;
}

.gallery-numbers button {
  width: 32px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(6,42,120,.65);
  color: white;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.gallery-numbers button.active {
  background: var(--brand-accent);
  color: var(--brand-deep);
}

.vacanta-copy {
  padding: 25px;
}

.vacanta-tag {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.vacanta-copy h2 {
  margin-top: 12px;
  color: var(--brand-deep);
  font-size: 25px;
  line-height: 1.05;
}

.vacanta-copy p {
  margin-top: 11px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.6;
}

.vacanta-hotel-name {
  display: block;
  margin-top: 12px;
  color: var(--brand-deep);
  font-size: 14px;
}

.vacanta-hotel-meta,
.vacanta-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
}

.vacanta-hotel-meta span:first-child {
  color: #d99a2b;
}

.vacanta-details span {
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
}

.vacanta-flights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.03);
}

.vacanta-flight-leg {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  color: var(--text-soft);
  font-size: 12px;
}

.vacanta-flight-leg b {
  color: var(--brand-deep);
  font-size: 11px;
  text-transform: uppercase;
}

.vacanta-flight-icon,
.vacanta-calendar-icon {
  display: inline-block;
  margin-right: 4px;
  color: var(--brand-accent);
  font-size: 13px;
  line-height: 1;
}

.vacanta-calendar-icon {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vacanta-flight-meta {
  color: var(--text-soft);
  opacity: .75;
}

.vacanta-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.vacanta-footer small {
  display: block;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.vacanta-footer strong,
.vacanta-price-row strong {
  color: var(--brand-deep);
  font-size: 25px;
}

.vacanta-link,
.vacanta-button {
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.vacanta-link:hover,
.vacanta-link:focus-visible {
  color: var(--car);
}

.vacanta-link span {
  margin-left: 4px;
  font-size: 16px;
}

.vacanta-button {
  display: inline-flex;
  justify-content: center;
  margin-top: 18px;
  padding: 11px 14px;
  border-radius: 9px;
  background: var(--brand-accent);
}

.vacanta-card--contrast {
  background: var(--brand-deep);
  color: white;
}

.vacanta-card--contrast .vacanta-copy h2,
.vacanta-card--contrast .vacanta-copy p,
.vacanta-card--contrast .vacanta-hotel-name,
.vacanta-card--contrast .vacanta-hotel-meta {
  color: white;
}

.vacanta-card--contrast .vacanta-tag {
  color: #bcd4cf;
}

.vacanta-highlight {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--brand-accent);
  background: rgba(255,255,255,.08);
}

.vacanta-highlight span,
.vacanta-highlight small {
  color: #bcd4cf;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.vacanta-highlight strong {
  color: #fff4cb;
  font-size: 23px;
}

.vacanta-card--overlap {
  display: block;
  overflow: visible;
  position: relative;
  margin-top: 18px;
}

.vacanta-overlap-image {
  position: relative;
  height: 170px;
  margin: -18px 22px 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 22px rgba(23, 59, 52, .16);
}

.vacanta-overlap-image .vacanta-image {
  min-height: 170px;
}

.vacanta-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  border-radius: 50%;
  background: #e6bc5b;
  color: var(--brand-deep);
  font-size: 9px;
  font-weight: 900;
}

.vacanta-card--overlap .vacanta-copy {
  padding-top: 18px;
}

.vacanta-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 18px;
}

.vacanta-price-row span {
  color: var(--text-muted);
  font-size: 11px;
}

.vacanta-price-row em {
  margin-left: auto;
  padding: 5px 7px;
  background: #e2f2e7;
  color: #33734e;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.vacanta-card--itinerary {
  background: #f7f2e9;
}

.vacanta-itinerary {
  display: grid;
  gap: 8px;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid #e3d9c7;
}

.vacanta-itinerary span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-soft);
  font-size: 10px;
}

.vacanta-itinerary b {
  color: var(--brand-deep);
  font-size: 9px;
  text-transform: uppercase;
}

.vacanta-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, 1fr) 1.15fr;
  background: #edf5f2;
}

.vacanta-card--featured .vacanta-image {
  min-height: 300px;
}

.vacanta-feature-meta {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 10px;
}

.vacanta-feature-meta b {
  display: block;
  color: var(--brand-deep);
  font-size: 18px;
}

.vacante-package-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.vacante-package-info[hidden] {
  display: none;
}

.vacante-package-info__column {
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
}

.vacante-package-info__column h2 {
  margin: 0;
  color: var(--brand-deep);
  font-size: 17px;
  line-height: 1.2;
}

.vacante-package-info__column ul {
  display: grid;
  gap: 10px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.vacante-package-info__column li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.vacante-package-info__column li::before {
  font-weight: 900;
  text-align: center;
}

.vacante-package-info__column--included {
  border-top: 3px solid #d94a74;
}

.vacante-package-info__column--included li::before {
  content: '✓';
  color: #d94a74;
}

.vacante-package-info__column--excluded {
  border-top: 3px solid var(--brand-deep);
}

.vacante-package-info__column--excluded li::before {
  content: '×';
  color: var(--brand-deep);
}

.lastminute-special-offer {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 59, 52, .08);
}

.lastminute-special-offer__title {
  padding: 28px 30px 20px;
  color: var(--brand-deep);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.lastminute-special-offer__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #dcecf8;
}

.lastminute-special-offer__copy {
  padding: 28px 30px 32px;
}

.lastminute-special-offer__copy h3 {
  color: var(--brand-deep);
  font-size: 22px;
  line-height: 1.2;
}

.lastminute-special-offer__copy p {
  max-width: 850px;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

.lastminute-special-offer__copy .lastminute-special-offer__quote {
  margin-top: 0;
  color: var(--brand-deep);
  font-size: 20px;
  font-weight: 800;
}

.lastminute-special-offer__contact {
  font-weight: 700;
}

.lastminute-special-offer__copy a {
  color: var(--travel);
  font-weight: 800;
  text-decoration: none;
}

.lastminute-special-offer__copy a:hover,
.lastminute-special-offer__copy a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lastminute-special-offer__closing {
  color: var(--brand-deep) !important;
  font-size: 20px !important;
  font-weight: 900;
}

@media (max-width: 640px) {
  .about-header {
    flex-wrap: wrap;
  }

  .oferta-vacante-brand {
    align-items: flex-start;
  }

  .oferta-vacante-brand span {
    font-size: 16px;
    line-height: 1.25;
  }

  .oferta-vacante-consultant-photo {
    float: none;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 0 20px;
  }

  .oferta-vacante-highlights {
    display: grid;
  }

  .oferta-vacante-highlights span,
  .oferta-vacante-cta .primary-button {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .vacante-hero,
  .vacante-hero-note {
    display: block;
  }

  .vacante-hero {
    padding: 22px;
  }

  .vacante-hero-note {
    min-width: 0;
    margin-top: 22px;
  }

  .vacante-list,
  .vacanta-card,
  .vacanta-card--featured,
  .vacante-package-info {
    grid-template-columns: 1fr;
  }

  .vacanta-gallery,
  .vacanta-gallery .vacanta-image,
  .vacanta-card--featured .vacanta-image {
    min-height: 220px;
    height: 220px;
  }

  .vacanta-footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .vacanta-footer > a,
  .vacanta-button {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .vacanta-feature-meta {
    flex-wrap: wrap;
    gap: 12px;
  }

  .lastminute-special-offer__title,
  .lastminute-special-offer__copy {
    padding-inline: 20px;
  }
}
